Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DTranslationTable Class Reference

#include <DTranslationTable.h>

+ Inheritance diagram for DTranslationTable:

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
}
 

Public Member Functions

 JOBJECT_PUBLIC (DTranslationTable)
 
 DTranslationTable (JEventLoop *loop)
 
 ~DTranslationTable ()
 
void InitFactoryPointers (JEventLoop *loop)
 
void ClearVectors (void) const
 
void CopyToFactories (void) const
 
bool IsSuppliedType (string &classname) const
 
void PrintVectorSizes (void) const
 
void InitNsamplesOverride (void)
 
void OverwriteNsamples (void) const
 
void ApplyTranslationTable (jana::JEventLoop *loop) const
 
DBCALDigiHitMakeBCALDigiHit (const BCALIndex_t &idx, const Df250PulseData *pd) const
 
DFCALDigiHitMakeFCALDigiHit (const FCALIndex_t &idx, const Df250PulseData *pd) const
 
DCCALDigiHitMakeCCALDigiHit (const CCALIndex_t &idx, const Df250PulseData *pd) const
 
DCCALRefDigiHitMakeCCALRefDigiHit (const CCALRefIndex_t &idx, const Df250PulseData *pd) const
 
DSCDigiHitMakeSCDigiHit (const SCIndex_t &idx, const Df250PulseData *pd) const
 
DTOFDigiHitMakeTOFDigiHit (const TOFIndex_t &idx, const Df250PulseData *pd) const
 
DTAGMDigiHitMakeTAGMDigiHit (const TAGMIndex_t &idx, const Df250PulseData *pd) const
 
DTAGHDigiHitMakeTAGHDigiHit (const TAGHIndex_t &idx, const Df250PulseData *pd) const
 
DPSDigiHitMakePSDigiHit (const PSIndex_t &idx, const Df250PulseData *pd) const
 
DPSCDigiHitMakePSCDigiHit (const PSCIndex_t &idx, const Df250PulseData *pd) const
 
DRFDigiTimeMakeRFDigiTime (const RFIndex_t &idx, const Df250PulseData *pd) const
 
DTPOLSectorDigiHitMakeTPOLSectorDigiHit (const TPOLSECTORIndex_t &idx, const Df250PulseData *pd) const
 
DTACDigiHitMakeTACDigiHit (const TACIndex_t &idx, const Df250PulseData *pd) const
 
DBCALDigiHitMakeBCALDigiHit (const BCALIndex_t &idx, const Df250PulseIntegral *pi, const Df250PulseTime *pt, const Df250PulsePedestal *pp) const
 
DFCALDigiHitMakeFCALDigiHit (const FCALIndex_t &idx, const Df250PulseIntegral *pi, const Df250PulseTime *pt, const Df250PulsePedestal *pp) const
 
DCCALDigiHitMakeCCALDigiHit (const CCALIndex_t &idx, const Df250PulseIntegral *pi, const Df250PulseTime *pt, const Df250PulsePedestal *pp) const
 
DCCALRefDigiHitMakeCCALRefDigiHit (const CCALRefIndex_t &idx, const Df250PulseIntegral *pi, const Df250PulseTime *pt, const Df250PulsePedestal *pp) const
 
DSCDigiHitMakeSCDigiHit (const SCIndex_t &idx, const Df250PulseIntegral *pi, const Df250PulseTime *pt, const Df250PulsePedestal *pp) const
 
DTOFDigiHitMakeTOFDigiHit (const TOFIndex_t &idx, const Df250PulseIntegral *pi, const Df250PulseTime *pt, const Df250PulsePedestal *pp) const
 
DTAGMDigiHitMakeTAGMDigiHit (const TAGMIndex_t &idx, const Df250PulseIntegral *pi, const Df250PulseTime *pt, const Df250PulsePedestal *pp) const
 
DTAGHDigiHitMakeTAGHDigiHit (const TAGHIndex_t &idx, const Df250PulseIntegral *pi, const Df250PulseTime *pt, const Df250PulsePedestal *pp) const
 
DPSDigiHitMakePSDigiHit (const PSIndex_t &idx, const Df250PulseIntegral *pi, const Df250PulseTime *pt, const Df250PulsePedestal *pp) const
 
DPSCDigiHitMakePSCDigiHit (const PSCIndex_t &idx, const Df250PulseIntegral *pi, const Df250PulseTime *pt, const Df250PulsePedestal *pp) const
 
DRFDigiTimeMakeRFDigiTime (const RFIndex_t &idx, const Df250PulseTime *hit) const
 
