HMatchUUnpacker Unpacks the MatchingUnit data into its corresonding data categories. The following inline functions are defined: Bool_t isDebugMode(void) Returns the status of the global debugging flag. Int_t getSubEvtId(void) const Returns the sub event id that the unpacker feels responsible for. Int_t getRichEmptyCount() Return the RICH empty counter To set debugging modes: void setDebugMode(Bool_t dm) Set the global debug mode. void setRichDebugMode(Bool_t dm) Enable debugging messages from the RICH part. void setShowerDebugMode(Bool_t dm) Enable debugging messages from the SHOWER part. void setLoggingMode(Bool_t flog) Enable logging mode to text file
HMatchUUnpacker(const HMatchUUnpacker&) | |
HMatchUUnpacker(Int_t id, Int_t units, Bool_t compression = kFALSE) | |
HMatchUUnpacker(Int_t unites = 0, Bool_t compression = kFALSE, Int_t flog = 0, TString vers = "aug04") | |
virtual | ~HMatchUUnpacker() |
void | TObject::AbstractMethod(const char* method) const |
virtual void | TObject::AppendPad(Option_t* option = "") |
virtual void | TObject::Browse(TBrowser* b) |
static TClass* | Class() |
virtual const char* | TObject::ClassName() const |
virtual void | TObject::Clear(Option_t* = "") |
virtual TObject* | TObject::Clone(const char* newname = "") const |
virtual Int_t | TObject::Compare(const TObject* obj) const |
virtual void | TObject::Copy(TObject& object) const |
virtual void | TObject::Delete(Option_t* option = "")MENU |
virtual Int_t | TObject::DistancetoPrimitive(Int_t px, Int_t py) |
virtual void | TObject::Draw(Option_t* option = "") |
virtual void | TObject::DrawClass() constMENU |
virtual TObject* | TObject::DrawClone(Option_t* option = "") constMENU |
virtual void | TObject::Dump() constMENU |
virtual void | TObject::Error(const char* method, const char* msgfmt) const |
virtual Int_t | execute() |
virtual void | TObject::Execute(const char* method, const char* params, Int_t* error = 0) |
virtual void | TObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0) |
virtual void | TObject::ExecuteEvent(Int_t event, Int_t px, Int_t py) |
virtual void | TObject::Fatal(const char* method, const char* msgfmt) const |
virtual Bool_t | HldUnpack::finalize() |
virtual TObject* | TObject::FindObject(const char* name) const |
virtual TObject* | TObject::FindObject(const TObject* obj) const |
virtual Option_t* | TObject::GetDrawOption() const |
static Long_t | TObject::GetDtorOnly() |
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_t | TObject::GetObjectStat() |
virtual Option_t* | TObject::GetOption() const |
HldUnpack::HPP | HldUnpack::getpSubEvt() |
Int_t | getRichEmptyCount() |
virtual Int_t | getSubEvtId() const |
virtual const char* | TObject::GetTitle() const |
virtual UInt_t | TObject::GetUniqueID() const |
virtual Bool_t | TObject::HandleTimer(TTimer* timer) |
virtual ULong_t | TObject::Hash() const |
virtual void | TObject::Info(const char* method, const char* msgfmt) const |
virtual Bool_t | TObject::InheritsFrom(const char* classname) const |
virtual Bool_t | TObject::InheritsFrom(const TClass* cl) const |
virtual Bool_t | init() |
virtual void | TObject::Inspect() constMENU |
void | TObject::InvertBit(UInt_t f) |
virtual TClass* | IsA() const |
Bool_t | isDebugMode() |
virtual Bool_t | TObject::IsEqual(const TObject* obj) const |
virtual Bool_t | TObject::IsFolder() const |
Bool_t | TObject::IsOnHeap() const |
virtual Bool_t | TObject::IsSortable() const |
Bool_t | TObject::IsZombie() const |
virtual void | TObject::ls(Option_t* option = "") const |
void | TObject::MayNotUse(const char* method) const |
virtual Bool_t | TObject::Notify() |
static void | TObject::operator delete(void* ptr) |
static void | TObject::operator delete(void* ptr, void* vp) |
static void | TObject::operator delete[](void* ptr) |
static void | TObject::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) |
HMatchUUnpacker& | operator=(const HMatchUUnpacker&) |
virtual void | TObject::Paint(Option_t* option = "") |
virtual void | TObject::Pop() |
virtual void | TObject::Print(Option_t* option = "") const |
virtual Int_t | TObject::Read(const char* name) |
virtual void | TObject::RecursiveRemove(TObject* obj) |
virtual Bool_t | reinit() |
void | TObject::ResetBit(UInt_t f) |
virtual void | TObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU |
virtual void | TObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "") |
void | TObject::SetBit(UInt_t f) |
void | TObject::SetBit(UInt_t f, Bool_t set) |
void | HldUnpack::setCategory(HCategory* aCat) |
void | setDebugMode(Bool_t dm) |
virtual void | TObject::SetDrawOption(Option_t* option = "")MENU |
static void | TObject::SetDtorOnly(void* obj) |
void | setLoggingMode(Bool_t flog) |
static void | TObject::SetObjectStat(Bool_t stat) |
void | setRichDebugMode(Bool_t dm) |
void | setShowerDebugMode(Bool_t dm) |
virtual void | TObject::SetUniqueID(UInt_t uid) |
virtual void | ShowMembers(TMemberInspector& insp, char* parent) |
virtual void | Streamer(TBuffer& b) |
void | StreamerNVirtual(TBuffer& b) |
virtual void | TObject::SysError(const char* method, const char* msgfmt) const |
Bool_t | TObject::TestBit(UInt_t f) const |
Int_t | TObject::TestBits(UInt_t f) const |
virtual void | TObject::UseCurrentStyle() |
virtual void | TObject::Warning(const char* method, const char* msgfmt) const |
virtual Int_t | TObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) |
virtual Int_t | TObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const |
virtual void | TObject::DoError(int level, const char* location, const char* fmt, va_list va) const |
void | TObject::MakeZombie() |
enum TObject::EStatusBits { | kCanDelete | |
kMustCleanup | ||
kObjInCanvas | ||
kIsReferenced | ||
kHasUUID | ||
kCannotPick | ||
kNoContextMenu | ||
kInvalidObject | ||
}; | ||
enum TObject::[unnamed] { | kIsOnHeap | |
kNotDeleted | ||
kZombie | ||
kBitMask | ||
kSingleKey | ||
kOverwrite | ||
kWriteDelete | ||
}; |
Bool_t | fDebugMode | global debug mode |
Bool_t | fRichDebugMode | rich spec. debug mode |
Bool_t | fShowerDebugMode | shower spec. debug mode |
Int_t | kSubEvtId | Subevent Id for which the unpacker is responsible |
HCategory* | HldUnpack::pRawCat | ! pointer to category where data will be stored; |
HldSubEvt* | HldUnpack::pSubEvt | ! pointer to subevent where data are read from |
Int_t | richc | count for rich empty content |
Int_t | MUDataFormat | Version of MU data format |
UInt_t | MU_sec_pattern_Rich | Pattern mask for RICH MU dat |
UInt_t | MU_sec_pattern_Shower | Pattern mask for SHOWER MU data |
UInt_t | MU_sec_pattern_Tof | Pattern mask for TOF MU data |
UInt_t | RichSecPatternMask | Pattern mask for RICH data |
TArrayC* | Rich_Sector_Map | Mapping of RICH IPU address to sector number |
Int_t | Row_Offset | Row offset in RICH |
UInt_t | ShowerSecPatternMask | Pattern mask for SHOWER data |
Int_t | TofIpuNr | which tof ipu |
UInt_t | TofSecPatternMask | Pattern mask for TOF data |
UInt_t* | data | Pointer to dataword |
HRecEvent* | event | Pointer to event structure |
Int_t | evt | Event counter |
EXPAND | expand | Expanded dataword (defined as: struct {Int_t dataw1; Int_t dataw2;}) |
HCategory* | fCatDiLeptons | Output category for dileptons |
HCategory* | fCatLeptons | Output category for leptons |
HCategory* | fCatRich | Output category for Rich |
HCategory* | fCatScalers | Output category for scalers |
HCategory* | fCatShower | Output category for Shower |
HCategory* | fCatTof | Output category for Tof |
HLocation | fLoc | Address to be used when writing to category |
Int_t | fLog | log flag |
FILE* | fMU_logfile | log file |
HShowerUnpackParam* | fShowerParam | shower unpacker parameters |
HTriggerParRichMap* | fTrigParRich | rich mapping parameters |
HTriggerParShowerMap* | fTrigParSho | shower mapping parameters |
HTriggerSetup* | fTrigSetup | trigger setup container |
Int_t | fUnit | Conversion flag: 0-DEG 1-RAD |
Int_t | hitpersec[6] | Number of hits per sector in RICH |
Bool_t | isCompressed | flag for the new format |
Bool_t | isInitialized | Initalization flag |
TIterator* | iterLepton | Iterator over lepton category. |
Int_t | mapNrRich[6][100] | Number of mapped TOF hits per sector |
Int_t | mapNrShower[6][100] | Number of mapped SHOWER hits per sector |
Int_t | mapNrTof[6][100] | Number of matched RICH hits per sector |
HMUData* | muData | Matching unit data |
HMUScalers* | muScalers | Matching unit scaler data |
Int_t | nShower[6] | Number of hits per sector in SHOWER |
Int_t | nTof[6] | Number of hits per sector in TOF |
UInt_t | sec_count | Counter for sectors |
Int_t | sec_old | Old sector number |
Int_t | showerLep | Number of SHOWER leptons |
Int_t | showerNr | Number of SHOWER datawords |
Int_t | tofLep | Number of TOF leptons |
Int_t | tofNr | Number of TOF datawords |
Int_t | triggerCode | Trigger code of actual event |
Int_t | version | switch different beamtimes |
Depreciated old constructor, use HMatchUUnpacker(Int_t id, Int_t units, Bool_t compression, Bool_t flog) instead. Input Parameters: Int_t units Conversion flag: 0-DEG(default) 1-RAD Bool_t compression flag for the new format Bool_t flog Flag for logfile: 0 no logfile(default), 1 create logfile TString version version=old -> before 309oct02 version=nov02 -> 311oct02 configuration version=sep03 -> sep03 configuration version=aug04 (default) -> aug04 configuration and later parameters: none Return code: none
Set default values for the internal variables. Input parameters: none Output parameters: none Return code: none
if(!isInitialized) { Rich_Sector_Map = fTrigSetup->getMap(); Row_Offset = fTrigSetup->getRowOffset(); MUDataFormat = fTrigSetup ->getMuDataFormat(); isInitialized = kTRUE; }
Decode the RICH IPU part of the MU subevent. The trigger code inthe first dataword is skipped! Input parameters: UInt_t *pData Pointer to the datastructure containing the RICH IPU part of the MU subevent Int_t maxLength Number of bytes in the datastructure Output parameters: none Return code: number of bytes in the Rich subEvent or -1 for error.
Fill data of TOF MU information in datacontainer. Input parameters: HMatchUTof *mtof Pointer to TOF datacontainer with MU information UInt_t dataword Dataword to be stored in mtof Output parameters: none Return code: Number of sector decoded from dataword.
Get pointer to SHOWER SubId parameter container. Input parameters: HShowerUnpackParams *param Pointer to SHOWER unpacker parameters Int_t subEvtId Sub event ID for which to get the parameters Output parameters: none Return code: Pointer to the SHOWER subId parameters. Return NULL if parameters are not found.
Return the number of bytes in the Shower subEvent or -1 for error. pData is a pointer to de subevent's data Each 16bit word goes to a 32bit word.
Map Angles of Leptons. Input parameters: none Output parameters: none Return code: Return o always!