BmnRoot
Loading...
Searching...
No Matches
BmnDecoder Class Reference

#include <BmnDecoder.h>

Inheritance diagram for BmnDecoder:
[legend]
Collaboration diagram for BmnDecoder:
[legend]

Public Member Functions

 BmnDecoder (TString file="", TString outfile="", ULong_t nEvents=0, ULong_t period=8)
 
virtual ~BmnDecoder ()
 
InitStatus Init ()
 
InitStatus ReInit ()
 
void Exec (Option_t *opt)
 
void AssignInputs ()
 
void InitMappers (std::function< void(TString, TObject *)> branch_reg_fun)
 
void ClearDigiArrays ()
 
void ClearSpillDigiArrays ()
 
void RecalculatePedestals ()
 
void FillAdcQa ()
 
void SaveAdcQa ()
 
void FillProfiles ()
 
void FillNoisyChannels ()
 
BmnStatus DecodeDataToDigi ()
 
BmnStatus DecodeDataToDigiIterate ()
 
BmnStatus PreInitOffline ()
 
BmnStatus InitDecoder ()
 
BmnStatus DecodeOffline ()
 
void ConfigureStripMappers ()
 
BmnStatus Finalize ()
 
DigiArrays GetDigiArraysObject ()
 
void SetRawTree (TTree *tree)
 
void SetRawTreeSpills (TTree *tree)
 
TTree * GetDigiTree ()
 
void SetTOF700ReferenceRun (Int_t n)
 
void SetTOF700ReferenceChamber (Int_t n)
 
void SetRunId (UInt_t v)
 
void SetPeriodId (UInt_t v)
 
void SetApplyThreshold (bool b)
 
unordered_map< UInt_t, Long64_t > GetTimeShifts ()
 
UInt_t GetRunId () const
 
UInt_t GetPeriodId () const
 
UInt_t GetNevents () const
 
UInt_t GetEventId () const
 
TTimeStamp GetRunStartTime () const
 
TTimeStamp GetRunEndTime () const
 
BmnZDCRaw2DigitGetZDCMapper ()
 
BmnScWallRaw2DigitGetScWallMapper ()
 
BmnFHCalRaw2DigitGetFHCalMapper ()
 
BmnHodoRaw2DigitGetHodoMapper ()
 
BmnNdetRaw2DigitGetNdetMapper ()
 
BmnHgndRaw2DigitGetHgndMapper ()
 
BmnECALRaw2DigitGetECALMapper ()
 
void SetTrigPlaceMapping (TString map)
 
void SetSiliconMapping (TString map)
 
void SetSiBTMapping (TString map)
 
void SetCSCMapping (TString map)
 
void SetTrigChannelMapping (TString file)
 
void SetDchMapping (TString map)
 
void SetMwpcMapping (TString map)
 
void SetGemMapping (TString map)
 
void SetVspMapping (TString map)
 
void SetTof400Mapping (TString PlaceMap, TString StripMap)
 
void SetTof701Mapping (TString PlaceMap, TString StripMap)
 
void SetTof700Mapping (TString map)
 
void SetTof700Geom (TString geom)
 
void SetZDCMapping (TString map)
 
void SetZDCCalibration (TString cal)
 
void SetScWallMapping (TString map)
 
void SetScWallCalibration (TString cal)
 
void SetFHCalMapping (TString map)
 
void SetFHCalCalibration (TString cal)
 
void SetHodoMapping (TString map)
 
void SetHodoCalibration (TString cal)
 
void SetNdetMapping (TString map)
 
void SetNdetCalibration (TString cal)
 
void SetHgndMapping (TString map)
 
void SetHgndCalibration (TString cal)
 
void SetECALMapping (TString map)
 
void SetECALCalibration (TString cal)
 
void SetMSCMapping (TString map)
 
TString GetRootFileName ()
 
void SetDetectorSetup (std::map< DetectorId, bool > setup)
 
void SetEvForPedestals (UInt_t v)
 
UInt_t GetEvForPedestals ()
 
void SetBmnSetup (BmnSetup v)
 
BmnSetup GetBmnSetup () const
 
void SetVerbose (Int_t v)
 
Int_t GetVerbose () const
 
void SetUseCalibFile (bool v)
 
bool GetUseCalibFile () const
 
void SetSaveOutput (bool v)
 
bool GetSaveOutput () const
 
void SetTaskMode (bool v=true)
 
bool GetTaskMode () const
 
void SetForwardMode (bool v=true)
 
bool GetForwardMode () const
 
UInt_t GetBoundaryRun (UInt_t nSmpl)
 
void SetRawRootFile (TString filename)
 
void SetDigiRootFile (TString filename)
 
TString GetDigiFileName ()
 
void SetDecoderConfigFileName (string FileName)
 
Int_t GetRunIdFromFile (TString name)
 
TString GetSubNameAfterRunId (TString name)
 
void * GetMapper (DetectorId id)
 
 BmnDecoder (TString file="", TString outfile="", ULong_t nEvents=0, ULong_t period=8)
 
virtual ~BmnDecoder ()
 
InitStatus Init ()
 
InitStatus ReInit ()
 
void Exec (Option_t *opt)
 
void AssignInputs ()
 
void InitMappers (std::function< void(TString, TObject *)> branch_reg_fun)
 
void ClearDigiArrays ()
 
void ClearSpillDigiArrays ()
 
void RecalculatePedestals ()
 
void FillAdcQa ()
 
void SaveAdcQa ()
 
void FillProfiles ()
 
void FillNoisyChannels ()
 
BmnStatus DecodeDataToDigi ()
 
BmnStatus DecodeDataToDigiIterate ()
 
BmnStatus PreInitOffline ()
 
BmnStatus InitDecoder ()
 
BmnStatus DecodeOffline ()
 
void ConfigureStripMappers ()
 
BmnStatus Finalize ()
 
DigiArrays GetDigiArraysObject ()
 
void SetRawTree (TTree *tree)
 
void SetRawTreeSpills (TTree *tree)
 
TTree * GetDigiTree ()
 
void SetTOF700ReferenceRun (Int_t n)
 
void SetTOF700ReferenceChamber (Int_t n)
 
void SetRunId (UInt_t v)
 