DTPOLSectorDigiHitMakeTPOLSectorDigiHit (const TPOLSECTORIndex_t &idx, const Df250PulseIntegral *pi, const Df250PulseTime *pt, const Df250PulsePedestal *pp) const
 
DTACDigiHitMakeTACDigiHit (const TACIndex_t &idx, const Df250PulseIntegral *pi, const Df250PulseTime *pt, const Df250PulsePedestal *pp) const
 
DCDCDigiHitMakeCDCDigiHit (const CDCIndex_t &idx, const Df125PulseIntegral *pi, const Df125PulseTime *pt, const Df125PulsePedestal *pp) const
 
DCDCDigiHitMakeCDCDigiHit (const CDCIndex_t &idx, const Df125CDCPulse *p) const
 
DCDCDigiHitMakeCDCDigiHit (const CDCIndex_t &idx, const Df125FDCPulse *p) const
 
DFDCCathodeDigiHitMakeFDCCathodeDigiHit (const FDC_CathodesIndex_t &idx, const Df125PulseIntegral *pi, const Df125PulseTime *pt, const Df125PulsePedestal *pp) const
 
DFDCCathodeDigiHitMakeFDCCathodeDigiHit (const FDC_CathodesIndex_t &idx, const Df125FDCPulse *p) const
 
DBCALTDCDigiHitMakeBCALTDCDigiHit (const BCALIndex_t &idx, const DF1TDCHit *hit) const
 
DFDCWireDigiHitMakeFDCWireDigiHit (const FDC_WiresIndex_t &idx, const DF1TDCHit *hit) const
 
DRFTDCDigiTimeMakeRFTDCDigiTime (const RFIndex_t &idx, const DF1TDCHit *hit) const
 
DSCTDCDigiHitMakeSCTDCDigiHit (const SCIndex_t &idx, const DF1TDCHit *hit) const
 
DTAGMTDCDigiHitMakeTAGMTDCDigiHit (const TAGMIndex_t &idx, const DF1TDCHit *hit) const
 
DTAGHTDCDigiHitMakeTAGHTDCDigiHit (const TAGHIndex_t &idx, const DF1TDCHit *hit) const
 
DPSCTDCDigiHitMakePSCTDCDigiHit (const PSCIndex_t &idx, const DF1TDCHit *hit) const
 
DTOFTDCDigiHitMakeTOFTDCDigiHit (const TOFIndex_t &idx, const DCAEN1290TDCHit *hit) const
 
DRFTDCDigiTimeMakeRFTDCDigiTime (const RFIndex_t &idx, const DCAEN1290TDCHit *hit) const
 
DTACTDCDigiHitMakeTACTDCDigiHit (const TACIndex_t &idx, const DCAEN1290TDCHit *hit) const
 
DDIRCTDCDigiHitMakeDIRCTDCDigiHit (const DIRCIndex_t &idx, const DDIRCTDCHit *hit) const
 
void Addf250ObjectsToCallStack (JEventLoop *loop, string caller) const
 
void Addf125CDCObjectsToCallStack (JEventLoop *loop, string caller, bool addpulseobjs) const
 
void Addf125FDCObjectsToCallStack (JEventLoop *loop, string caller, bool addpulseobjs) const
 
void AddF1TDCObjectsToCallStack (JEventLoop *loop, string caller) const
 
void AddCAEN1290TDCObjectsToCallStack (JEventLoop *loop, string caller) const
 
void AddToCallStack (JEventLoop *loop, string caller, string callee) const
 
void ReadOptionalROCidTranslation (void)
 
void SetSystemsToParse (JEventSource *eventsource)
 
void ReadTranslationTable (JCalibration *jcalib=NULL)
 
template<class T >
void CopyDf250Info (T *h, const Df250PulseIntegral *pi, const Df250PulseTime *pt, const Df250PulsePedestal *pp) const
 
template<class T >
void CopyDf250Info (T *h, const Df250PulseData *pd) const
 
template<class T >
void CopyDf125Info (T *h, const Df125PulseIntegral *pi, const Df125PulseTime *pt, const Df125PulsePedestal *pp) const
 
template<class T >
void CopyDF1TDCInfo (T *h, const DF1TDCHit *hit) const
 
template<class T >
void CopyDCAEN1290TDCInfo (T *h, const DCAEN1290TDCHit *hit) const
 
template<class T >
void CopyDIRCTDCInfo (T *h, const DDIRCTDCHit *hit) const
 
const DChannelInfoGetDetectorIndex (const csc_t &in_daq_index) const
 
const csc_tGetDAQIndex (const DChannelInfo &in_channel) const
 

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< stringsupplied_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
 

Detailed Description

Definition at line 119 of file DTranslationTable.h.

