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

class HRpcTrb3Unpacker: public HTrb3TdcUnpacker

_HADES_CLASS_DESCRIPTION


  HRpcTrb3Unpacker

  Class for unpacking TRB3 data and filling
    the Rpc Raw category

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


Function Members (Methods)

public:
HRpcTrb3Unpacker(vector<UInt_t>& ids)
HRpcTrb3Unpacker(const HRpcTrb3Unpacker&)
virtual~HRpcTrb3Unpacker()
voidTObject::AbstractMethod(const char* method) const
Int_taddRawHit(Double_t t_leading, Double_t t_trailing, HRpcTrb3LookupChan* chan)
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(Bool_t disable)
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)
HRpcTrb3Unpacker&operator=(const HRpcTrb3Unpacker&)
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)
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)
voidshiftTimes(Double_t ts)
virtual voidShowMembers(TMemberInspector&)
voidstoreSpareChannelsData(Bool_t store = kTRUE)
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

Data Members

public:
static const size_tHTrb3TdcUnpacker::maxchan
protected:
Bool_tbStoreSpareChanDataflag for storing data from spare channels (cells over no. 31). By default, it is not.
HTrb3Calpar*HTrb3TdcUnpacker::calpar! TDC calibration parameters
Int_tHTrb3Unpacker::debugFlag! allows to print subevent information to the STDOUT
map<UInt_t,HTrb3CalparTdc*>HTrb3TdcUnpacker::fCalpars
UInt_tHTrb3Unpacker::fCurrentsubEvtId! current subevent id taken from the data stream
vector<Int_t>HTrb3TdcUnpacker::fFilledTDCs! if USE_FILLED_TDC is defined this list contains TDC with data
static Bool_tfHasPrintedTDC
HLocationfLoclocation of raw cell object
HRpcTrb3Lookup*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
vector<TDC>HTrb3TdcUnpacker::fTDCs!
map<UInt_t,Int_t>HTrb3TdcUnpacker::fTDCsMap!
Bool_tfTimeRefuse reference time ?
Double_tfTimeShiftshift all times by a constant (to positive). Pendant to trb2 unpacker timeShift
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

HRpcTrb3Unpacker(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)
 Called in the beginning of each run, used here to initialize TDC unpacker
 if TDCs processors are not yet created, use parameter to instantiate them
 if auto register TDC feature is used in setup of unpackers (by setting
 setMinAddress()+setMaxAddress() manually)
Int_t execute(void)
Int_t addRawHit(Double_t t_leading, Double_t t_trailing, HRpcTrb3LookupChan* chan)
HRpcTrb3Unpacker(vector<UInt_t>& ids)
virtual ~HRpcTrb3Unpacker(void)
{}
void disableTimeRef(Bool_t disable)
void storeSpareChannelsData(Bool_t store = kTRUE)
{ bStoreSpareChanData = store; }
void shiftTimes(Double_t ts)
{fTimeShift = ts;}