void SetPeriodId (UInt_t v)
 
void SetApplyThreshold (bool b)
 
unordered_map< UInt_t, Long64_t > GetTimeShifts ()
 
UInt_t GetRunId () const
 
UInt_t GetPeriodId () const
 
UInt_t GetNevents () const
 
UInt_t GetEventId () const
 
TTimeStamp GetRunStartTime () const
 
TTimeStamp GetRunEndTime () const
 
BmnZDCRaw2DigitGetZDCMapper ()
 
BmnScWallRaw2DigitGetScWallMapper ()
 
BmnFHCalRaw2DigitGetFHCalMapper ()
 
BmnHodoRaw2DigitGetHodoMapper ()
 
BmnNdetRaw2DigitGetNdetMapper ()
 
BmnHgndRaw2DigitGetHgndMapper ()
 
BmnECALRaw2DigitGetECALMapper ()
 
void SetTrigPlaceMapping (TString map)
 
void SetSiliconMapping (TString map)
 
void SetSiBTMapping (TString map)
 
void SetCSCMapping (TString map)
 
void SetTrigChannelMapping (TString file)
 
void SetDchMapping (TString map)
 
void SetMwpcMapping (TString map)
 
void SetGemMapping (TString map)
 
void SetVspMapping (TString map)
 
void SetTof400Mapping (TString PlaceMap, TString StripMap)
 
void SetTof701Mapping (TString PlaceMap, TString StripMap)
 
void SetTof700Mapping (TString map)
 
void SetTof700Geom (TString geom)
 
void SetZDCMapping (TString map)
 
void SetZDCCalibration (TString cal)
 
void SetScWallMapping (TString map)
 
void SetScWallCalibration (TString cal)
 
void SetFHCalMapping (TString map)
 
void SetFHCalCalibration (TString cal)
 
void SetHodoMapping (TString map)
 
void SetHodoCalibration (TString cal)
 
void SetNdetMapping (TString map)
 
void SetNdetCalibration (TString cal)
 
void SetHgndMapping (TString map)
 
void SetHgndCalibration (TString cal)
 
void SetECALMapping (TString map)
 
void SetECALCalibration (TString cal)
 
void SetMSCMapping (TString map)
 
TString GetRootFileName ()
 
void SetDetectorSetup (std::map< DetectorId, bool > setup)
 
void SetEvForPedestals (UInt_t v)
 
UInt_t GetEvForPedestals ()
 
void SetBmnSetup (BmnSetup v)
 
BmnSetup GetBmnSetup () const
 
void SetVerbose (Int_t v)
 
Int_t GetVerbose () const
 
void SetUseCalibFile (bool v)
 
bool GetUseCalibFile () const
 
void SetSaveOutput (bool v)
 
bool GetSaveOutput () const
 
void SetTaskMode (bool v=true)
 
bool GetTaskMode () const
 
void SetForwardMode (bool v=true)
 
bool GetForwardMode () const
 
UInt_t GetBoundaryRun (UInt_t nSmpl)
 
void SetRawRootFile (TString filename)
 
void SetDigiRootFile (TString filename)
 
TString GetDigiFileName ()
 
void SetDecoderConfigFileName (string FileName)
 
Int_t GetRunIdFromFile (TString name)
 
TString GetSubNameAfterRunId (TString name)
 
void * GetMapper (DetectorId id)
 
- Public Member Functions inherited from BmnTask
 BmnTask ()
 
 BmnTask (const char *name, Int_t iVerbose=1)
 
virtual ~BmnTask ()
 Destroy the BmnTask object.
 
virtual void OnlineWrite (const std::unique_ptr< TTree > &resultTree)
 Write task resul to tree.
 
 BmnTask (const BmnTask &)=delete
 
BmnTaskoperator= (const BmnTask &)=delete
 
 ClassDef (BmnTask, 1)
 
 BmnTask ()
 
 BmnTask (const char *name, Int_t iVerbose=1)
 
virtual ~BmnTask ()
 Destroy the BmnTask object.
 
virtual void OnlineWrite (const std::unique_ptr< TTree > &resultTree)
 Write task resul to tree.
 
 BmnTask (const BmnTask &)=delete
 
BmnTaskoperator= (const BmnTask &)=delete
 
 ClassDef (BmnTask, 1)
 

Detailed Description

Definition at line 59 of file BmnDecoder.h.

Constructor & Destructor Documentation

◆ BmnDecoder() [1/2]

BmnDecoder::BmnDecoder ( TString  file = "",
TString  outfile = "",
ULong_t  nEvents = 0,
ULong_t  period = 8 
)

Definition at line 31 of file BmnDecoder.cxx.

◆ ~BmnDecoder() [1/2]

BmnDecoder::~BmnDecoder ( )
virtual

Definition at line 185 of file BmnDecoder.cxx.

◆ BmnDecoder() [2/2]

BmnDecoder::BmnDecoder ( TString  file = "",
TString  outfile = "",
ULong_t  nEvents = 0,
ULong_t  period = 8 
)

◆ ~BmnDecoder() [2/2]

virtual BmnDecoder::~BmnDecoder ( )
virtual

Member Function Documentation

◆ AssignInputs() [1/2]

void BmnDecoder::AssignInputs ( )

Definition at line 812 of file BmnDecoder.cxx.

Referenced by BmnRawDataDecoder::ConnectForward(), Init(), and PreInitOffline().

◆ AssignInputs() [2/2]

void BmnDecoder::AssignInputs ( )

◆ ClearDigiArrays() [1/2]

void BmnDecoder::ClearDigiArrays ( )

◆ ClearDigiArrays() [2/2]

void BmnDecoder::ClearDigiArrays ( )

◆ ClearSpillDigiArrays() [1/2]

void BmnDecoder::ClearSpillDigiArrays ( )

Definition at line 1159 of file BmnDecoder.cxx.

References BmnSpillHeader::Clear().

Referenced by DecodeDataToDigiIterate(), and DecodeOffline().

◆ ClearSpillDigiArrays() [2/2]

void BmnDecoder::ClearSpillDigiArrays ( )

◆ ConfigureStripMappers() [1/2]

void BmnDecoder::ConfigureStripMappers ( )

Definition at line 842 of file BmnDecoder.cxx.

References BmnAdcProcessor::SetApplyThreshold(), and BmnAdcProcessor::SetEvForPedestals().

Referenced by Init(), and InitDecoder().

◆ ConfigureStripMappers() [2/2]

void BmnDecoder::ConfigureStripMappers ( )

◆ DecodeDataToDigi() [1/2]

BmnStatus BmnDecoder::DecodeDataToDigi ( )

◆ DecodeDataToDigi() [2/2]

BmnStatus BmnDecoder::DecodeDataToDigi ( )

◆ DecodeDataToDigiIterate() [1/2]

BmnStatus BmnDecoder::DecodeDataToDigiIterate ( )

Definition at line 1272 of file BmnDecoder.cxx.

References ANSI_COLOR_BLUE, ANSI_COLOR_RESET, ClearDigiArrays(), ClearSpillDigiArrays(), BmnCscRaw2Digit::FillEvent(), BmnVspRaw2Digit::FillEvent(), BmnGemRaw2Digit::FillEvent(), BmnSiBTRaw2Digit::FillEvent(), BmnSiliconRaw2Digit::FillEvent(), BmnECALRaw2Digit::fillEvent(), BmnFHCalRaw2Digit::fillEvent(), BmnScWallRaw2Digit::fillEvent(), BmnZDCRaw2Digit::fillEvent(), BmnTof1Raw2Digit::FillEvent(), BmnTof701Raw2Digit::FillEvent(), BmnMwpcRaw2Digit::FillEvent(), BmnTrigRaw2Digit::FillEvent(), BmnDchRaw2Digit::FillEvent(), BmnHgndRaw2Digit::fillEvent(), BmnHodoRaw2Digit::fillEvent(), BmnNdetRaw2Digit::fillEvent(), FillNoisyChannels(), FillProfiles(), BmnEventHeader::GetEventId(), BmnEventHeader::GetEventType(), BmnEventHeader::GetInputSignalsAR(), BmnEventHeader::GetInputSignalsBR(), BmnEventHeader::GetInputSignalsVector(), BmnEventHeader::GetPeriodId(), BmnEventHeader::GetSpillId(), BmnEventHeader::GetSpillStart(), BmnEventHeader::GetSpillStartTS(), BmnEventHeader::GetTrigInfo(), kBMNPAYLOAD, kBMNPEDESTAL, kBMNSUCCESS, RecalculatePedestals(), BmnEventHeader::SetEventId(), BmnEventHeader::SetEventTimeTS(), BmnEventHeader::SetEventType(), BmnEventHeader::SetInputSignalsAR(), BmnEventHeader::SetInputSignalsBR(), BmnEventHeader::SetInputSignalsVector(), BmnEventHeader::SetPeriodId(), BmnEventHeader::SetSpillId(), BmnEventHeader::SetSpillStart(), BmnEventHeader::SetSpillStartTS(), BmnEventHeader::SetStartSignalInfo(), BmnEventHeader::SetTimeShift(), BmnEventHeader::SetTrigInfo(), and BmnEventHeader::SetTripWord().

Referenced by BmnRawDataDecoder::DecodeDataToDigiIterate(), and Exec().

◆ DecodeDataToDigiIterate() [2/2]

BmnStatus BmnDecoder::DecodeDataToDigiIterate ( )

◆ DecodeOffline() [1/2]

BmnStatus BmnDecoder::DecodeOffline ( )

Definition at line 350 of file BmnDecoder.cxx.

References ANSI_COLOR_BLUE, ANSI_COLOR_RED, ANSI_COLOR_RESET, ClearDigiArrays(), ClearSpillDigiArrays(), FillAdcQa(), BmnCscRaw2Digit::FillEvent(), BmnVspRaw2Digit::FillEvent(), BmnGemRaw2Digit::FillEvent(), BmnSiBTRaw2Digit::FillEvent(), BmnSiliconRaw2Digit::FillEvent(), BmnECALRaw2Digit::fillEvent(), BmnFHCalRaw2Digit::fillEvent(), BmnScWallRaw2Digit::fillEvent(), BmnZDCRaw2Digit::fillEvent(), BmnTof1Raw2Digit::FillEvent(), BmnTof701Raw2Digit::FillEvent(), BmnMwpcRaw2Digit::FillEvent(), BmnTrigRaw2Digit::FillEvent(), BmnDchRaw2Digit::FillEvent(), BmnHgndRaw2Digit::fillEvent(), BmnHodoRaw2Digit::fillEvent(), BmnNdetRaw2Digit::fillEvent(), FillNoisyChannels(), FillProfiles(), BmnMscRaw2Digit::FillRunHeader(), Finalize(), BmnEventHeader::GetEventId(), BmnEventHeader::GetEventType(), BmnEventHeader::GetInputSignalsAR(), BmnEventHeader::GetInputSignalsBR(), BmnEventHeader::GetInputSignalsVector(), BmnEventHeader::GetPeriodId(), DigiRunHeader::GetScalerMap(), BmnTrigRaw2Digit::GetScalerMap(), BmnEventHeader::GetSpillId(), DigiRunHeader::GetSpillMap(), BmnEventHeader::GetSpillStart(), BmnEventHeader::GetSpillStartTS(), BmnT0Raw< counters_cnt >::GetTime(), DigiRunHeader::GetTrcBitMap(), BmnTrigRaw2Digit::GetTrcMap(), DigiRunHeader::GetTrigConfig(), BmnEventHeader::GetTrigInfo(), kBMNPAYLOAD, kBMNPEDESTAL, kBMNSUCCESS, RecalculatePedestals(), SaveAdcQa(), BmnEventHeader::SetEventId(), BmnEventHeader::SetEventTimeTS(), BmnEventHeader::SetEventType(), BmnEventHeader::SetInputSignalsAR(), BmnEventHeader::SetInputSignalsBR(), BmnEventHeader::SetInputSignalsVector(), BmnEventHeader::SetPeriodId(), BmnEventHeader::SetSpillId(), DigiRunHeader::SetSpillMap(), BmnEventHeader::SetSpillStart(), BmnEventHeader::SetSpillStartTS(), BmnEventHeader::SetStartSignalInfo(), BmnEventHeader::SetTimeShift(), DigiRunHeader::SetTrigConfig(), BmnEventHeader::SetTrigInfo(), BmnEventHeader::SetTripWord(), BmnMscRaw2Digit::SumEvent7(), DigiRunHeader::T0Map(), BmnTrigRaw2Digit::T0Map(), and BmnFunctionSet::TimePoint2String().

Referenced by DecodeDataToDigi().

◆ DecodeOffline() [2/2]

BmnStatus BmnDecoder::DecodeOffline ( )

◆ Exec() [1/2]

void BmnDecoder::Exec ( Option_t *  opt)

Definition at line 310 of file BmnDecoder.cxx.

References DecodeDataToDigiIterate().

◆ Exec() [2/2]

void BmnDecoder::Exec ( Option_t *  opt)

◆ FillAdcQa() [1/2]

void BmnDecoder::FillAdcQa ( )

◆ FillAdcQa() [2/2]

void BmnDecoder::FillAdcQa ( )

◆ FillNoisyChannels() [1/2]

◆ FillNoisyChannels() [2/2]

void BmnDecoder::FillNoisyChannels ( )

◆ FillProfiles() [1/2]

void BmnDecoder::FillProfiles ( )

◆ FillProfiles() [2/2]

void BmnDecoder::FillProfiles ( )

◆ Finalize() [1/2]

◆ Finalize() [2/2]

BmnStatus BmnDecoder::Finalize ( )

◆ GetBmnSetup() [1/2]

BmnSetup BmnDecoder::GetBmnSetup ( ) const
inline

Definition at line 237 of file BmnDecoder.h.

◆ GetBmnSetup() [2/2]

BmnSetup BmnDecoder::GetBmnSetup ( ) const
inline

Definition at line 237 of file BmnDecoder.h.

◆ GetBoundaryRun() [1/2]

UInt_t BmnDecoder::GetBoundaryRun ( UInt_t  nSmpl)
inline

Definition at line 262 of file BmnDecoder.h.

◆ GetBoundaryRun() [2/2]

UInt_t BmnDecoder::GetBoundaryRun ( UInt_t  nSmpl)
inline

Definition at line 262 of file BmnDecoder.h.

◆ GetDigiArraysObject() [1/2]

DigiArrays BmnDecoder::GetDigiArraysObject ( )
inline

Definition at line 86 of file BmnDecoder.h.

References d, BmnTrigRaw2Digit::GetTrigArrays(), and DigiArrays::silicon.

Referenced by BmnOnlineDecoder::ProcessStream().

◆ GetDigiArraysObject() [2/2]

DigiArrays BmnDecoder::GetDigiArraysObject ( )
inline

Definition at line 86 of file BmnDecoder.h.

References d, BmnTrigRaw2Digit::GetTrigArrays(), and DigiArrays::silicon.

◆ GetDigiFileName() [1/2]

TString BmnDecoder::GetDigiFileName ( )
inline

Definition at line 274 of file BmnDecoder.h.

◆ GetDigiFileName() [2/2]

TString BmnDecoder::GetDigiFileName ( )
inline

Definition at line 274 of file BmnDecoder.h.

◆ GetDigiTree() [1/2]

TTree * BmnDecoder::GetDigiTree ( )
inline

Definition at line 118 of file BmnDecoder.h.

◆ GetDigiTree() [2/2]

TTree * BmnDecoder::GetDigiTree ( )
inline

Definition at line 118 of file BmnDecoder.h.

◆ GetECALMapper() [1/2]

BmnECALRaw2Digit * BmnDecoder::GetECALMapper ( )
inline

Definition at line 158 of file BmnDecoder.h.

◆ GetECALMapper() [2/2]

BmnECALRaw2Digit * BmnDecoder::GetECALMapper ( )
inline

Definition at line 158 of file BmnDecoder.h.

◆ GetEventId() [1/2]

UInt_t BmnDecoder::GetEventId ( ) const
inline

Definition at line 138 of file BmnDecoder.h.

Referenced by BmnRawDataDecoder::GetEventId().

◆ GetEventId() [2/2]

UInt_t BmnDecoder::GetEventId ( ) const
inline

Definition at line 138 of file BmnDecoder.h.

◆ GetEvForPedestals() [1/2]

UInt_t BmnDecoder::GetEvForPedestals ( )
inline

Definition at line 233 of file BmnDecoder.h.

◆ GetEvForPedestals() [2/2]

UInt_t BmnDecoder::GetEvForPedestals ( )
inline

Definition at line 233 of file BmnDecoder.h.

◆ GetFHCalMapper() [1/2]

BmnFHCalRaw2Digit * BmnDecoder::GetFHCalMapper ( )
inline

Definition at line 150 of file BmnDecoder.h.

◆ GetFHCalMapper() [2/2]

BmnFHCalRaw2Digit * BmnDecoder::GetFHCalMapper ( )
inline

Definition at line 150 of file BmnDecoder.h.

◆ GetForwardMode() [1/2]

bool BmnDecoder::GetForwardMode ( ) const
inline

Definition at line 260 of file BmnDecoder.h.

◆ GetForwardMode() [2/2]

bool BmnDecoder::GetForwardMode ( ) const
inline

Definition at line 260 of file BmnDecoder.h.

◆ GetHgndMapper() [1/2]

BmnHgndRaw2Digit * BmnDecoder::GetHgndMapper ( )
inline

Definition at line 156 of file BmnDecoder.h.

◆ GetHgndMapper() [2/2]

BmnHgndRaw2Digit * BmnDecoder::GetHgndMapper ( )
inline

Definition at line 156 of file BmnDecoder.h.

◆ GetHodoMapper() [1/2]

BmnHodoRaw2Digit * BmnDecoder::GetHodoMapper ( )
inline

Definition at line 152 of file BmnDecoder.h.

◆ GetHodoMapper() [2/2]

BmnHodoRaw2Digit * BmnDecoder::GetHodoMapper ( )
inline

Definition at line 152 of file BmnDecoder.h.

◆ GetMapper() [1/2]

void * BmnDecoder::GetMapper ( DetectorId  id)

Definition at line 1587 of file BmnDecoder.cxx.

References kBC, kCSC, kFHCAL, kGEM, kHGND, kHODO, kNDET, kSCWALL, kSiBT, kSILICON, kTOF1, kTOF701, and kVSP.

◆ GetMapper() [2/2]

void * BmnDecoder::GetMapper ( DetectorId  id)

◆ GetNdetMapper() [1/2]

BmnNdetRaw2Digit * BmnDecoder::GetNdetMapper ( )
inline

Definition at line 154 of file BmnDecoder.h.

◆ GetNdetMapper() [2/2]

BmnNdetRaw2Digit * BmnDecoder::GetNdetMapper ( )
inline

Definition at line 154 of file BmnDecoder.h.

◆ GetNevents() [1/2]

UInt_t BmnDecoder::GetNevents ( ) const
inline

Definition at line 136 of file BmnDecoder.h.

◆ GetNevents() [2/2]

UInt_t BmnDecoder::GetNevents ( ) const
inline

Definition at line 136 of file BmnDecoder.h.

◆ GetPeriodId() [1/2]

UInt_t BmnDecoder::GetPeriodId ( ) const
inline

Definition at line 134 of file BmnDecoder.h.

◆ GetPeriodId() [2/2]

UInt_t BmnDecoder::GetPeriodId ( ) const
inline

Definition at line 134 of file BmnDecoder.h.

◆ GetRootFileName() [1/2]

TString BmnDecoder::GetRootFileName ( )
inline

Definition at line 227 of file BmnDecoder.h.

◆ GetRootFileName() [2/2]

TString BmnDecoder::GetRootFileName ( )
inline

Definition at line 227 of file BmnDecoder.h.

◆ GetRunEndTime() [1/2]

TTimeStamp BmnDecoder::GetRunEndTime ( ) const
inline

Definition at line 142 of file BmnDecoder.h.

Referenced by BmnRawDataDecoder::GetRunEndTime().

◆ GetRunEndTime() [2/2]

TTimeStamp BmnDecoder::GetRunEndTime ( ) const
inline

Definition at line 142 of file BmnDecoder.h.

◆ GetRunId() [1/2]

UInt_t BmnDecoder::GetRunId ( ) const
inline

Definition at line 132 of file BmnDecoder.h.

◆ GetRunId() [2/2]

UInt_t BmnDecoder::GetRunId ( ) const
inline

Definition at line 132 of file BmnDecoder.h.

◆ GetRunIdFromFile() [1/2]

Int_t BmnDecoder::GetRunIdFromFile ( TString  name)

Definition at line 1480 of file BmnDecoder.cxx.

◆ GetRunIdFromFile() [2/2]

Int_t BmnDecoder::GetRunIdFromFile ( TString  name)

◆ GetRunStartTime() [1/2]

TTimeStamp BmnDecoder::GetRunStartTime ( ) const
inline

Definition at line 140 of file BmnDecoder.h.

Referenced by BmnRawDataDecoder::GetRunStartTime().

◆ GetRunStartTime() [2/2]

TTimeStamp BmnDecoder::GetRunStartTime ( ) const
inline

Definition at line 140 of file BmnDecoder.h.

◆ GetSaveOutput() [1/2]

bool BmnDecoder::GetSaveOutput ( ) const
inline

Definition at line 249 of file BmnDecoder.h.

◆ GetSaveOutput() [2/2]

bool BmnDecoder::GetSaveOutput ( ) const
inline

Definition at line 249 of file BmnDecoder.h.

◆ GetScWallMapper() [1/2]

BmnScWallRaw2Digit * BmnDecoder::GetScWallMapper ( )
inline

Definition at line 148 of file BmnDecoder.h.

◆ GetScWallMapper() [2/2]

BmnScWallRaw2Digit * BmnDecoder::GetScWallMapper ( )
inline

Definition at line 148 of file BmnDecoder.h.

◆ GetSubNameAfterRunId() [1/2]

TString BmnDecoder::GetSubNameAfterRunId ( TString  name)

Definition at line 1559 of file BmnDecoder.cxx.

◆ GetSubNameAfterRunId() [2/2]

TString BmnDecoder::GetSubNameAfterRunId ( TString  name)

◆ GetTaskMode() [1/2]

bool BmnDecoder::GetTaskMode ( ) const
inline

Definition at line 253 of file BmnDecoder.h.

◆ GetTaskMode() [2/2]

bool BmnDecoder::GetTaskMode ( ) const
inline

Definition at line 253 of file BmnDecoder.h.

◆ GetTimeShifts() [1/2]

unordered_map< UInt_t, Long64_t > BmnDecoder::GetTimeShifts ( )
inline

Definition at line 130 of file BmnDecoder.h.

◆ GetTimeShifts() [2/2]

unordered_map< UInt_t, Long64_t > BmnDecoder::GetTimeShifts ( )
inline

Definition at line 130 of file BmnDecoder.h.

◆ GetUseCalibFile() [1/2]

bool BmnDecoder::GetUseCalibFile ( ) const
inline

Definition at line 245 of file BmnDecoder.h.

◆ GetUseCalibFile() [2/2]

bool BmnDecoder::GetUseCalibFile ( ) const
inline

Definition at line 245 of file BmnDecoder.h.

◆ GetVerbose() [1/2]

Int_t BmnDecoder::GetVerbose ( ) const
inline

Definition at line 241 of file BmnDecoder.h.

◆ GetVerbose() [2/2]

Int_t BmnDecoder::GetVerbose ( ) const
inline

Definition at line 241 of file BmnDecoder.h.

◆ GetZDCMapper() [1/2]

BmnZDCRaw2Digit * BmnDecoder::GetZDCMapper ( )
inline

Definition at line 146 of file BmnDecoder.h.

◆ GetZDCMapper() [2/2]

BmnZDCRaw2Digit * BmnDecoder::GetZDCMapper ( )
inline

Definition at line 146 of file BmnDecoder.h.

◆ Init() [1/2]

InitStatus BmnDecoder::Init ( )

Definition at line 272 of file BmnDecoder.cxx.

References AssignInputs(), ConfigureStripMappers(), and InitMappers().

◆ Init() [2/2]