Member Enumeration Documentation

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.

Constructor & Destructor Documentation

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.

Member Function Documentation

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.

void DTranslationTable::AddToCallStack ( JEventLoop *  loop,
string  caller,
string  callee 
) const

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.

string DTranslationTable::Channel2Str ( const DChannelInfo in_channel) const
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.

void DTranslationTable::ClearVectors ( void  ) const
inline

Definition at line 410 of file DTranslationTable.h.

References clearvector, and MyTypes.

template<class T >
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.

template<class T >
void DTranslationTable::CopyDf125Info ( T *  h,
const Df125PulseIntegral pi,
const Df125PulseTime pt,
const Df125PulsePedestal pp 
) const
template<class T >
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.

template<class T >
void DTranslationTable::CopyDf250Info ( T *  h,
const Df250PulseIntegral pi,
const Df250PulseTime pt,
const Df250PulsePedestal pp 
) const
template<class T >
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.

void DTranslationTable::CopyToFactories ( void  ) const
inline

Definition at line 414 of file DTranslationTable.h.

References copytofactory, and MyTypes.

static string DTranslationTable::DetectorName ( Detector_t  type)
inlinestatic
map< DTranslationTable::Detector_t, set< uint32_t > > & DTranslationTable::Get_ROCID_By_System ( void  )
static

Definition at line 53 of file DTranslationTable.cc.

Referenced by DEventWriterEVIO::SetDetectorsToWriteOut(), and StartElement().

map< uint32_t, uint32_t > & DTranslationTable::Get_ROCID_Inv_Map ( void  ) const
private

Definition at line 47 of file DTranslationTable.cc.

map< uint32_t, uint32_t > & DTranslationTable::Get_ROCID_Map ( void  ) const
private

Definition at line 41 of file DTranslationTable.cc.

map< DTranslationTable::csc_t, DTranslationTable::DChannelInfo > & DTranslationTable::Get_TT ( void  ) const
private

Definition at line 35 of file DTranslationTable.cc.

bool & DTranslationTable::Get_TT_Initialized ( void  ) const
private

Definition at line 29 of file DTranslationTable.cc.

pthread_mutex_t & DTranslationTable::Get_TT_Mutex ( void  ) const
private

Definition at line 23 of file DTranslationTable.cc.

void DTranslationTable::InitFactoryPointers ( JEventLoop *  loop)
inline

Definition at line 406 of file DTranslationTable.h.

References copyfactoryptr, and MyTypes.

void DTranslationTable::InitNsamplesOverride ( void  )
inline

Definition at line 439 of file DTranslationTable.h.

References MyfADCTypes, and setdefaultfadc.

bool DTranslationTable::IsSuppliedType ( string classname) const
inline

Definition at line 419 of file DTranslationTable.h.

References checkclassname, and MyTypes.

