Hall A ROOT/C++ Analyzer (podd)
|
Classes | |
class | RocDat_t |
Public Types | |
enum | { HED_OK = 0, HED_WARN = -63, HED_ERR = -127, HED_FATAL = -255 } |
Public Member Functions | |
THaEvData () | |
virtual | ~THaEvData () |
virtual Int_t | LoadEvent (const UInt_t *evbuffer)=0 |
const UInt_t * | GetRawDataBuffer () const |
virtual Bool_t | DataCached () |
virtual Int_t | Init () |
void | SetEpicsEvtType (UInt_t itype) |
void | SetEvTime (ULong64_t evtime) |
UInt_t | GetEvType () const |
UInt_t | GetEvLength () const |
UInt_t | GetEvNum () const |
UInt_t | GetRunNum () const |
Int_t | GetDataVersion () const |
ULong64_t | GetRunTime () const |
UInt_t | GetRunType () const |
UInt_t | GetRocLength (UInt_t crate) const |
Bool_t | IsPhysicsTrigger () const |
Bool_t | IsScalerEvent () const |
Bool_t | IsPrestartEvent () const |
Bool_t | IsEpicsEvent () const |
Bool_t | IsPrescaleEvent () const |
Bool_t | IsSpecialEvent () const |
UInt_t | GetNumRaw (UInt_t crate, UInt_t slot) const |
UInt_t | GetRawData (UInt_t crate, UInt_t slot, UInt_t hit) const |
UInt_t | GetRawData (UInt_t crate, UInt_t slot, UInt_t chan, UInt_t hit) const |
UInt_t | GetRawData (UInt_t i) const |
UInt_t | GetRawData (UInt_t crate, UInt_t i) const |
const UInt_t * | GetRawDataBuffer (UInt_t crate) const |
UInt_t | GetNumHits (UInt_t crate, UInt_t slot, UInt_t chan) const |
UInt_t | GetData (UInt_t crate, UInt_t slot, UInt_t chan, UInt_t hit) const |
Bool_t | InCrate (UInt_t crate, UInt_t i) const |
UInt_t | GetNumChan (UInt_t crate, UInt_t slot) const |
UInt_t | GetNextChan (UInt_t crate, UInt_t slot, UInt_t index) const |
const char * | DevType (UInt_t crate, UInt_t slot) const |
Bool_t | HasCapability (Decoder::EModuleType type, UInt_t crate, UInt_t slot) const |
Bool_t | IsMultifunction (UInt_t crate, UInt_t slot) const |
UInt_t | GetNumEvents (Decoder::EModuleType type, UInt_t crate, UInt_t slot, UInt_t chan) const |
UInt_t | GetData (Decoder::EModuleType type, UInt_t crate, UInt_t slot, UInt_t chan, UInt_t hit) const |
UInt_t | GetLEbit (UInt_t crate, UInt_t slot, UInt_t chan, UInt_t hit) const |
UInt_t | GetOpt (UInt_t crate, UInt_t slot, UInt_t chan, UInt_t hit) const |
virtual ULong64_t | GetEvTime () const |
virtual Int_t | GetHelicity () const |
virtual Int_t | GetHelicity (const TString &) const |
virtual UInt_t | GetPrescaleFactor (UInt_t) const |
virtual UInt_t | GetScaler (UInt_t, UInt_t, UInt_t) const |
virtual UInt_t | GetScaler (const TString &, UInt_t, UInt_t) const |
virtual void | SetDebugFile (std::ofstream *file) |
virtual Decoder::Module * | GetModule (UInt_t roc, UInt_t slot) const |
virtual double | GetEpicsData (const char *tag, UInt_t event=0) const |
virtual double | GetEpicsTime (const char *tag, UInt_t event=0) const |
virtual TString | GetEpicsString (const char *tag, UInt_t event=0) const |
virtual Bool_t | IsLoadedEpics (const char *) const |
UInt_t | GetNslots () const |
virtual void | PrintSlotData (UInt_t crate, UInt_t slot) const |
virtual void | PrintOut () const |
virtual void | SetRunTime (ULong64_t tloc) |
virtual Int_t | SetDataVersion (Int_t version) |
void | EnableBenchmarks (Bool_t enable=true) |
void | EnableHelicity (Bool_t enable=true) |
Bool_t | HelicityEnabled () const |
void | EnableScalers (Bool_t enable=true) |
Bool_t | ScalersEnabled () const |
void | SetOrigPS (Int_t event_type) |
TString | GetOrigPS () const |
UInt_t | GetInstance () const |
Decoder::THaCrateMap * | GetCrateMap () const |
void | SetVerbose (Int_t level) |
void | SetDebug (Int_t level) |
void | SetCrateMapName (const char *name) |
Static Public Member Functions | |
static UInt_t | GetInstances () |
static void | hexdump (const char *cbuff, size_t len) |
static void | SetDefaultCrateMapName (const char *name) |
Protected Types | |
enum | { kHelicityEnabled = BIT(14), kScalersEnabled = BIT(15) } |
Protected Member Functions | |
virtual Int_t | init_cmap () |
virtual Int_t | init_slotdata () |
virtual void | makeidx (UInt_t crate, UInt_t slot) |
virtual void | FindUsedSlots () |
UInt_t | idx (UInt_t crate, UInt_t slot) const |
UInt_t | idx (UInt_t crate, UInt_t slot) |
Bool_t | GoodIndex (UInt_t crate, UInt_t slot) const |
Static Protected Member Functions | |
static Bool_t | GoodCrateSlot (UInt_t crate, UInt_t slot) |
Protected Attributes | |
std::unique_ptr< Decoder::THaCrateMap > | fMap |
std::array< RocDat_t, Decoder::MAXROC > | rocdat |
std::vector< std::unique_ptr< Decoder::THaSlotData > > | crateslot |
Bool_t | first_decode |
Bool_t | fTrigSupPS |
Int_t | fDataVersion |
UInt_t | fEpicsEvtType |
const UInt_t * | buffer |
std::ofstream * | fDebugFile |
UInt_t | event_type |
UInt_t | event_length |
UInt_t | event_num |
UInt_t | run_num |
Int_t | evscaler |
UInt_t | bank_tag |
UInt_t | data_type |
UInt_t | block_size |
UInt_t | tbLen |
UInt_t | run_type |
ULong64_t | fRunTime |
ULong64_t | evt_time |
UInt_t | recent_event |
Bool_t | buffmode |
Bool_t | synchmiss |
Bool_t | synchextra |
std::vector< UShort_t > | fSlotUsed |
std::vector< UShort_t > | fSlotClear |
Bool_t | fDoBench |
std::unique_ptr< THaBenchmark > | fBench |
UInt_t | fInstance |
TString | fCrateMapName |
Bool_t | fNeedInit |
Int_t | fDebug |
TBits | fMsgPrinted |
TObject * | fExtra |
Static Protected Attributes | |
static TBits | fgInstances |
static const Double_t | kBig = 1e38 |
static Bool_t | fgAllowUnimpl = false |
static TString | fgDefaultCrateMapName = "cratemap" |
#include <THaEvData.h>
THaEvData::THaEvData | ( | ) |
|
virtual |
|
inlinevirtual |
Reimplemented in Decoder::CodaDecoder.
const char * THaEvData::DevType | ( | UInt_t | crate, |
UInt_t | slot | ||
) | const |
void THaEvData::EnableBenchmarks | ( | Bool_t | enable = true | ) |
void THaEvData::EnableHelicity | ( | Bool_t | enable = true | ) |
void THaEvData::EnableScalers | ( | Bool_t | enable = true | ) |
|
protectedvirtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inline |
|
inline |
|
inlinevirtual |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inline |
|
inlinestatic |
|
inline |
|
virtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
TString THaEvData::GetOrigPS | ( | ) | const |
|
inlinevirtual |
Reimplemented in Decoder::CodaDecoder.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inlinestaticprotected |
|
inlineprotected |
|
inline |
|
inline |
|
static |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
virtual |
Reimplemented in Decoder::CodaDecoder.
|
protectedvirtual |
|
protectedvirtual |
Reimplemented in Decoder::CodaDecoder.
|
inline |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
pure virtual |
Implemented in Decoder::CodaDecoder.
|
protectedvirtual |
|
virtual |
|
virtual |
|
inline |
void THaEvData::SetCrateMapName | ( | const char * | name | ) |
|
virtual |
Reimplemented in Decoder::CodaDecoder.
void THaEvData::SetDebug | ( | Int_t | level | ) |
|
inlinevirtual |
|
static |
|
inline |
|
inline |
void THaEvData::SetOrigPS | ( | Int_t | event_type | ) |
|
virtual |
Reimplemented in Decoder::CodaDecoder.
void THaEvData::SetVerbose | ( | Int_t | level | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |