Hall-D Software
alpha
|
#include <DTranslationTable.h>
Classes | |
class | BCALIndex_t |
class | CCALIndex_t |
class | CCALRefIndex_t |
class | CDCIndex_t |
struct | csc_t |
class | DChannelInfo |
class | DIRCIndex_t |
class | FCALIndex_t |
class | FDC_CathodesIndex_t |
class | FDC_WiresIndex_t |
class | PSCIndex_t |
class | PSIndex_t |
class | RFIndex_t |
class | SCIndex_t |
class | TACIndex_t |
class | TAGHIndex_t |
class | TAGMIndex_t |
class | TOFIndex_t |
class | TPOLSECTORIndex_t |
Public Types | |
enum | Detector_t { UNKNOWN_DETECTOR, BCAL, CDC, FCAL, FDC_CATHODES, FDC_WIRES, PS, PSC, RF, SC, TAGH, TAGM, TOF, TPOLSECTOR, TAC, CCAL, CCAL_REF, DIRC, NUM_DETECTOR_TYPES } |
Static Public Member Functions | |
static string | DetectorName (Detector_t type) |
static void | SetSystemsToParse (string systems, JEventSource *eventsource) |
static map < DTranslationTable::Detector_t, set< uint32_t > > & | Get_ROCID_By_System (void) |
static int | ModuleStr2ModID (string &type) |
Protected Member Functions | |
string | Channel2Str (const DChannelInfo &in_channel) const |
Protected Attributes | |
string | XML_FILENAME |
bool | NO_CCDB |
set< string > | supplied_data_types |
int | VERBOSE |
string | SYSTEMS_TO_PARSE |
string | ROCID_MAP_FILENAME |
bool | CALL_STACK |
JStreamLog | ttout |
Private Member Functions | |
pthread_mutex_t & | Get_TT_Mutex (void) const |
bool & | Get_TT_Initialized (void) const |
map< DTranslationTable::csc_t, DTranslationTable::DChannelInfo > & | Get_TT (void) const |
map< uint32_t, uint32_t > & | Get_ROCID_Map (void) const |
map< uint32_t, uint32_t > & | Get_ROCID_Inv_Map (void) const |
Definition at line 119 of file DTranslationTable.h.
Enumerator | |
---|---|
UNKNOWN_DETECTOR | |
BCAL | |
CDC | |
FCAL | |
FDC_CATHODES | |
FDC_WIRES | |
PS | |
PSC | |
RF | |
SC | |
TAGH | |
TAGM | |
TOF | |
TPOLSECTOR | |
TAC | |
CCAL | |
CCAL_REF | |
DIRC | |
NUM_DETECTOR_TYPES |
Definition at line 141 of file DTranslationTable.h.
DTranslationTable::DTranslationTable | ( | JEventLoop * | loop | ) |
Definition at line 88 of file DTranslationTable.cc.
References VERBOSE, and XML_FILENAME.
DTranslationTable::~DTranslationTable | ( | ) |
Definition at line 161 of file DTranslationTable.cc.
void DTranslationTable::AddCAEN1290TDCObjectsToCallStack | ( | JEventLoop * | loop, |
string | caller | ||
) | const |
Definition at line 1811 of file DTranslationTable.cc.
void DTranslationTable::Addf125CDCObjectsToCallStack | ( | JEventLoop * | loop, |
string | caller, | ||
bool | addpulseobjs | ||
) | const |
Definition at line 1768 of file DTranslationTable.cc.
void DTranslationTable::Addf125FDCObjectsToCallStack | ( | JEventLoop * | loop, |
string | caller, | ||
bool | addpulseobjs | ||
) | const |
Definition at line 1785 of file DTranslationTable.cc.
void DTranslationTable::AddF1TDCObjectsToCallStack | ( | JEventLoop * | loop, |
string | caller | ||
) | const |
Definition at line 1802 of file DTranslationTable.cc.
void DTranslationTable::Addf250ObjectsToCallStack | ( | JEventLoop * | loop, |
string | caller | ||
) | const |
Definition at line 1757 of file DTranslationTable.cc.
This is used to give information to JANA regarding the relationship and origin of some of these data objects. This is really just needed so that the janadot program can be used to produce the correct callgraph. Because of how this plugin works, JANA can't record the correct call stack (at least not easily!) Therefore, we have to give it a little help here.
Definition at line 1820 of file DTranslationTable.cc.
void DTranslationTable::ApplyTranslationTable | ( | jana::JEventLoop * | loop | ) | const |
This will get all of the low level objects and generate detector hit objects from them, placing them in the appropriate DANA factories.
Definition at line 328 of file DTranslationTable.cc.
References DTranslationTable::DChannelInfo::bcal, DTranslationTable::DChannelInfo::ccal, DTranslationTable::DChannelInfo::ccal_ref, DTranslationTable::DChannelInfo::cdc, DDAQAddress::channel, DTranslationTable::DChannelInfo::det_sys, DTranslationTable::DChannelInfo::dirc, DTranslationTable::DChannelInfo::fcal, DTranslationTable::DChannelInfo::fdc_cathodes, DTranslationTable::DChannelInfo::fdc_wires, DTranslationTable::DChannelInfo::ps, DTranslationTable::DChannelInfo::psc, DTranslationTable::DChannelInfo::rf, DDAQAddress::rocid, DTranslationTable::DChannelInfo::sc, DDAQAddress::slot, DTranslationTable::csc_t::slot, SortBCALDigiHit(), DTranslationTable::DChannelInfo::tac, TAGH, DTranslationTable::DChannelInfo::tagh, TAGM, DTranslationTable::DChannelInfo::tagm, DTranslationTable::DChannelInfo::tof, DTranslationTable::DChannelInfo::tpolsector, and VERBOSE.
|
protected |
Definition at line 1682 of file DTranslationTable.cc.
References DTranslationTable::TOFIndex_t::bar, BCAL, DTranslationTable::DChannelInfo::bcal, CCAL, DTranslationTable::DChannelInfo::ccal, CCAL_REF, DTranslationTable::DChannelInfo::ccal_ref, CDC, DTranslationTable::DChannelInfo::cdc, DTranslationTable::FDC_CathodesIndex_t::chamber, DTranslationTable::FDC_WiresIndex_t::chamber, DTranslationTable::FCALIndex_t::col, DTranslationTable::CCALIndex_t::col, DTranslationTable::TAGMIndex_t::col, DTranslationTable::DChannelInfo::det_sys, DIRC, DTranslationTable::DChannelInfo::dirc, DTranslationTable::RFIndex_t::dSystem, DTranslationTable::BCALIndex_t::end, DTranslationTable::TOFIndex_t::end, FCAL, DTranslationTable::DChannelInfo::fcal, FDC_CATHODES, DTranslationTable::DChannelInfo::fdc_cathodes, FDC_WIRES, DTranslationTable::DChannelInfo::fdc_wires, DTranslationTable::CCALRefIndex_t::id, DTranslationTable::PSIndex_t::id, DTranslationTable::PSCIndex_t::id, DTranslationTable::TAGHIndex_t::id, DTranslationTable::BCALIndex_t::layer, DTranslationTable::BCALIndex_t::module, DTranslationTable::FDC_CathodesIndex_t::package, DTranslationTable::FDC_WiresIndex_t::package, DTranslationTable::DIRCIndex_t::pixel, DTranslationTable::TOFIndex_t::plane, PS, DTranslationTable::DChannelInfo::ps, PSC, DTranslationTable::DChannelInfo::psc, RF, DTranslationTable::DChannelInfo::rf, DTranslationTable::CDCIndex_t::ring, DTranslationTable::FCALIndex_t::row, DTranslationTable::CCALIndex_t::row, DTranslationTable::TAGMIndex_t::row, SC, DTranslationTable::DChannelInfo::sc, DTranslationTable::BCALIndex_t::sector, DTranslationTable::SCIndex_t::sector, DTranslationTable::TPOLSECTORIndex_t::sector, DTranslationTable::PSIndex_t::side, DTranslationTable::CDCIndex_t::straw, DTranslationTable::FDC_CathodesIndex_t::strip, DTranslationTable::FDC_CathodesIndex_t::strip_type, SystemName(), TAC, TAGH, DTranslationTable::DChannelInfo::tagh, TAGM, DTranslationTable::DChannelInfo::tagm, TOF, DTranslationTable::DChannelInfo::tof, TPOLSECTOR, DTranslationTable::DChannelInfo::tpolsector, DTranslationTable::FDC_CathodesIndex_t::view, and DTranslationTable::FDC_WiresIndex_t::wire.
|
inline |
Definition at line 410 of file DTranslationTable.h.
References clearvector, and MyTypes.
void DTranslationTable::CopyDCAEN1290TDCInfo | ( | T * | h, |
const DCAEN1290TDCHit * | hit | ||
) | const |
Copy info from the CAEN1290 into a hit object.
Definition at line 697 of file DTranslationTable.h.
References DCAEN1290TDCHit::time.
void DTranslationTable::CopyDf125Info | ( | T * | h, |
const Df125PulseIntegral * | pi, | ||
const Df125PulseTime * | pt, | ||
const Df125PulsePedestal * | pp | ||
) | const |
Copy info from the fADC125 into a hit object.
Definition at line 666 of file DTranslationTable.h.
References Df125PulseIntegral::integral, Df125PulseIntegral::nsamples_integral, Df125PulseIntegral::nsamples_pedestal, Df125PulseIntegral::pedestal, Df125PulseIntegral::quality_factor, and Df125PulseTime::time.
void DTranslationTable::CopyDF1TDCInfo | ( | T * | h, |
const DF1TDCHit * | hit | ||
) | const |
Copy info from the f1tdc into a hit object.
Definition at line 685 of file DTranslationTable.h.
References DF1TDCHit::time.
void DTranslationTable::CopyDf250Info | ( | T * | h, |
const Df250PulseIntegral * | pi, | ||
const Df250PulseTime * | pt, | ||
const Df250PulsePedestal * | pp | ||
) | const |
Copy info from the fADC250 into a hit object.
Definition at line 617 of file DTranslationTable.h.
References Df250PulseIntegral::emulated, Df250PulseIntegral::integral, Df250PulseIntegral::nsamples_integral, Df250PulseIntegral::nsamples_pedestal, Df250PulseIntegral::pedestal, Df250PulsePedestal::pulse_peak, Df250PulseIntegral::quality_factor, and Df250PulseTime::time.
void DTranslationTable::CopyDf250Info | ( | T * | h, |
const Df250PulseData * | pd | ||
) | const |
Copy info from the fADC250 into a hit object.
Definition at line 638 of file DTranslationTable.h.
References Df250PulseData::course_time, Df250PulseData::emulated, Df250PulseData::fine_time, Df250PulseData::integral, Df250PulseData::nsamples_integral, Df250PulseData::nsamples_pedestal, Df250PulseData::pedestal, Df250PulseData::pulse_peak, Df250PulseData::QF_bad_pedestal, Df250PulseData::QF_NSA_beyond_PTW, Df250PulseData::QF_overflow, Df250PulseData::QF_pedestal, Df250PulseData::QF_underflow, Df250PulseData::QF_vpeak_beyond_NSA, and Df250PulseData::QF_vpeak_not_found.
void DTranslationTable::CopyDIRCTDCInfo | ( | T * | h, |
const DDIRCTDCHit * | hit | ||
) | const |
Copy info from the DIRCTDC into a hit object.
Definition at line 709 of file DTranslationTable.h.
References DDIRCTDCHit::edge, and DDIRCTDCHit::time.
|
inline |
Definition at line 414 of file DTranslationTable.h.
References copytofactory, and MyTypes.
|
inlinestatic |
Definition at line 163 of file DTranslationTable.h.
Referenced by JEventProcessor_DAQ_online::AddROCIDLabels(), DMapEVIOWords::AddROCIDLabels(), and DEventWriterEVIO::SetDetectorsToWriteOut().
|
static |
Definition at line 53 of file DTranslationTable.cc.
Referenced by DEventWriterEVIO::SetDetectorsToWriteOut(), and StartElement().
|
private |
Definition at line 47 of file DTranslationTable.cc.
|
private |
Definition at line 41 of file DTranslationTable.cc.
|
private |
Definition at line 35 of file DTranslationTable.cc.
|
private |
Definition at line 29 of file DTranslationTable.cc.
|
private |
Definition at line 23 of file DTranslationTable.cc.
const DTranslationTable::csc_t & DTranslationTable::GetDAQIndex | ( | const DChannelInfo & | in_channel | ) | const |
Definition at line 1578 of file DTranslationTable.cc.
References BCAL, DTranslationTable::DChannelInfo::bcal, CCAL, DTranslationTable::DChannelInfo::ccal, CCAL_REF, DTranslationTable::DChannelInfo::ccal_ref, CDC, DTranslationTable::DChannelInfo::cdc, DTranslationTable::DChannelInfo::det_sys, DIRC, DTranslationTable::DChannelInfo::dirc, FCAL, DTranslationTable::DChannelInfo::fcal, FDC_CATHODES, DTranslationTable::DChannelInfo::fdc_cathodes, FDC_WIRES, DTranslationTable::DChannelInfo::fdc_wires, PS, DTranslationTable::DChannelInfo::ps, PSC, DTranslationTable::DChannelInfo::psc, RF, DTranslationTable::DChannelInfo::rf, SC, DTranslationTable::DChannelInfo::sc, TAC, DTranslationTable::DChannelInfo::tac, TAGH, DTranslationTable::DChannelInfo::tagh, TAGM, DTranslationTable::DChannelInfo::tagm, TOF, DTranslationTable::DChannelInfo::tof, TPOLSECTOR, and DTranslationTable::DChannelInfo::tpolsector.
const DTranslationTable::DChannelInfo & DTranslationTable::GetDetectorIndex | ( | const csc_t & | in_daq_index | ) | const |
Definition at line 1559 of file DTranslationTable.cc.
References DTranslationTable::csc_t::channel, DTranslationTable::csc_t::rocid, and DTranslationTable::csc_t::slot.
Referenced by JEventProcessor_DAQ_online::AddROCIDLabels(), and DMapEVIOWords::AddROCIDLabels().
|
inline |
Definition at line 406 of file DTranslationTable.h.
References copyfactoryptr, and MyTypes.
|
inline |
Definition at line 439 of file DTranslationTable.h.
References MyfADCTypes, and setdefaultfadc.
|
inline |
Definition at line 419 of file DTranslationTable.h.
References checkclassname, and MyTypes.
DTranslationTable::JOBJECT_PUBLIC | ( | DTranslationTable | ) |
DBCALDigiHit * DTranslationTable::MakeBCALDigiHit | ( | const BCALIndex_t & | idx, |
const Df250PulseData * | pd | ||
) | const |
Definition at line 750 of file DTranslationTable.cc.
References DTranslationTable::BCALIndex_t::end, h, DTranslationTable::BCALIndex_t::layer, DTranslationTable::BCALIndex_t::module, DTranslationTable::BCALIndex_t::sector, and VERBOSE.
DBCALDigiHit * DTranslationTable::MakeBCALDigiHit | ( | const BCALIndex_t & | idx, |
const Df250PulseIntegral * | pi, | ||
const Df250PulseTime * | pt, | ||
const Df250PulsePedestal * | pp | ||
) | const |
Definition at line 937 of file DTranslationTable.cc.
References DTranslationTable::BCALIndex_t::end, h, DTranslationTable::BCALIndex_t::layer, DTranslationTable::BCALIndex_t::module, Df250PulsePedestal::pulse_peak, DTranslationTable::BCALIndex_t::sector, and VERBOSE.
DBCALTDCDigiHit * DTranslationTable::MakeBCALTDCDigiHit | ( | const BCALIndex_t & | idx, |
const DF1TDCHit * | hit | ||
) | const |
Definition at line 1263 of file DTranslationTable.cc.
References DBCALTDCDigiHit::end, DTranslationTable::BCALIndex_t::end, h, DBCALTDCDigiHit::layer, DTranslationTable::BCALIndex_t::layer, DBCALTDCDigiHit::module, DTranslationTable::BCALIndex_t::module, DBCALTDCDigiHit::sector, and DTranslationTable::BCALIndex_t::sector.
DCCALDigiHit * DTranslationTable::MakeCCALDigiHit | ( | const CCALIndex_t & | idx, |
const Df250PulseData * | pd | ||
) | const |
Definition at line 791 of file DTranslationTable.cc.
References DTranslationTable::CCALIndex_t::col, DCCALDigiHit::column, h, DCCALDigiHit::row, and DTranslationTable::CCALIndex_t::row.
DCCALDigiHit * DTranslationTable::MakeCCALDigiHit | ( | const CCALIndex_t & | idx, |
const Df250PulseIntegral * | pi, | ||
const Df250PulseTime * | pt, | ||
const Df250PulsePedestal * | pp | ||
) | const |
Definition at line 984 of file DTranslationTable.cc.
References DTranslationTable::CCALIndex_t::col, DCCALDigiHit::column, h, DCCALDigiHit::row, and DTranslationTable::CCALIndex_t::row.
DCCALRefDigiHit * DTranslationTable::MakeCCALRefDigiHit | ( | const CCALRefIndex_t & | idx, |
const Df250PulseData * | pd | ||
) | const |
Definition at line 820 of file DTranslationTable.cc.
References h, DCCALRefDigiHit::id, and DTranslationTable::CCALRefIndex_t::id.
DCCALRefDigiHit * DTranslationTable::MakeCCALRefDigiHit | ( | const CCALRefIndex_t & | idx, |
const Df250PulseIntegral * | pi, | ||
const Df250PulseTime * | pt, | ||
const Df250PulsePedestal * | pp | ||
) | const |
Definition at line 1013 of file DTranslationTable.cc.
References h, DCCALRefDigiHit::id, and DTranslationTable::CCALRefIndex_t::id.
DCDCDigiHit * DTranslationTable::MakeCDCDigiHit | ( | const CDCIndex_t & | idx, |
const Df125PulseIntegral * | pi, | ||
const Df125PulseTime * | pt, | ||
const Df125PulsePedestal * | pp | ||
) | const |
Definition at line 1144 of file DTranslationTable.cc.
References h, DCDCDigiHit::pulse_peak, DCDCDigiHit::ring, DTranslationTable::CDCIndex_t::ring, DCDCDigiHit::straw, and DTranslationTable::CDCIndex_t::straw.
DCDCDigiHit * DTranslationTable::MakeCDCDigiHit | ( | const CDCIndex_t & | idx, |
const Df125CDCPulse * | p | ||
) | const |
Definition at line 1164 of file DTranslationTable.cc.
References Df125CDCPulse::first_max_amp, h, Df125CDCPulse::integral, Df125CDCPulse::le_time, DCDCDigiHit::nsamples_integral, Df125CDCPulse::nsamples_integral, DCDCDigiHit::nsamples_pedestal, Df125CDCPulse::nsamples_pedestal, Df125CDCPulse::overflow_count, DCDCDigiHit::pedestal, Df125CDCPulse::pedestal, DCDCDigiHit::pulse_integral, DCDCDigiHit::pulse_peak, DCDCDigiHit::pulse_time, DCDCDigiHit::QF, DCDCDigiHit::ring, DTranslationTable::CDCIndex_t::ring, DCDCDigiHit::straw, DTranslationTable::CDCIndex_t::straw, and Df125CDCPulse::time_quality_bit.
DCDCDigiHit * DTranslationTable::MakeCDCDigiHit | ( | const CDCIndex_t & | idx, |
const Df125FDCPulse * | p | ||
) | const |
Definition at line 1188 of file DTranslationTable.cc.
References h, Df125FDCPulse::integral, Df125FDCPulse::le_time, DCDCDigiHit::nsamples_integral, Df125FDCPulse::nsamples_integral, DCDCDigiHit::nsamples_pedestal, Df125FDCPulse::nsamples_pedestal, Df125FDCPulse::overflow_count, Df125FDCPulse::peak_amp, DCDCDigiHit::pedestal, Df125FDCPulse::pedestal, DCDCDigiHit::pulse_integral, DCDCDigiHit::pulse_peak, DCDCDigiHit::pulse_time, DCDCDigiHit::QF, DCDCDigiHit::ring, DTranslationTable::CDCIndex_t::ring, DCDCDigiHit::straw, DTranslationTable::CDCIndex_t::straw, and Df125FDCPulse::time_quality_bit.
DDIRCTDCDigiHit * DTranslationTable::MakeDIRCTDCDigiHit | ( | const DIRCIndex_t & | idx, |
const DDIRCTDCHit * | hit | ||
) | const |
Definition at line 1541 of file DTranslationTable.cc.
References DDIRCTDCDigiHit::channel, h, and DTranslationTable::DIRCIndex_t::pixel.
DFCALDigiHit * DTranslationTable::MakeFCALDigiHit | ( | const FCALIndex_t & | idx, |
const Df250PulseData * | pd | ||
) | const |
Definition at line 774 of file DTranslationTable.cc.
References DTranslationTable::FCALIndex_t::col, DFCALDigiHit::column, h, DFCALDigiHit::row, and DTranslationTable::FCALIndex_t::row.
DFCALDigiHit * DTranslationTable::MakeFCALDigiHit | ( | const FCALIndex_t & | idx, |
const Df250PulseIntegral * | pi, | ||
const Df250PulseTime * | pt, | ||
const Df250PulsePedestal * | pp | ||
) | const |
Definition at line 965 of file DTranslationTable.cc.
References DTranslationTable::FCALIndex_t::col, DFCALDigiHit::column, h, DFCALDigiHit::row, and DTranslationTable::FCALIndex_t::row.
DFDCCathodeDigiHit * DTranslationTable::MakeFDCCathodeDigiHit | ( | const FDC_CathodesIndex_t & | idx, |
const Df125PulseIntegral * | pi, | ||
const Df125PulseTime * | pt, | ||
const Df125PulsePedestal * | pp | ||
) | const |
Definition at line 1212 of file DTranslationTable.cc.
References DFDCCathodeDigiHit::chamber, DTranslationTable::FDC_CathodesIndex_t::chamber, h, DFDCCathodeDigiHit::package, DTranslationTable::FDC_CathodesIndex_t::package, DFDCCathodeDigiHit::strip, DTranslationTable::FDC_CathodesIndex_t::strip, DFDCCathodeDigiHit::strip_type, DTranslationTable::FDC_CathodesIndex_t::strip_type, DFDCCathodeDigiHit::view, and DTranslationTable::FDC_CathodesIndex_t::view.
DFDCCathodeDigiHit * DTranslationTable::MakeFDCCathodeDigiHit | ( | const FDC_CathodesIndex_t & | idx, |
const Df125FDCPulse * | p | ||
) | const |
Definition at line 1236 of file DTranslationTable.cc.
References DFDCCathodeDigiHit::chamber, DTranslationTable::FDC_CathodesIndex_t::chamber, h, Df125FDCPulse::integral, Df125FDCPulse::le_time, DFDCCathodeDigiHit::nsamples_integral, Df125FDCPulse::nsamples_integral, DFDCCathodeDigiHit::nsamples_pedestal, Df125FDCPulse::nsamples_pedestal, Df125FDCPulse::overflow_count, DFDCCathodeDigiHit::package, DTranslationTable::FDC_CathodesIndex_t::package, DFDCCathodeDigiHit::pedestal, Df125FDCPulse::pedestal, DFDCCathodeDigiHit::pulse_integral, DFDCCathodeDigiHit::pulse_time, DFDCCathodeDigiHit::QF, DFDCCathodeDigiHit::strip, DTranslationTable::FDC_CathodesIndex_t::strip, DFDCCathodeDigiHit::strip_type, DTranslationTable::FDC_CathodesIndex_t::strip_type, Df125FDCPulse::time_quality_bit, DFDCCathodeDigiHit::view, and DTranslationTable::FDC_CathodesIndex_t::view.
DFDCWireDigiHit * DTranslationTable::MakeFDCWireDigiHit | ( | const FDC_WiresIndex_t & | idx, |
const DF1TDCHit * | hit | ||
) | const |
Definition at line 1283 of file DTranslationTable.cc.
References DFDCWireDigiHit::chamber, DTranslationTable::FDC_WiresIndex_t::chamber, h, DFDCWireDigiHit::package, DTranslationTable::FDC_WiresIndex_t::package, DFDCWireDigiHit::wire, and DTranslationTable::FDC_WiresIndex_t::wire.
DPSCDigiHit * DTranslationTable::MakePSCDigiHit | ( | const PSCIndex_t & | idx, |
const Df250PulseData * | pd | ||
) | const |
Definition at line 904 of file DTranslationTable.cc.
References DPSCDigiHit::counter_id, h, and DTranslationTable::PSCIndex_t::id.
DPSCDigiHit * DTranslationTable::MakePSCDigiHit | ( | const PSCIndex_t & | idx, |
const Df250PulseIntegral * | pi, | ||
const Df250PulseTime * | pt, | ||
const Df250PulsePedestal * | pp | ||
) | const |
Definition at line 1107 of file DTranslationTable.cc.
References DPSCDigiHit::counter_id, h, and DTranslationTable::PSCIndex_t::id.
DPSCTDCDigiHit * DTranslationTable::MakePSCTDCDigiHit | ( | const PSCIndex_t & | idx, |
const DF1TDCHit * | hit | ||
) | const |
Definition at line 1424 of file DTranslationTable.cc.
References DPSCTDCDigiHit::counter_id, h, and DTranslationTable::PSCIndex_t::id.
DPSDigiHit * DTranslationTable::MakePSDigiHit | ( | const PSIndex_t & | idx, |
const Df250PulseData * | pd | ||
) | const |
Definition at line 920 of file DTranslationTable.cc.
References DPSDigiHit::arm, DPSDigiHit::column, h, DTranslationTable::PSIndex_t::id, and DTranslationTable::PSIndex_t::side.
DPSDigiHit * DTranslationTable::MakePSDigiHit | ( | const PSIndex_t & | idx, |
const Df250PulseIntegral * | pi, | ||
const Df250PulseTime * | pt, | ||
const Df250PulsePedestal * | pp | ||
) | const |
Definition at line 1125 of file DTranslationTable.cc.
References DPSDigiHit::arm, DPSDigiHit::column, h, DTranslationTable::PSIndex_t::id, and DTranslationTable::PSIndex_t::side.
DRFDigiTime * DTranslationTable::MakeRFDigiTime | ( | const RFIndex_t & | idx, |
const Df250PulseData * | pd | ||
) | const |
Definition at line 1355 of file DTranslationTable.cc.
References Df250PulseData::course_time, DRFDigiTime::dSystem, DTranslationTable::RFIndex_t::dSystem, Df250PulseData::fine_time, h, and DRFDigiTime::time.
DRFDigiTime * DTranslationTable::MakeRFDigiTime | ( | const RFIndex_t & | idx, |
const Df250PulseTime * | hit | ||
) | const |
Definition at line 1338 of file DTranslationTable.cc.
References DRFDigiTime::dSystem, DTranslationTable::RFIndex_t::dSystem, h, DRFDigiTime::time, and Df250PulseTime::time.
DRFTDCDigiTime * DTranslationTable::MakeRFTDCDigiTime | ( | const RFIndex_t & | idx, |
const DF1TDCHit * | hit | ||
) | const |
Definition at line 1302 of file DTranslationTable.cc.
References DRFTDCDigiTime::dIsCAENTDCFlag, DRFTDCDigiTime::dSystem, DTranslationTable::RFIndex_t::dSystem, and h.
DRFTDCDigiTime * DTranslationTable::MakeRFTDCDigiTime | ( | const RFIndex_t & | idx, |
const DCAEN1290TDCHit * | hit | ||
) | const |
Definition at line 1320 of file DTranslationTable.cc.
References DRFTDCDigiTime::dIsCAENTDCFlag, DRFTDCDigiTime::dSystem, DTranslationTable::RFIndex_t::dSystem, and h.
DSCDigiHit * DTranslationTable::MakeSCDigiHit | ( | const SCIndex_t & | idx, |
const Df250PulseData * | pd | ||
) | const |
Definition at line 855 of file DTranslationTable.cc.
References h, DSCDigiHit::sector, and DTranslationTable::SCIndex_t::sector.
DSCDigiHit * DTranslationTable::MakeSCDigiHit | ( | const SCIndex_t & | idx, |
const Df250PulseIntegral * | pi, | ||
const Df250PulseTime * | pt, | ||
const Df250PulsePedestal * | pp | ||
) | const |
Definition at line 1052 of file DTranslationTable.cc.
References h, DSCDigiHit::sector, and DTranslationTable::SCIndex_t::sector.
DSCTDCDigiHit * DTranslationTable::MakeSCTDCDigiHit | ( | const SCIndex_t & | idx, |
const DF1TDCHit * | hit | ||
) | const |
Definition at line 1372 of file DTranslationTable.cc.
References h, DSCTDCDigiHit::sector, and DTranslationTable::SCIndex_t::sector.
DTACDigiHit * DTranslationTable::MakeTACDigiHit | ( | const TACIndex_t & | idx, |
const Df250PulseData * | pd | ||
) | const |
Definition at line 1512 of file DTranslationTable.cc.
References h.
DTACDigiHit * DTranslationTable::MakeTACDigiHit | ( | const TACIndex_t & | idx, |
const Df250PulseIntegral * | pi, | ||
const Df250PulseTime * | pt, | ||
const Df250PulsePedestal * | pp | ||
) | const |
Definition at line 1496 of file DTranslationTable.cc.
References h.
DTACTDCDigiHit * DTranslationTable::MakeTACTDCDigiHit | ( | const TACIndex_t & | idx, |
const DCAEN1290TDCHit * | hit | ||
) | const |
Definition at line 1526 of file DTranslationTable.cc.
References h.
DTAGHDigiHit * DTranslationTable::MakeTAGHDigiHit | ( | const TAGHIndex_t & | idx, |
const Df250PulseData * | pd | ||
) | const |
Definition at line 888 of file DTranslationTable.cc.
References DTAGHDigiHit::counter_id, h, and DTranslationTable::TAGHIndex_t::id.
DTAGHDigiHit * DTranslationTable::MakeTAGHDigiHit | ( | const TAGHIndex_t & | idx, |
const Df250PulseIntegral * | pi, | ||
const Df250PulseTime * | pt, | ||
const Df250PulsePedestal * | pp | ||
) | const |
Definition at line 1089 of file DTranslationTable.cc.
References DTAGHDigiHit::counter_id, h, and DTranslationTable::TAGHIndex_t::id.
DTAGHTDCDigiHit * DTranslationTable::MakeTAGHTDCDigiHit | ( | const TAGHIndex_t & | idx, |
const DF1TDCHit * | hit | ||
) | const |
Definition at line 1407 of file DTranslationTable.cc.
References DTAGHTDCDigiHit::counter_id, h, and DTranslationTable::TAGHIndex_t::id.
DTAGMDigiHit * DTranslationTable::MakeTAGMDigiHit | ( | const TAGMIndex_t & | idx, |
const Df250PulseData * | pd | ||
) | const |
Definition at line 871 of file DTranslationTable.cc.
References DTranslationTable::TAGMIndex_t::col, DTAGMDigiHit::column, h, DTAGMDigiHit::row, and DTranslationTable::TAGMIndex_t::row.
DTAGMDigiHit * DTranslationTable::MakeTAGMDigiHit | ( | const TAGMIndex_t & | idx, |
const Df250PulseIntegral * | pi, | ||
const Df250PulseTime * | pt, | ||
const Df250PulsePedestal * | pp | ||
) | const |
Definition at line 1070 of file DTranslationTable.cc.
References DTranslationTable::TAGMIndex_t::col, DTAGMDigiHit::column, h, DTAGMDigiHit::row, and DTranslationTable::TAGMIndex_t::row.
DTAGMTDCDigiHit * DTranslationTable::MakeTAGMTDCDigiHit | ( | const TAGMIndex_t & | idx, |
const DF1TDCHit * | hit | ||
) | const |
Definition at line 1389 of file DTranslationTable.cc.
References DTranslationTable::TAGMIndex_t::col, DTAGMTDCDigiHit::column, h, DTAGMTDCDigiHit::row, and DTranslationTable::TAGMIndex_t::row.
DTOFDigiHit * DTranslationTable::MakeTOFDigiHit | ( | const TOFIndex_t & | idx, |
const Df250PulseData * | pd | ||
) | const |
Definition at line 837 of file DTranslationTable.cc.
References DTOFDigiHit::bar, DTranslationTable::TOFIndex_t::bar, DTOFDigiHit::end, DTranslationTable::TOFIndex_t::end, h, DTOFDigiHit::plane, and DTranslationTable::TOFIndex_t::plane.
DTOFDigiHit * DTranslationTable::MakeTOFDigiHit | ( | const TOFIndex_t & | idx, |
const Df250PulseIntegral * | pi, | ||
const Df250PulseTime * | pt, | ||
const Df250PulsePedestal * | pp | ||
) | const |
Definition at line 1032 of file DTranslationTable.cc.
References DTOFDigiHit::bar, DTranslationTable::TOFIndex_t::bar, DTOFDigiHit::end, DTranslationTable::TOFIndex_t::end, h, DTOFDigiHit::plane, and DTranslationTable::TOFIndex_t::plane.
DTOFTDCDigiHit * DTranslationTable::MakeTOFTDCDigiHit | ( | const TOFIndex_t & | idx, |
const DCAEN1290TDCHit * | hit | ||
) | const |
Definition at line 1441 of file DTranslationTable.cc.
References DTOFTDCDigiHit::bar, DTranslationTable::TOFIndex_t::bar, DTOFTDCDigiHit::end, DTranslationTable::TOFIndex_t::end, h, DTOFTDCDigiHit::plane, and DTranslationTable::TOFIndex_t::plane.
DTPOLSectorDigiHit * DTranslationTable::MakeTPOLSectorDigiHit | ( | const TPOLSECTORIndex_t & | idx, |
const Df250PulseData * | pd | ||
) | const |
Definition at line 1478 of file DTranslationTable.cc.
References h, DTPOLSectorDigiHit::sector, and DTranslationTable::TPOLSECTORIndex_t::sector.
DTPOLSectorDigiHit * DTranslationTable::MakeTPOLSectorDigiHit | ( | const TPOLSECTORIndex_t & | idx, |
const Df250PulseIntegral * | pi, | ||
const Df250PulseTime * | pt, | ||
const Df250PulsePedestal * | pp | ||
) | const |
Definition at line 1460 of file DTranslationTable.cc.
References h, DTPOLSectorDigiHit::sector, and DTranslationTable::TPOLSECTORIndex_t::sector.
|
inlinestatic |
Definition at line 548 of file DTranslationTable.h.
References DModuleType::CAEN1290, DModuleType::F1TDC32, DModuleType::F1TDC48, DModuleType::FADC125, DModuleType::FADC250, DModuleType::JLAB_DISC, DModuleType::TID, DModuleType::UNKNOWN, and DModuleType::VMECPU.
|
inline |
Definition at line 449 of file DTranslationTable.h.
References MyfADCTypes, and overwritensamples.
|
inline |
Definition at line 426 of file DTranslationTable.h.
References MyTypes, and printvectorsize.
void DTranslationTable::ReadOptionalROCidTranslation | ( | void | ) |
Definition at line 169 of file DTranslationTable.cc.
References size.
void DTranslationTable::ReadTranslationTable | ( | JCalibration * | jcalib = NULL | ) |
Definition at line 1855 of file DTranslationTable.cc.
References EndElement(), StartElement(), and XML_FILENAME.
|
static |
This takes a string of comma separated system names and identifies a list of Detector_t values from this (using strings returned by DetectorName() ). It then tries to copy the value into the DAQ plugin so they can be used to restrict which banks to parse.
Definition at line 233 of file DTranslationTable.cc.
References JEventSource_EVIOpp::AddROCIDtoParseList(), JEventSource_EVIO::AddROCIDtoParseList(), and string.
Referenced by DTranslationTable_factory::brun(), and JEventSource_EVIOpp::JEventSource_EVIOpp().
|
inline |
Definition at line 525 of file DTranslationTable.h.
References SetSystemsToParse().
Referenced by SetSystemsToParse().
|
protected |
Definition at line 578 of file DTranslationTable.h.
|
protected |
Definition at line 573 of file DTranslationTable.h.
|
protected |
Definition at line 577 of file DTranslationTable.h.
|
protected |
Definition at line 574 of file DTranslationTable.h.
|
protected |
Definition at line 576 of file DTranslationTable.h.
|
mutableprotected |
Definition at line 580 of file DTranslationTable.h.
|
protected |
Definition at line 575 of file DTranslationTable.h.
|
protected |
Definition at line 572 of file DTranslationTable.h.