|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
class for TQDC data including waveform can be initialized both from an std::vector and raw pointer to an array More...
#include <BmnTrigWaveDigit.h>
Public Member Functions | |
| BmnTrigWaveDigit () | |
| BmnTrigWaveDigit (uint16_t iMod, vector< int16_t > &&iValue, Double_t trigTimestamp, Double_t adcTimestamp, Double_t time=0) | |
| BmnTrigWaveDigit (uint16_t iMod, int16_t *iValue, uint32_t nVals, Double_t trigTimestamp, Double_t adcTimestamp, Double_t time=0) | |
| uint16_t | GetMod () const |
| size_t | GetNSamples () const |
| int32_t | GetIntegral (size_t start=0, size_t stop=SIZE_MAX) const |
| int16_t | GetPeak (size_t start=0, size_t stop=SIZE_MAX) const |
| vector< int16_t > & | GetValue () |
| Double_t | GetAdcTimestamp () const |
| Double_t | GetTrigTimestamp () const |
| Double_t | GetTime () const |
| vector< Double_t > & | TdcVector () |
| virtual | ~BmnTrigWaveDigit () |
| BmnTrigWaveDigit () | |
| BmnTrigWaveDigit (uint16_t iMod, vector< int16_t > &&iValue, Double_t trigTimestamp, Double_t adcTimestamp, Double_t time=0) | |
| BmnTrigWaveDigit (uint16_t iMod, int16_t *iValue, uint32_t nVals, Double_t trigTimestamp, Double_t adcTimestamp, Double_t time=0) | |
| uint16_t | GetMod () const |
| size_t | GetNSamples () const |
| int32_t | GetIntegral (size_t start=0, size_t stop=SIZE_MAX) const |
| int16_t | GetPeak (size_t start=0, size_t stop=SIZE_MAX) const |
| vector< int16_t > & | GetValue () |
| Double_t | GetAdcTimestamp () const |
| Double_t | GetTrigTimestamp () const |
| Double_t | GetTime () const |
| vector< Double_t > & | TdcVector () |
| virtual | ~BmnTrigWaveDigit () |
| Public Member Functions inherited from TObject | |
| TObject () | |
| TObject (const TObject &object) | |
| virtual | ~TObject () |
| void | AbstractMethod (const char *method) const |
| virtual void | AppendPad (Option_t *option="") |
| virtual void | Browse (TBrowser *b) |
| ULong_t | CheckedHash () |
| virtual const char * | ClassName () const |
| virtual void | Clear (Option_t *="") |
| virtual TObject * | Clone (const char *newname="") const |
| virtual Int_t | Compare (const TObject *obj) const |
| virtual void | Copy (TObject &object) const |
| virtual void | Delete (Option_t *option="") |
| virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
| virtual void | Draw (Option_t *option="") |
| virtual void | DrawClass () const |
| virtual TObject * | DrawClone (Option_t *option="") const |
| virtual void | Dump () const |
| virtual void | Error (const char *method, const char *msgfmt,...) const |
| virtual void | Execute (const char *method, const char *params, Int_t *error=nullptr) |
| virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr) |
| virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
| virtual void | Fatal (const char *method, const char *msgfmt,...) const |
| virtual TObject * | FindObject (const char *name) const |
| virtual TObject * | FindObject (const TObject *obj) const |
| virtual Option_t * | GetDrawOption () const |
| virtual const char * | GetIconName () const |
| virtual const char * | GetName () const |
| virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
| virtual Option_t * | GetOption () const |
| virtual const char * | GetTitle () const |
| virtual UInt_t | GetUniqueID () const |
| virtual Bool_t | HandleTimer (TTimer *timer) |
| virtual ULong_t | Hash () const |
| Bool_t | HasInconsistentHash () const |
| virtual void | Info (const char *method, const char *msgfmt,...) const |
| virtual Bool_t | InheritsFrom (const char *classname) const |
| virtual Bool_t | InheritsFrom (const TClass *cl) const |
| virtual void | Inspect () const |
| void | InvertBit (UInt_t f) |
| virtual TClass * | IsA () const |
| Bool_t | IsDestructed () const |
| virtual Bool_t | IsEqual (const TObject *obj) const |
| virtual Bool_t | IsFolder () const |
| R__ALWAYS_INLINE Bool_t | IsOnHeap () const |
| virtual Bool_t | IsSortable () const |
| R__ALWAYS_INLINE Bool_t | IsZombie () const |
| virtual void | ls (Option_t *option="") const |
| void | MayNotUse (const char *method) const |
| virtual Bool_t | Notify () |
| void | Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const |
| void | operator delete (void *ptr) |
| void | operator delete (void *ptr, void *vp) |
| void | operator delete[] (void *ptr) |
| void | operator delete[] (void *ptr, void *vp) |
| void * | operator new (size_t sz) |
| void * | operator new (size_t sz, void *vp) |
| void * | operator new[] (size_t sz) |
| void * | operator new[] (size_t sz, void *vp) |
| TObject & | operator= (const TObject &rhs) |
| virtual void | Paint (Option_t *option="") |
| virtual void | Pop () |
| virtual void | Print (Option_t *option="") const |
| virtual Int_t | Read (const char *name) |
| virtual void | RecursiveRemove (TObject *obj) |
| void | ResetBit (UInt_t f) |
| virtual void | SaveAs (const char *filename="", Option_t *option="") const |
| virtual void | SavePrimitive (std::ostream &out, Option_t *option="") |
| void | SetBit (UInt_t f) |
| void | SetBit (UInt_t f, Bool_t set) |
| virtual void | SetDrawOption (Option_t *option="") |
| virtual void | SetUniqueID (UInt_t uid) |
| virtual void | Streamer (TBuffer &) |
| void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
| virtual void | SysError (const char *method, const char *msgfmt,...) const |
| R__ALWAYS_INLINE Bool_t | TestBit (UInt_t f) const |
| Int_t | TestBits (UInt_t f) const |
| virtual void | UseCurrentStyle () |
| virtual void | Warning (const char *method, const char *msgfmt,...) const |
| virtual Int_t | Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) |
| virtual Int_t | Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const |
Protected Attributes | |
| uint16_t | fMod |
| uint32_t | fNsmpl |
| ROOT schema evolution does not work as stated in their manual So we have to hold old fields in order to transition from the old version. | |
| int16_t * | fValueI |
| vector< int16_t > | fValue |
| Double_t | fTrigTimestamp |
| Double_t | fAdcTimestamp |
| Double_t | fTime |
| vector< Double_t > | fTdcTimes |
| Protected Attributes inherited from TObject | |
| kOnlyPrepStep | |
Additional Inherited Members | |
| Public Types inherited from TObject | |
| enum | EDeprecatedStatusBits |
| enum | EStatusBits |
| Static Public Member Functions inherited from TObject | |
| static TClass * | Class () |
| static const char * | Class_Name () |
| static constexpr Version_t | Class_Version () |
| static const char * | DeclFileName () |
| static Longptr_t | GetDtorOnly () |
| static Bool_t | GetObjectStat () |
| static void | SetDtorOnly (void *obj) |
| static void | SetObjectStat (Bool_t stat) |
| Public Attributes inherited from TObject | |
| kIsOnHeap | |
| kNotDeleted | |
| kZombie | |
| kInconsistent | |
| kBitMask | |
| kSingleKey | |
| kOverwrite | |
| kWriteDelete | |
| kObjInCanvas | |
| kCanDelete | |
| kMustCleanup | |
| kIsReferenced | |
| kHasUUID | |
| kCannotPick | |
| kNoContextMenu | |
| kInvalidObject | |
| Protected Member Functions inherited from TObject | |
| virtual void | DoError (int level, const char *location, const char *fmt, va_list va) const |
| void | MakeZombie () |
| Static Protected Member Functions inherited from TObject | |
| static void | SavePrimitiveConstructor (std::ostream &out, TClass *cl, const char *variable_name, const char *constructor_agrs="", Bool_t empty_line=kTRUE) |
| static void | SavePrimitiveDraw (std::ostream &out, const char *variable_name, Option_t *option=nullptr) |
| static TString | SavePrimitiveVector (std::ostream &out, const char *prefix, Int_t len, Double_t *arr, Bool_t empty_line=kFALSE) |
Definition at line 15 of file BmnTrigWaveDigit.h.
| BmnTrigWaveDigit::BmnTrigWaveDigit | ( | ) |
Definition at line 3 of file BmnTrigWaveDigit.cxx.
References fAdcTimestamp, fMod, fNsmpl, fTime, fTrigTimestamp, fValue, and fValueI.
Referenced by ~BmnTrigWaveDigit().
| BmnTrigWaveDigit::BmnTrigWaveDigit | ( | uint16_t | iMod, |
| vector< int16_t > && | iValue, | ||
| Double_t | trigTimestamp, | ||
| Double_t | adcTimestamp, | ||
| Double_t | time = 0 ) |
| BmnTrigWaveDigit::BmnTrigWaveDigit | ( | uint16_t | iMod, |
| int16_t * | iValue, | ||
| uint32_t | nVals, | ||
| Double_t | trigTimestamp, | ||
| Double_t | adcTimestamp, | ||
| Double_t | time = 0 ) |
|
virtual |
Definition at line 42 of file BmnTrigWaveDigit.cxx.
References fValueI.
| BmnTrigWaveDigit::BmnTrigWaveDigit | ( | ) |
| BmnTrigWaveDigit::BmnTrigWaveDigit | ( | uint16_t | iMod, |
| vector< int16_t > && | iValue, | ||
| Double_t | trigTimestamp, | ||
| Double_t | adcTimestamp, | ||
| Double_t | time = 0 ) |
| BmnTrigWaveDigit::BmnTrigWaveDigit | ( | uint16_t | iMod, |
| int16_t * | iValue, | ||
| uint32_t | nVals, | ||
| Double_t | trigTimestamp, | ||
| Double_t | adcTimestamp, | ||
| Double_t | time = 0 ) |
|
virtual |
References BmnTrigWaveDigit(), fAdcTimestamp, fMod, fNsmpl, fTdcTimes, fTime, fTrigTimestamp, fValue, and fValueI.
|
inline |
Definition at line 69 of file BmnTrigWaveDigit.h.
References fAdcTimestamp.
|
inline |
Definition at line 69 of file BmnTrigWaveDigit.h.
References fAdcTimestamp.
|
inline |
Definition at line 42 of file BmnTrigWaveDigit.h.
Referenced by BmnFillTrigInfoDst::Exec(), BmnSRCTriggersCheck::Exec(), and BmnHistStat::FillFromDigi().
|
inline |
Definition at line 42 of file BmnTrigWaveDigit.h.
|
inline |
Definition at line 32 of file BmnTrigWaveDigit.h.
References fMod.
|
inline |
Definition at line 32 of file BmnTrigWaveDigit.h.
References fMod.
|
inline |
Definition at line 34 of file BmnTrigWaveDigit.h.
References fNsmpl, fValue, and fValueI.
Referenced by BmnFillTrigInfoDst::CalculateT0(), BmnEventSelector::GetPeak(), and BmnEventSelector::GetPeaks().
|
inline |
Definition at line 34 of file BmnTrigWaveDigit.h.
|
inline |
Definition at line 52 of file BmnTrigWaveDigit.h.
Referenced by BmnFillTrigInfoDst::Exec(), BmnHistStat::FillFromDigi(), BmnHistTrigger::FillFromDigi(), BmnEventSelector::GetPeak(), grabZ2(), and grabZ2OR().
|
inline |
Definition at line 52 of file BmnTrigWaveDigit.h.
|
inline |
Definition at line 73 of file BmnTrigWaveDigit.h.
References fTime.
|
inline |
Definition at line 73 of file BmnTrigWaveDigit.h.
References fTime.
|
inline |
Definition at line 71 of file BmnTrigWaveDigit.h.
References fTrigTimestamp.
|
inline |
Definition at line 71 of file BmnTrigWaveDigit.h.
References fTrigTimestamp.
|
inline |
Definition at line 67 of file BmnTrigWaveDigit.h.
References fValue.
Referenced by BmnFillTrigInfoDst::CalculateT0(), BmnTrigRaw2Digit::FillEvent(), BmnTriggerEfficiencyRun8::GetBC2Int(), and BmnTriggerEfficiencyRun8::IsFDTriggered().
|
inline |
Definition at line 67 of file BmnTrigWaveDigit.h.
References fValue.
|
inline |
Definition at line 75 of file BmnTrigWaveDigit.h.
References fTdcTimes.
Referenced by BmnFillTrigInfoDst::CalculateT0(), BmnTrigRaw2Digit::FillEvent(), BmnHistTrigger::FillFromDigi(), and BmnEventSelector::GetPeaks().
|
inline |
Definition at line 75 of file BmnTrigWaveDigit.h.
References fTdcTimes.
|
protected |
Definition at line 94 of file BmnTrigWaveDigit.h.
Referenced by BmnTrigWaveDigit(), ~BmnTrigWaveDigit(), and GetAdcTimestamp().
|
protected |
Definition at line 80 of file BmnTrigWaveDigit.h.
Referenced by BmnTrigWaveDigit(), ~BmnTrigWaveDigit(), and GetMod().
|
protected |
https://root.cern/manual/io/ even says it works automatically, actually it does not work neither automatically nor even by linkdef pragma read function if the fields are not present in the current version. And the custom Streamer method is impossible to make being called during object deserialization from a tree
Definition at line 90 of file BmnTrigWaveDigit.h.
Referenced by BmnTrigWaveDigit(), ~BmnTrigWaveDigit(), and GetNSamples().
|
protected |
Definition at line 96 of file BmnTrigWaveDigit.h.
Referenced by ~BmnTrigWaveDigit(), and TdcVector().
|
protected |
Definition at line 95 of file BmnTrigWaveDigit.h.
Referenced by BmnTrigWaveDigit(), ~BmnTrigWaveDigit(), and GetTime().
|
protected |
Definition at line 93 of file BmnTrigWaveDigit.h.
Referenced by BmnTrigWaveDigit(), ~BmnTrigWaveDigit(), and GetTrigTimestamp().
|
protected |
Definition at line 92 of file BmnTrigWaveDigit.h.
Referenced by BmnTrigWaveDigit(), ~BmnTrigWaveDigit(), GetIntegral(), GetNSamples(), GetPeak(), and GetValue().
|
protected |
Definition at line 91 of file BmnTrigWaveDigit.h.
Referenced by BmnTrigWaveDigit(), ~BmnTrigWaveDigit(), and GetNSamples().