DTranslationTable::JOBJECT_PUBLIC ( DTranslationTable  )
DCCALDigiHit * DTranslationTable::MakeCCALDigiHit ( const CCALIndex_t idx,
const Df250PulseData pd 
) const
DCCALDigiHit * DTranslationTable::MakeCCALDigiHit ( const CCALIndex_t idx,
const Df250PulseIntegral pi,
const Df250PulseTime pt,
const Df250PulsePedestal pp 
) const
DCCALRefDigiHit * DTranslationTable::MakeCCALRefDigiHit ( const CCALRefIndex_t idx,
const Df250PulseData pd 
) const
DCCALRefDigiHit * DTranslationTable::MakeCCALRefDigiHit ( const CCALRefIndex_t idx,
const Df250PulseIntegral pi,
const Df250PulseTime pt,
const Df250PulsePedestal pp 
) const
DCDCDigiHit * DTranslationTable::MakeCDCDigiHit ( const CDCIndex_t idx,
const Df125PulseIntegral pi,
const Df125PulseTime pt,
const Df125PulsePedestal pp 
) const
DDIRCTDCDigiHit * DTranslationTable::MakeDIRCTDCDigiHit ( const DIRCIndex_t idx,
const DDIRCTDCHit hit 
) const
DFCALDigiHit * DTranslationTable::MakeFCALDigiHit ( const FCALIndex_t idx,
const Df250PulseData pd 
) const
DFCALDigiHit * DTranslationTable::MakeFCALDigiHit ( const FCALIndex_t idx,
const Df250PulseIntegral pi,
const Df250PulseTime pt,
const Df250PulsePedestal pp 
) const
DPSCDigiHit * DTranslationTable::MakePSCDigiHit ( const PSCIndex_t idx,
const Df250PulseData pd 
) const
DPSCDigiHit * DTranslationTable::MakePSCDigiHit ( const PSCIndex_t idx,
const Df250PulseIntegral pi,
const Df250PulseTime pt,
const Df250PulsePedestal pp 
) const
DPSCTDCDigiHit * DTranslationTable::MakePSCTDCDigiHit ( const PSCIndex_t idx,
const DF1TDCHit hit 
) const
DPSDigiHit * DTranslationTable::MakePSDigiHit ( const PSIndex_t idx,
const Df250PulseData pd 
) const
DPSDigiHit * DTranslationTable::MakePSDigiHit ( const PSIndex_t idx,
const Df250PulseIntegral pi,
const Df250PulseTime pt,
const Df250PulsePedestal pp 
) const
DRFDigiTime * DTranslationTable::MakeRFDigiTime ( const RFIndex_t idx,
const Df250PulseData pd 
) const
DRFDigiTime * DTranslationTable::MakeRFDigiTime ( const RFIndex_t idx,
const Df250PulseTime hit 
) const
DRFTDCDigiTime * DTranslationTable::MakeRFTDCDigiTime ( const RFIndex_t idx,
const DF1TDCHit hit 
) const
DRFTDCDigiTime * DTranslationTable::MakeRFTDCDigiTime ( const RFIndex_t idx,
const DCAEN1290TDCHit hit 
) const
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
DSCTDCDigiHit * DTranslationTable::MakeSCTDCDigiHit ( const SCIndex_t idx,
const DF1TDCHit hit 
) const
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
DTAGHDigiHit * DTranslationTable::MakeTAGHDigiHit ( const TAGHIndex_t idx,
const Df250PulseIntegral pi,
const Df250PulseTime pt,
const Df250PulsePedestal pp 
) const
DTAGHTDCDigiHit * DTranslationTable::MakeTAGHTDCDigiHit ( const TAGHIndex_t idx,
const DF1TDCHit hit 
) const
DTAGMDigiHit * DTranslationTable::MakeTAGMDigiHit ( const TAGMIndex_t idx,
const Df250PulseData pd 
) const
DTAGMDigiHit * DTranslationTable::MakeTAGMDigiHit ( const TAGMIndex_t idx,
const Df250PulseIntegral pi,
const Df250PulseTime pt,
const Df250PulsePedestal pp 
) const
DTAGMTDCDigiHit * DTranslationTable::MakeTAGMTDCDigiHit ( const TAGMIndex_t idx,
const DF1TDCHit hit 
) const
DTOFDigiHit * DTranslationTable::MakeTOFDigiHit ( const TOFIndex_t idx,
const Df250PulseIntegral pi,
const Df250PulseTime pt,
const Df250PulsePedestal pp 
) const
DTPOLSectorDigiHit * DTranslationTable::MakeTPOLSectorDigiHit ( const TPOLSECTORIndex_t idx,
const Df250PulseData pd 
) const
DTPOLSectorDigiHit * DTranslationTable::MakeTPOLSectorDigiHit ( const TPOLSECTORIndex_t idx,
const Df250PulseIntegral pi,
const Df250PulseTime pt,
const Df250PulsePedestal pp 
) const
void DTranslationTable::OverwriteNsamples ( void  ) const
inline

Definition at line 449 of file DTranslationTable.h.

References MyfADCTypes, and overwritensamples.

void DTranslationTable::PrintVectorSizes ( void  ) const
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.

void DTranslationTable::SetSystemsToParse ( string  systems,
JEventSource *  eventsource 
)
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().

void DTranslationTable::SetSystemsToParse ( JEventSource *  eventsource)
inline

Definition at line 525 of file DTranslationTable.h.

References SetSystemsToParse().

Referenced by SetSystemsToParse().

Member Data Documentation

bool DTranslationTable::CALL_STACK
protected

Definition at line 578 of file DTranslationTable.h.

bool DTranslationTable::NO_CCDB
protected

Definition at line 573 of file DTranslationTable.h.

string DTranslationTable::ROCID_MAP_FILENAME
protected

Definition at line 577 of file DTranslationTable.h.

set<string> DTranslationTable::supplied_data_types
protected

Definition at line 574 of file DTranslationTable.h.

string DTranslationTable::SYSTEMS_TO_PARSE
protected

Definition at line 576 of file DTranslationTable.h.

JStreamLog DTranslationTable::ttout
mutableprotected

Definition at line 580 of file DTranslationTable.h.

int DTranslationTable::VERBOSE
protected

Definition at line 575 of file DTranslationTable.h.

string DTranslationTable::XML_FILENAME
protected

Definition at line 572 of file DTranslationTable.h.


The documentation for this class was generated from the following files: