/search.css" rel="stylesheet" type="text/css"/> /search.js">
Electronics - Basic definitions for the electronics simulation. More...
Namespaces | |
namespace | Calibration |
Definitions for Calibration systems. | |
namespace | FeeGain |
namespace | Threshold |
namespace | ESumComp |
namespace | Hardware |
namespace | RunType |
namespace | Trigger |
Classes | |
class | CalibSourceId |
class | Detector |
Uniquely identify a Detector (ADx, OWS, IWS, RPC) More... | |
class | DetectorSensor |
Uniquely identify a Sensor in a Detector (ADx/OWS/IWS PMT, RPC pad) More... | |
class | AdPmtSensor |
Uniquely identify a PMT in an AD. More... | |
class | AdFadcSensor |
Uniquely identify a FADC channel for an AD. More... | |
class | PoolPmtSensor |
Uniquely identify a PMT in the water Pool. More... | |
class | RpcSensor |
Uniquely identify an RPC strip in the RPC detector. More... | |
class | ElecChannelId |
Uniquely identify an electronics channel/board in the DAQ simulation/output. More... | |
class | FeeChannelId |
Uniquely identify a front-end electronics channel in DAQ simulation and output. More... | |
class | FadcChannelId |
Uniquely identify a fadc channel in DAQ simulation and output. More... | |
class | FecChannelId |
Uniquely identify a RPC electronics channel in DAQ simulation and output. More... | |
class | HardwareId |
class | PmtHardwareId |
class | RpcHardwareId |
class | FeeHardwareId |
class | FecHardwareId |
class | HvChannelId |
class | JobId |
Uniquely identify an execution of a NuWa job. More... | |
Typedefs | |
typedef std::vector< int > | DigitalSignal |
typedef std::vector< double > | AnalogSignal |
Functions | |
std::ostream & | operator<< (std::ostream &str, const DayaBay::CalibSourceId &sourceId) |
std::ostream & | operator<< (std::ostream &str, const DayaBay::Detector &det) |
std::ostream & | operator<< (std::ostream &str, const DayaBay::DetectorSensor &detsens) |
std::ostream & | operator<< (std::ostream &str, const DayaBay::AdPmtSensor &adsens) |
std::ostream & | operator<< (std::ostream &str, const DayaBay::AdFadcSensor &adsens) |
std::ostream & | operator<< (std::ostream &str, const DayaBay::PoolPmtSensor &adsens) |
std::ostream & | operator<< (std::ostream &str, const DayaBay::RpcSensor &rpcsens) |
bool | operator< (const DayaBay::Detector &a, const DayaBay::Detector &b) |
std::ostream & | operator<< (std::ostream &str, const DayaBay::ElecChannelId &elecChannel) |
bool | operator< (const DayaBay::HardwareId &a, const DayaBay::HardwareId &b) |
std::ostream & | operator<< (std::ostream &str, const DayaBay::HardwareId &hardwareId) |
std::ostream & | operator<< (std::ostream &str, const DayaBay::PmtHardwareId &pmtHrdwId) |
std::ostream & | operator<< (std::ostream &str, const DayaBay::RpcHardwareId &rpcHrdwId) |
std::ostream & | operator<< (std::ostream &str, const DayaBay::FeeHardwareId &feeHrdwId) |
std::ostream & | operator<< (std::ostream &str, const DayaBay::FecHardwareId &fecHrdwId) |
std::ostream & | operator<< (std::ostream &str, const DayaBay::HvChannelId &hvchid) |
Variables | |
const int | BaseFrequencyHz = int(40 * 1e6) |
Basic definitions for the electronics simulation. | |
const int | TdcCycles = 16 |
const int | AdcCycles = 1 |
const int | EsumCycles = 4 |
const int | NhitCycles = 2 |
const int | TdcFrequencyHz = BaseFrequencyHz * TdcCycles |
const int | AdcFrequencyHz = BaseFrequencyHz * AdcCycles |
const int | EsumFrequencyHz = BaseFrequencyHz * EsumCycles |
const int | NhitFrequencyHz = BaseFrequencyHz * NhitCycles |
const int | FadcFrequencyHz = int(1 * 1e9) |
const double | preTimeTolerance = 300.0*CLHEP::nanosecond |
const double | postTimeTolerance = 10.0*CLHEP::microsecond |
const int | TriggerWindowCycles = 8 |
Electronics - Basic definitions for the electronics simulation.
Brandon Seilhan bseilhan@iit.edu March 15, 2008.
RunType - Definitions of run types.
Hardware - Basic conventions for hardware identification.
dandwyer@caltech.edu 2008/01/24.
Added enum for ESumComp edraeger@iit.edu 2010/06/21 Electronics Conventions
dandwyer@caltech.edu 2008/08/20. Hardware Conventions
dandwyer@caltech.edu 2009/05/18.
Default Definitions for Trigger Simulation
typedef std::vector<int> DayaBay::DigitalSignal |
Definition at line 21 of file Electronics.h.
typedef std::vector<double> DayaBay::AnalogSignal |
Definition at line 22 of file Electronics.h.
std::ostream & DayaBay::operator<< | ( | std::ostream & | str, |
const DayaBay::CalibSourceId & | sourceId | ||
) |
Definition at line 177 of file Calibration.cc.
{ return str << sourceId.name(); }
std::ostream & DayaBay::operator<< | ( | std::ostream & | str, |
const DayaBay::Detector & | det | ||
) |
Definition at line 142 of file Detectors.cc.
{ str << "[" << (void*)det.fullPackedData() << "] " << Site::AsString(det.site()) << "-" << DetectorId::AsString(det.detectorId()); if (det.bogus()) str << " IS BOGUS"; return str; }
std::ostream & DayaBay::operator<< | ( | std::ostream & | str, |
const DayaBay::DetectorSensor & | detsens | ||
) |
Definition at line 173 of file Detectors.cc.
{ str << "[" << (void*)detsens.fullPackedData() << "] " << Site::AsString(detsens.site()) << DetectorId::AsString(detsens.detectorId()) << " 0x"<< std::hex << detsens.sensorId() << std::dec; if (detsens.bogus()) str << " IS BOGUS"; return str; }
std::ostream & DayaBay::operator<< | ( | std::ostream & | str, |
const DayaBay::AdPmtSensor & | adsens | ||
) |
Definition at line 218 of file Detectors.cc.
{ str << "[" << (void*)adsens.fullPackedData() << "] " << Site::AsString(adsens.site()) << DetectorId::AsString(adsens.detectorId()) << "("<<adsens.column()<<","<<adsens.ring()<<")"; if (adsens.bogus()) str << " IS BOGUS"; return str; }
std::ostream & DayaBay::operator<< | ( | std::ostream & | str, |
const DayaBay::AdFadcSensor & | adsens | ||
) |
Definition at line 294 of file Detectors.cc.
{ str << "[" << (void*)adsens.fullPackedData() << "] " << Site::AsString(adsens.site()) << DetectorId::AsString(adsens.detectorId()) << "("<<adsens.channel()<<")"; if (adsens.bogus()) str << " IS BOGUS"; return str; }
std::ostream & DayaBay::operator<< | ( | std::ostream & | str, |
const DayaBay::PoolPmtSensor & | adsens | ||
) |
Definition at line 348 of file Detectors.cc.
{ str << "[" << (void*)poolsens.fullPackedData() << "] " << Site::AsString(poolsens.site()) << DetectorId::AsString(poolsens.detectorId()) << "(" <<poolsens.wallNumber()<<"," <<poolsens.wallSpot()<<"," <<poolsens.inwardFacing() << ")"; if (poolsens.bogus()) str << " IS BOGUS"; return str; }
std::ostream & DayaBay::operator<< | ( | std::ostream & | str, |
const DayaBay::RpcSensor & | rpcsens | ||
) |
Definition at line 412 of file Detectors.cc.
{ str << "[" << (void*)rpcsens.fullPackedData() << "] " << Site::AsString(rpcsens.site()) << DetectorId::AsString(rpcsens.detectorId()) << "(" <<rpcsens.panelRow()<<"," <<rpcsens.panelColumn()<<"," <<rpcsens.layer()<<"," <<rpcsens.strip()<< ")"; if (rpcsens.bogus()) str << " IS BOGUS"; return str; }
bool DayaBay::operator< | ( | const DayaBay::Detector & | a, |
const DayaBay::Detector & | b | ||
) |
Definition at line 153 of file Detectors.cc.
{ return a.fullPackedData() < b.fullPackedData(); }
std::ostream & DayaBay::operator<< | ( | std::ostream & | str, |
const DayaBay::ElecChannelId & | elecChannel | ||
) |
Definition at line 140 of file Electronics.cc.
{ return str << "[" << (void*)elecChannelId.fullPackedData() << "] " << Site::AsString(elecChannelId.site()) << DetectorId::AsString(elecChannelId.detectorId()) << "("<<elecChannelId.board() <<","<<elecChannelId.connector()<<")"; }
bool DayaBay::operator< | ( | const DayaBay::HardwareId & | a, |
const DayaBay::HardwareId & | b | ||
) |
Definition at line 43 of file Hardware.cc.
{ return a.fullPackedData() < b.fullPackedData(); }
std::ostream & DayaBay::operator<< | ( | std::ostream & | str, |
const DayaBay::HardwareId & | hardwareId | ||
) |
Definition at line 49 of file Hardware.cc.
{ return str << DayaBay::Hardware::AsString(hardwareId.type()) << " " << hardwareId.id(); }
std::ostream & DayaBay::operator<< | ( | std::ostream & | str, |
const DayaBay::PmtHardwareId & | pmtHrdwId | ||
) |
Definition at line 56 of file Hardware.cc.
{ return str << DayaBay::Hardware::AsString(pmtHrdwId.type()) << " " << pmtHrdwId.id(); }
std::ostream & DayaBay::operator<< | ( | std::ostream & | str, |
const DayaBay::RpcHardwareId & | rpcHrdwId | ||
) |
Definition at line 63 of file Hardware.cc.
{ return str << DayaBay::Hardware::AsString(rpcHrdwId.type()) << " panel: " << rpcHrdwId.panelId() << " layer: " << rpcHrdwId.layer() << " strip: " << rpcHrdwId.strip(); }
std::ostream & DayaBay::operator<< | ( | std::ostream & | str, |
const DayaBay::FeeHardwareId & | feeHrdwId | ||
) |
Definition at line 72 of file Hardware.cc.
{ return str << DayaBay::Hardware::AsString(feeHrdwId.type()) << " board: " << feeHrdwId.boardId() << " connector: " << feeHrdwId.connector(); }
std::ostream & DayaBay::operator<< | ( | std::ostream & | str, |
const DayaBay::FecHardwareId & | fecHrdwId | ||
) |
Definition at line 80 of file Hardware.cc.
{ return str << DayaBay::Hardware::AsString(fecHrdwId.type()) << " board: " << fecHrdwId.boardId() << " connector: " << fecHrdwId.connector(); }
std::ostream & DayaBay::operator<< | ( | std::ostream & | str, |
const DayaBay::HvChannelId & | hvchid | ||
) |
Definition at line 42 of file HighVoltage.cc.
{ str << "[" << (void*)hvchid.fullPackedData() << "] " << Site::AsString(hvchid.site()) << DetectorId::AsString(hvchid.detectorId()) << "("<<hvchid.crate()<<","<<hvchid.slot()<<","<<hvchid.channel()<<")"; if (hvchid.bogus()) str << " IS BOGUS"; return str; }
const int DayaBay::BaseFrequencyHz = int(40 * 1e6) |
Basic definitions for the electronics simulation.
Caution: frequencies are expressed in Hz explicitly and do not follow the standard system of units!
Definition at line 202 of file Electronics.h.
const int DayaBay::TdcCycles = 16 |
Definition at line 204 of file Electronics.h.
const int DayaBay::AdcCycles = 1 |
Definition at line 205 of file Electronics.h.
const int DayaBay::EsumCycles = 4 |
Definition at line 206 of file Electronics.h.
const int DayaBay::NhitCycles = 2 |
Definition at line 207 of file Electronics.h.
const int DayaBay::TdcFrequencyHz = BaseFrequencyHz * TdcCycles |
Definition at line 209 of file Electronics.h.
const int DayaBay::AdcFrequencyHz = BaseFrequencyHz * AdcCycles |
Definition at line 210 of file Electronics.h.
const int DayaBay::EsumFrequencyHz = BaseFrequencyHz * EsumCycles |
Definition at line 211 of file Electronics.h.
const int DayaBay::NhitFrequencyHz = BaseFrequencyHz * NhitCycles |
Definition at line 212 of file Electronics.h.
const int DayaBay::FadcFrequencyHz = int(1 * 1e9) |
Definition at line 214 of file Electronics.h.
const double DayaBay::preTimeTolerance = 300.0*CLHEP::nanosecond |
Definition at line 220 of file Electronics.h.
const double DayaBay::postTimeTolerance = 10.0*CLHEP::microsecond |
Definition at line 221 of file Electronics.h.
const int DayaBay::TriggerWindowCycles = 8 |
Definition at line 224 of file Electronics.h.