InitStatus BmnDecoder::Init ( )

◆ InitDecoder() [1/2]

BmnStatus BmnDecoder::InitDecoder ( )

◆ InitDecoder() [2/2]

BmnStatus BmnDecoder::InitDecoder ( )

◆ InitMappers() [1/2]

◆ InitMappers() [2/2]

void BmnDecoder::InitMappers ( std::function< void(TString, TObject *)>  branch_reg_fun)

◆ PreInitOffline() [1/2]

BmnStatus BmnDecoder::PreInitOffline ( )

Definition at line 317 of file BmnDecoder.cxx.

References ANSI_COLOR_BLUE, ANSI_COLOR_RESET, AssignInputs(), kBMNERROR, and kBMNSUCCESS.

Referenced by DecodeDataToDigi().

◆ PreInitOffline() [2/2]

BmnStatus BmnDecoder::PreInitOffline ( )

◆ RecalculatePedestals() [1/2]

void BmnDecoder::RecalculatePedestals ( )

◆ RecalculatePedestals() [2/2]

void BmnDecoder::RecalculatePedestals ( )

◆ ReInit() [1/2]

InitStatus BmnDecoder::ReInit ( )

Definition at line 305 of file BmnDecoder.cxx.

◆ ReInit() [2/2]

InitStatus BmnDecoder::ReInit ( )

◆ SaveAdcQa() [1/2]

void BmnDecoder::SaveAdcQa ( )

Definition at line 1217 of file BmnDecoder.cxx.

References BmnAdcQA::SaveHists().

Referenced by DecodeOffline().

◆ SaveAdcQa() [2/2]

void BmnDecoder::SaveAdcQa ( )

◆ SetApplyThreshold() [1/2]

void BmnDecoder::SetApplyThreshold ( bool  b)
inline

Definition at line 128 of file BmnDecoder.h.

◆ SetApplyThreshold() [2/2]

void BmnDecoder::SetApplyThreshold ( bool  b)
inline

Definition at line 128 of file BmnDecoder.h.

◆ SetBmnSetup() [1/2]

void BmnDecoder::SetBmnSetup ( BmnSetup  v)
inline

Definition at line 235 of file BmnDecoder.h.

References v.

Referenced by BmnRawDataDecoder::CreateDecoder().

◆ SetBmnSetup() [2/2]

void BmnDecoder::SetBmnSetup ( BmnSetup  v)
inline

Definition at line 235 of file BmnDecoder.h.

References v.

◆ SetCSCMapping() [1/2]

void BmnDecoder::SetCSCMapping ( TString  map)
inline

Definition at line 166 of file BmnDecoder.h.

◆ SetCSCMapping() [2/2]

void BmnDecoder::SetCSCMapping ( TString  map)
inline

Definition at line 166 of file BmnDecoder.h.

◆ SetDchMapping() [1/2]

void BmnDecoder::SetDchMapping ( TString  map)
inline

Definition at line 170 of file BmnDecoder.h.

◆ SetDchMapping() [2/2]

void BmnDecoder::SetDchMapping ( TString  map)
inline

Definition at line 170 of file BmnDecoder.h.

◆ SetDecoderConfigFileName() [1/2]

void BmnDecoder::SetDecoderConfigFileName ( string  FileName)
inline

◆ SetDecoderConfigFileName() [2/2]

void BmnDecoder::SetDecoderConfigFileName ( string  FileName)
inline

Definition at line 276 of file BmnDecoder.h.

◆ SetDetectorSetup() [1/2]

void BmnDecoder::SetDetectorSetup ( std::map< DetectorId, bool >  setup)
inline

◆ SetDetectorSetup() [2/2]

void BmnDecoder::SetDetectorSetup ( std::map< DetectorId, bool >  setup)
inline

Definition at line 229 of file BmnDecoder.h.

◆ SetDigiRootFile() [1/2]

void BmnDecoder::SetDigiRootFile ( TString  filename)
inline

Definition at line 272 of file BmnDecoder.h.

◆ SetDigiRootFile() [2/2]

void BmnDecoder::SetDigiRootFile ( TString  filename)
inline

Definition at line 272 of file BmnDecoder.h.

◆ SetECALCalibration() [1/2]

void BmnDecoder::SetECALCalibration ( TString  cal)
inline

Definition at line 223 of file BmnDecoder.h.

◆ SetECALCalibration() [2/2]

void BmnDecoder::SetECALCalibration ( TString  cal)
inline

Definition at line 223 of file BmnDecoder.h.

◆ SetECALMapping() [1/2]

void BmnDecoder::SetECALMapping ( TString  map)
inline

Definition at line 221 of file BmnDecoder.h.

◆ SetECALMapping() [2/2]

void BmnDecoder::SetECALMapping ( TString  map)
inline

Definition at line 221 of file BmnDecoder.h.

◆ SetEvForPedestals() [1/2]

void BmnDecoder::SetEvForPedestals ( UInt_t  v)
inline

Definition at line 231 of file BmnDecoder.h.

References v.

Referenced by BmnRawDataDecoder::SetEvForPedestals().

◆ SetEvForPedestals() [2/2]

void BmnDecoder::SetEvForPedestals ( UInt_t  v)
inline

Definition at line 231 of file BmnDecoder.h.

References v.

◆ SetFHCalCalibration() [1/2]

void BmnDecoder::SetFHCalCalibration ( TString  cal)
inline

Definition at line 207 of file BmnDecoder.h.

◆ SetFHCalCalibration() [2/2]

void BmnDecoder::SetFHCalCalibration ( TString  cal)
inline

Definition at line 207 of file BmnDecoder.h.

◆ SetFHCalMapping() [1/2]

void BmnDecoder::SetFHCalMapping ( TString  map)
inline

Definition at line 205 of file BmnDecoder.h.

◆ SetFHCalMapping() [2/2]

void BmnDecoder::SetFHCalMapping ( TString  map)
inline

Definition at line 205 of file BmnDecoder.h.

◆ SetForwardMode() [1/2]

void BmnDecoder::SetForwardMode ( bool  v = true)
inline

Definition at line 258 of file BmnDecoder.h.

References v.

Referenced by BmnRawDataDecoder::CreateDecoder(), and BmnRawDataDecoder::SetForwardMode().

◆ SetForwardMode() [2/2]

void BmnDecoder::SetForwardMode ( bool  v = true)
inline

Definition at line 258 of file BmnDecoder.h.

References v.

◆ SetGemMapping() [1/2]

void BmnDecoder::SetGemMapping ( TString  map)
inline

Definition at line 174 of file BmnDecoder.h.

◆ SetGemMapping() [2/2]

void BmnDecoder::SetGemMapping ( TString  map)
inline

Definition at line 174 of file BmnDecoder.h.

◆ SetHgndCalibration() [1/2]

void BmnDecoder::SetHgndCalibration ( TString  cal)
inline

Definition at line 219 of file BmnDecoder.h.

◆ SetHgndCalibration() [2/2]

void BmnDecoder::SetHgndCalibration ( TString  cal)
inline

Definition at line 219 of file BmnDecoder.h.

◆ SetHgndMapping() [1/2]

void BmnDecoder::SetHgndMapping ( TString  map)
inline

Definition at line 217 of file BmnDecoder.h.

◆ SetHgndMapping() [2/2]

void BmnDecoder::SetHgndMapping ( TString  map)
inline

Definition at line 217 of file BmnDecoder.h.

◆ SetHodoCalibration() [1/2]

void BmnDecoder::SetHodoCalibration ( TString  cal)
inline

Definition at line 211 of file BmnDecoder.h.

◆ SetHodoCalibration() [2/2]

void BmnDecoder::SetHodoCalibration ( TString  cal)
inline

Definition at line 211 of file BmnDecoder.h.

◆ SetHodoMapping() [1/2]

void BmnDecoder::SetHodoMapping ( TString  map)
inline

Definition at line 209 of file BmnDecoder.h.

◆ SetHodoMapping() [2/2]

void BmnDecoder::SetHodoMapping ( TString  map)
inline

Definition at line 209 of file BmnDecoder.h.

◆ SetMSCMapping() [1/2]

void BmnDecoder::SetMSCMapping ( TString  map)
inline

Definition at line 225 of file BmnDecoder.h.

◆ SetMSCMapping() [2/2]

void BmnDecoder::SetMSCMapping ( TString  map)
inline

Definition at line 225 of file BmnDecoder.h.

◆ SetMwpcMapping() [1/2]

void BmnDecoder::SetMwpcMapping ( TString  map)
inline

Definition at line 172 of file BmnDecoder.h.

◆ SetMwpcMapping() [2/2]

void BmnDecoder::SetMwpcMapping ( TString  map)
inline

Definition at line 172 of file BmnDecoder.h.

◆ SetNdetCalibration() [1/2]

void BmnDecoder::SetNdetCalibration ( TString  cal)
inline

Definition at line 215 of file BmnDecoder.h.

◆ SetNdetCalibration() [2/2]

void BmnDecoder::SetNdetCalibration ( TString  cal)
inline

Definition at line 215 of file BmnDecoder.h.

◆ SetNdetMapping() [1/2]

void BmnDecoder::SetNdetMapping ( TString  map)
inline

Definition at line 213 of file BmnDecoder.h.

◆ SetNdetMapping() [2/2]

void BmnDecoder::SetNdetMapping ( TString  map)
inline

Definition at line 213 of file BmnDecoder.h.

◆ SetPeriodId() [1/2]

void BmnDecoder::SetPeriodId ( UInt_t  v)
inline

Definition at line 126 of file BmnDecoder.h.

References v.

Referenced by BmnRawDataDecoder::SetPeriodId().

◆ SetPeriodId() [2/2]

void BmnDecoder::SetPeriodId ( UInt_t  v)
inline

Definition at line 126 of file BmnDecoder.h.

References v.

◆ SetRawRootFile() [1/2]

void BmnDecoder::SetRawRootFile ( TString  filename)
inline

Definition at line 270 of file BmnDecoder.h.

◆ SetRawRootFile() [2/2]

void BmnDecoder::SetRawRootFile ( TString  filename)
inline

Definition at line 270 of file BmnDecoder.h.

◆ SetRawTree() [1/2]

void BmnDecoder::SetRawTree ( TTree *  tree)
inline

Definition at line 114 of file BmnDecoder.h.

Referenced by BmnRawDataDecoder::ConnectForward().

◆ SetRawTree() [2/2]

void BmnDecoder::SetRawTree ( TTree *  tree)
inline

Definition at line 114 of file BmnDecoder.h.

◆ SetRawTreeSpills() [1/2]

void BmnDecoder::SetRawTreeSpills ( TTree *  tree)
inline

Definition at line 116 of file BmnDecoder.h.

Referenced by BmnRawDataDecoder::ConnectForward().

◆ SetRawTreeSpills() [2/2]

void BmnDecoder::SetRawTreeSpills ( TTree *  tree)
inline

Definition at line 116 of file BmnDecoder.h.

◆ SetRunId() [1/2]

void BmnDecoder::SetRunId ( UInt_t  v)
inline

Definition at line 124 of file BmnDecoder.h.

References v.

Referenced by BmnRawDataDecoder::CreateDecoder(), and BmnRawDataDecoder::SetRunId().

◆ SetRunId() [2/2]

void BmnDecoder::SetRunId ( UInt_t  v)
inline

Definition at line 124 of file BmnDecoder.h.

References v.

◆ SetSaveOutput() [1/2]

void BmnDecoder::SetSaveOutput ( bool  v)
inline

Definition at line 247 of file BmnDecoder.h.

References v.

◆ SetSaveOutput() [2/2]

void BmnDecoder::SetSaveOutput ( bool  v)
inline

Definition at line 247 of file BmnDecoder.h.

References v.

◆ SetScWallCalibration() [1/2]

void BmnDecoder::SetScWallCalibration ( TString  cal)
inline

Definition at line 203 of file BmnDecoder.h.

◆ SetScWallCalibration() [2/2]

void BmnDecoder::SetScWallCalibration ( TString  cal)
inline

Definition at line 203 of file BmnDecoder.h.

◆ SetScWallMapping() [1/2]

void BmnDecoder::SetScWallMapping ( TString  map)
inline

