ROOT logo
HYDRA - THE HADES ANALYSIS PACKAGE » (UNKNOWN) » HRich700Trb3Unpacker

class HRich700Trb3Unpacker: public HTrb3TdcUnpacker

_HADES_CLASS_DESCRIPTION


  HRich700Trb3Unpacker

  Class for unpacking TRB3 data and filling
    the Start2 Raw category

  Basic subevent decoding and eventual TDC corrections are
  performed by decode function in the base class
  see: /base/datasource/htrb3unpacker.h

  JoF (j.foertsch@uni-wuppertal.de) updated 18-Dec-2018

Function Members (Methods)

public:
HRich700Trb3Unpacker(vector<UInt_t>& ids)
HRich700Trb3Unpacker(const HRich700Trb3Unpacker&)
virtual~HRich700Trb3Unpacker()
voidTObject::AbstractMethod(const char* method) const
Int_tHTrb3TdcUnpacker::addTDC(UInt_t trbaddr, size_t numchannels = maxchan)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
Bool_tHTrb3TdcUnpacker::correctRefTimeCh(UInt_t ch = 0)
Int_tHldUnpack::decodeTrbNet(UInt_t* data, Int_t subEventId = 0)
virtual voidTObject::Delete(Option_t* option = "")MENU
voiddisableTimeRef()
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual Int_texecute()
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual Bool_tHldUnpack::finalize()
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
HTrb3TdcUnpacker::TDC*HTrb3TdcUnpacker::getActiveTDC(UInt_t n)
Int_tHTrb3Unpacker::getDebugFlag()
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
HTrb3TdcUnpacker::TDC*HTrb3TdcUnpacker::getFilledTDC(UInt_t n)
HldEvt*HldUnpack::getHldEvt()
virtual const char*TObject::GetIconName() const
virtual const char*TObject::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
HldSubEvt**HldUnpack::getpSubEvt()
virtual Int_tHTrb3Unpacker::getSubEvtId()
vector<UInt_t>&HTrb3Unpacker::getSubEvtIds()
HTrb3TdcUnpacker::TDC*HTrb3TdcUnpacker::getTDC(UInt_t n)
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual Bool_tinit()
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
Bool_tHTrb3Unpacker::isQuietMode() const
Bool_tHTrb3Unpacker::isReportCritical() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
UInt_tHTrb3TdcUnpacker::numActiveTDC() const
UInt_tHTrb3TdcUnpacker::numFilledTDC() const
UInt_tHTrb3TdcUnpacker::numTDC() const
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
HRich700Trb3Unpacker&operator=(const HRich700Trb3Unpacker&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTObject::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
virtual Bool_treinit()
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
Bool_tHTrb3TdcUnpacker::scanTdcData(UInt_t trbaddr, UInt_t* data, UInt_t datalen)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidHTrb3TdcUnpacker::setCalibrationSource(UInt_t s)
voidHldUnpack::setCategory(HCategory* aCat)
voidHTrb3Unpacker::setCTSId(UInt_t id)
voidHTrb3Unpacker::setDebugFlag(Int_t db)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidsetFillCal(Bool_t doFill)
voidHldUnpack::setHldEvt(HldEvt* evt)
voidHTrb3Unpacker::setHUBId(UInt_t id)
voidHTrb3TdcUnpacker::setMaxAddress(UInt_t trbnetaddress)
voidHTrb3TdcUnpacker::setMinAddress(UInt_t trbnetaddress)
static voidTObject::SetObjectStat(Bool_t stat)
voidHTrb3Unpacker::setQuietMode()
voidHTrb3Unpacker::setReportCritical()
virtual voidTObject::SetUniqueID(UInt_t uid)
voidsetUseTimeCuts(Bool_t doCut)
voidsetUseToTCuts(Bool_t doCut)
virtual voidShowMembers(TMemberInspector&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
Int_taddCalHitCharge(Int_t sector, Int_t col, Int_t row, Float_t time, Float_t tot)
voidHTrb3TdcUnpacker::addCalpar(UInt_t id1, HTrb3CalparTdc*)
Int_taddRawHit(Double_t t_leading, Double_t t_trailing, Double_t tot, Int_t sec, Int_t col, Int_t row, UInt_t flag = 0b11)
virtual voidHTrb3TdcUnpacker::clearAll()
Bool_tHTrb3Unpacker::decode()
virtual Bool_tHTrb3TdcUnpacker::decodeData(UInt_t trbaddr, UInt_t n, UInt_t* data)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
UInt_tHTrb3Unpacker::getCurrentSubEvtId()
Int_tHTrb3TdcUnpacker::getEventSeqNumber()
voidTObject::MakeZombie()
voidHTrb3Unpacker::setCurrentSubEvtId(UInt_t id)

Data Members

public:
static const size_tHTrb3TdcUnpacker::maxchan
protected:
HTrb3Calpar*HTrb3TdcUnpacker::calpar! TDC calibration parameters
Int_tHTrb3Unpacker::debugFlag! allows to print subevent information to the STDOUT
HCategory*fCalCatcategory for calibrated event data, output of unpacker
HLocationfCalLoc< current location of calibrated object (sector, row, column)
map<UInt_t,HTrb3CalparTdc*>HTrb3TdcUnpacker::fCalpars
UInt_tHTrb3Unpacker::fCurrentsubEvtId! current subevent id taken from the data stream
HRich700DigiPar*fDigiPar
Bool_tfDoTimeCutuse time cuts time (default kFALSE)
Bool_tfDoToTCutuse time cuts on ToT (default kTRUE)
Bool_tfFillCalfill Cal (default kFALSE)
vector<Int_t>HTrb3TdcUnpacker::fFilledTDCs! if USE_FILLED_TDC is defined this list contains TDC with data
static Bool_tfHasPrintedTDC
HRich700Trb3Lookup*fLookupTRB3 lookup table
UInt_tHTrb3TdcUnpacker::fMaxAddress!< for check of address range when autoregistration of tdcs
UInt_tHTrb3TdcUnpacker::fMinAddress!< for check of address range when autoregistration of tdcs
HLocationfRawLoc< current location of raw pixel object (pmt,pixel)
vector<TDC>HTrb3TdcUnpacker::fTDCs!
map<UInt_t,Int_t>HTrb3TdcUnpacker::fTDCsMap!
HRich700ThresholdPar*fThresholdsTRB3 lookup table
Bool_tfTimeRefuse reference time ?
Bool_tHTrb3TdcUnpacker::fUseTDCFromLookup! kTRUE : list of TDC build from lookup table, kFALSE : autoregister mode
vector<Int_t>HTrb3TdcUnpacker::factiveTDCs! list of TDCs found in the data stream
vector<UInt_t>HTrb3Unpacker::fsubEvtIds! list of subevent id
vector<HldSubEvt>HTrb3Unpacker::fsubEvts! list of subevent id
Int_tHTrb3TdcUnpacker::nCalSrc! 0 -auto, 1 - no calibration, 2 - calpar, 3 - DAQ
HldEvt*HldUnpack::pEvt!
HCategory*HldUnpack::pRawCat! pointer to category where data will be stored;
HldSubEvt*HldUnpack::pSubEvt! pointer to subevent where data are read from
Bool_tHTrb3Unpacker::quietMode! do not print errors!
Bool_tHTrb3Unpacker::reportCritical! report critical errors!
HTrbNetUnpacker*HldUnpack::trbNetUnpacker! Poinetr to unpacker for TRB Net data structures
UInt_tHTrb3Unpacker::uCTSId! number like 0x8000 which indicates CTS block in data
UInt_tHTrb3Unpacker::uHUBId! number like 0x9000 which works as envelope for external TDCs

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

HRich700Trb3Unpacker(vector<UInt_t>& ids)
 constructor
Bool_t init(void)
 creates the raw category and gets the pointer to the TRB3 lookup table
Bool_t reinit(void)
 configure the tdcs only the first time we come here:
Int_t execute(void)
calibration event
Int_t addRawHit(Double_t t_leading, Double_t t_trailing, Double_t tot, Int_t sec, Int_t col, Int_t row, UInt_t flag = 0b11)
Int_t addCalHitCharge(Int_t sector, Int_t col, Int_t row, Float_t time, Float_t tot)
HRich700Trb3Unpacker(vector<UInt_t>& ids)
virtual ~HRich700Trb3Unpacker(void)
{}
void setUseTimeCuts(Bool_t doCut)
{fDoTimeCut = doCut;}
void setUseToTCuts(Bool_t doCut)
{fDoToTCut = doCut;}
void setFillCal(Bool_t doFill)
{fFillCal = doFill;}
void disableTimeRef(void)