Definition at line 201 of file BmnDecoder.h.

◆ SetScWallMapping() [2/2]

void BmnDecoder::SetScWallMapping ( TString  map)
inline

Definition at line 201 of file BmnDecoder.h.

◆ SetSiBTMapping() [1/2]

void BmnDecoder::SetSiBTMapping ( TString  map)
inline

Definition at line 164 of file BmnDecoder.h.

◆ SetSiBTMapping() [2/2]

void BmnDecoder::SetSiBTMapping ( TString  map)
inline

Definition at line 164 of file BmnDecoder.h.

◆ SetSiliconMapping() [1/2]

void BmnDecoder::SetSiliconMapping ( TString  map)
inline

Definition at line 162 of file BmnDecoder.h.

◆ SetSiliconMapping() [2/2]

void BmnDecoder::SetSiliconMapping ( TString  map)
inline

Definition at line 162 of file BmnDecoder.h.

◆ SetTaskMode() [1/2]

void BmnDecoder::SetTaskMode ( bool  v = true)
inline

Definition at line 251 of file BmnDecoder.h.

References v.

Referenced by BmnRawDataDecoder::SetTaskMode().

◆ SetTaskMode() [2/2]

void BmnDecoder::SetTaskMode ( bool  v = true)
inline

Definition at line 251 of file BmnDecoder.h.

References v.

◆ SetTof400Mapping() [1/2]

void BmnDecoder::SetTof400Mapping ( TString  PlaceMap,
TString  StripMap 
)
inline

Definition at line 178 of file BmnDecoder.h.

◆ SetTof400Mapping() [2/2]

void BmnDecoder::SetTof400Mapping ( TString  PlaceMap,
TString  StripMap 
)
inline

Definition at line 178 of file BmnDecoder.h.

◆ SetTof700Geom() [1/2]

void BmnDecoder::SetTof700Geom ( TString  geom)
inline

Definition at line 192 of file BmnDecoder.h.

◆ SetTof700Geom() [2/2]

void BmnDecoder::SetTof700Geom ( TString  geom)
inline

Definition at line 192 of file BmnDecoder.h.

◆ SetTof700Mapping() [1/2]

void BmnDecoder::SetTof700Mapping ( TString  map)
inline

Definition at line 190 of file BmnDecoder.h.

◆ SetTof700Mapping() [2/2]

void BmnDecoder::SetTof700Mapping ( TString  map)
inline

Definition at line 190 of file BmnDecoder.h.

◆ SetTOF700ReferenceChamber() [1/2]

void BmnDecoder::SetTOF700ReferenceChamber ( Int_t  n)
inline

Definition at line 122 of file BmnDecoder.h.

◆ SetTOF700ReferenceChamber() [2/2]

void BmnDecoder::SetTOF700ReferenceChamber ( Int_t  n)
inline

Definition at line 122 of file BmnDecoder.h.

◆ SetTOF700ReferenceRun() [1/2]

void BmnDecoder::SetTOF700ReferenceRun ( Int_t  n)
inline

Definition at line 120 of file BmnDecoder.h.

◆ SetTOF700ReferenceRun() [2/2]

void BmnDecoder::SetTOF700ReferenceRun ( Int_t  n)
inline

Definition at line 120 of file BmnDecoder.h.

◆ SetTof701Mapping() [1/2]

void BmnDecoder::SetTof701Mapping ( TString  PlaceMap,
TString  StripMap 
)
inline

Definition at line 184 of file BmnDecoder.h.

◆ SetTof701Mapping() [2/2]

void BmnDecoder::SetTof701Mapping ( TString  PlaceMap,
TString  StripMap 
)
inline

Definition at line 184 of file BmnDecoder.h.

◆ SetTrigChannelMapping() [1/2]

void BmnDecoder::SetTrigChannelMapping ( TString  file)
inline

Definition at line 168 of file BmnDecoder.h.

◆ SetTrigChannelMapping() [2/2]

void BmnDecoder::SetTrigChannelMapping ( TString  file)
inline

Definition at line 168 of file BmnDecoder.h.

◆ SetTrigPlaceMapping() [1/2]

void BmnDecoder::SetTrigPlaceMapping ( TString  map)
inline

Definition at line 160 of file BmnDecoder.h.

◆ SetTrigPlaceMapping() [2/2]

void BmnDecoder::SetTrigPlaceMapping ( TString  map)
inline

Definition at line 160 of file BmnDecoder.h.

◆ SetUseCalibFile() [1/2]

void BmnDecoder::SetUseCalibFile ( bool  v)
inline

Definition at line 243 of file BmnDecoder.h.

References v.

◆ SetUseCalibFile() [2/2]

void BmnDecoder::SetUseCalibFile ( bool  v)
inline

Definition at line 243 of file BmnDecoder.h.

References v.

◆ SetVerbose() [1/2]

void BmnDecoder::SetVerbose ( Int_t  v)
inline

Definition at line 239 of file BmnDecoder.h.

References v.

Referenced by BmnRawDataDecoder::CreateDecoder().

◆ SetVerbose() [2/2]

void BmnDecoder::SetVerbose ( Int_t  v)
inline

Definition at line 239 of file BmnDecoder.h.

References v.

◆ SetVspMapping() [1/2]

void BmnDecoder::SetVspMapping ( TString  map)
inline

Definition at line 176 of file BmnDecoder.h.

◆ SetVspMapping() [2/2]

void BmnDecoder::SetVspMapping ( TString  map)
inline

Definition at line 176 of file BmnDecoder.h.

◆ SetZDCCalibration() [1/2]

void BmnDecoder::SetZDCCalibration ( TString  cal)
inline

Definition at line 199 of file BmnDecoder.h.

◆ SetZDCCalibration() [2/2]

void BmnDecoder::SetZDCCalibration ( TString  cal)
inline

Definition at line 199 of file BmnDecoder.h.

◆ SetZDCMapping() [1/2]

void BmnDecoder::SetZDCMapping ( TString  map)
inline

Definition at line 197 of file BmnDecoder.h.

◆ SetZDCMapping() [2/2]

void BmnDecoder::SetZDCMapping ( TString  map)
inline

Definition at line 197 of file BmnDecoder.h.


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