This class provides access to TOF raw data in DDL files. It loops over all TOF raw data given by the AliRawReader.
AliTOFRawStream() | |
AliTOFRawStream(AliRawReader* rawReader) | |
AliTOFRawStream(const AliTOFRawStream& stream) | |
virtual | ~AliTOFRawStream() |
void | TObject::AbstractMethod(const char* method) const |
virtual void | TObject::AppendPad(Option_t* option = "") |
static void | ApplyBCCorrections(Bool_t Value = kTRUE) |
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 |
Bool_t | Decode(Int_t verbose) |
Bool_t | DecodeDDL(Int_t DDLMin, Int_t DDLMax, Int_t verbose) |
Bool_t | DecodeV2(Int_t verbose) |
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 |
static Int_t | Equip2VolNpad(Int_t iDDL, Int_t iChain, Int_t nTDC, Int_t iCH) |
static Int_t | Equip2VolNpadX(Int_t iDDL, Int_t iChain, Int_t nTDC, Int_t iCH) |
static Int_t | Equip2VolNpadZ(Int_t iDDL, Int_t iChain, Int_t nTDC, Int_t iCH) |
static Int_t | Equip2VolNplate(Int_t iDDL, Int_t nTRM, Int_t nTDC) |
static Int_t | Equip2VolNstrip(Int_t iDDL, Int_t nTRM, Int_t nTDC) |
void | EquipmentId2VolumeId(AliTOFHitData* hitData, Int_t* volume) const |
static void | EquipmentId2VolumeId(Int_t nDDL, Int_t nTRM, Int_t iChain, Int_t iTDC, Int_t iCH, Int_t* volume) |
virtual void | TObject::Error(const char* method, const char* msgfmt) const |
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 TObject* | TObject::FindObject(const char* name) const |
virtual TObject* | TObject::FindObject(const TObject* obj) const |
static Int_t | Geant2Chain(Int_t* vol) |
static Int_t | Geant2Channel(Int_t* vol) |
static Int_t | Geant2DDL(Int_t* vol) |
static void | Geant2EquipmentId(Int_t* vol, Int_t* eqId) |
static Int_t | Geant2TDC(Int_t* vol) |
static Int_t | Geant2TRM(Int_t* vol) |
Int_t | GetACQ() const |
Bool_t | GetBCCorrections() const |
Int_t | GetChainBunchID(Int_t trm, Int_t chain) const |
AliTOFHitDataBuffer* | GetDataBuffer(Int_t DDL) |
Int_t | GetDDL() const |
Int_t | GetDDLBCshift(Int_t ddl) const |
static Int_t | GetDDLnumberPerSector(Int_t nDDL) |
AliTOFDecoder* | GetDecoder() const |
AliTOFDecoderV2* | GetDecoderV2() const |
Bool_t | GetDecoderVersion() const |
virtual Option_t* | TObject::GetDrawOption() const |
static Long_t | TObject::GetDtorOnly() |
Int_t | GetErrorFlag() const |
Int_t | GetEventID() const |
virtual const char* | TObject::GetIconName() const |
Float_t | GetLeadingEdge() const |
Int_t | GetLocalEventCounterChain(Int_t trm, Int_t chain) const |
Int_t | GetLocalEventCounterDRM() const |
Int_t | GetLocalEventCounterLTM() const |
Int_t | GetLocalEventCounterTRM(Int_t trm) 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 |
AliTOFHitDataBuffer* | GetPackedDataBuffer(Int_t DDL) |
Int_t | GetPadX() const |
Int_t | GetPadZ() const |
Int_t | GetPlate() const |
Int_t | GetPSbit() const |
TClonesArray* | GetRawData() const |
Int_t | GetSector() const |
static Int_t | GetSectorNumber(Int_t nDDL) |
Int_t | GetStrip() const |
Int_t | GetTDC() const |
Int_t | GetTDCchannel() const |
virtual const char* | TObject::GetTitle() const |
Int_t | GetTofBin() const |
Int_t | GetToTbin() const |
Float_t | GetTrailingEdge() const |
Int_t | GetTRM() const |
Int_t | GetTRMchain() 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 void | TObject::Inspect() constMENU |
void | TObject::InvertBit(UInt_t f) |
virtual TClass* | IsA() const |
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 | LoadRawData(Int_t indexDDL) |
Bool_t | LoadRawDataBuffers(Int_t indexDDL, Int_t verbose = 0) |
Bool_t | LoadRawDataBuffersV2(Int_t indexDDL, Int_t verbose = 0) |
virtual void | TObject::ls(Option_t* option = "") const |
void | LTM2VolumeID(Int_t iDDL, Int_t iTRM, Int_t iChain, Int_t iTDC, Int_t iChannel, Int_t* detind0, Int_t* detind1) const |
void | TObject::MayNotUse(const char* method) const |
virtual Bool_t | Next() |
virtual Bool_t | TObject::Notify() |
void | TObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const |
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) |
AliTOFRawStream& | operator=(const AliTOFRawStream& stream) |
virtual void | TObject::Paint(Option_t* option = "") |
virtual void | TObject::Pop() |
virtual void | TObject::Print(Option_t* option = "") const |
void | Raw2Digits(AliRawReader* rawReader, TClonesArray *const digitsArray) |
void | Raw2SDigits(AliRawReader* rawReader, TClonesArray *const sdigitsArray) |
virtual Int_t | TObject::Read(const char* name) |
virtual void | TObject::RecursiveRemove(TObject* obj) |
void | TObject::ResetBit(UInt_t f) |
void | ResetBuffers() |
void | ResetDataBuffer(Int_t DDL) |
void | ResetPackedDataBuffer(Int_t DDL) |
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 | SetDDL(Int_t nDDL) |
void | SetDecoderVersion(Bool_t version) |
virtual void | TObject::SetDrawOption(Option_t* option = "")MENU |
static void | TObject::SetDtorOnly(void* obj) |
static void | TObject::SetObjectStat(Bool_t stat) |
void | SetPadX() |
void | SetPadZ() |
void | SetPlate() |
void | SetRawReader(AliRawReader *const rawReader) |
void | SetSector() |
void | SetStrip() |
void | SetTDC(Int_t nTDC) |
void | SetTDCchannel(Int_t nChannel) |
void | SetTRM(Int_t nTRM) |
void | SetTRMchain(Int_t nChain) |
virtual void | TObject::SetUniqueID(UInt_t uid) |
void | SetV2718Patch(Bool_t V2718Patch = kTRUE) |
virtual void | ShowMembers(TMemberInspector&) |
virtual void | Streamer(TBuffer&) |
void | StreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_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() |
void | VolumeID2LTM(Int_t* detind, Int_t& iDDL, Int_t& iTRM, Int_t& iChain, Int_t& iTDC, Int_t& iChannel) const |
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 ETOFRawStreamError { | kPadXError | |
kPadAlongStripError | ||
kPlateError | ||
kStripError | ||
kSectorError | ||
kDDLMinError | ||
kDDLMaxError | ||
kDDLdataReading | ||
kDDLDecoder | ||
}; | ||
enum TObject::EStatusBits { | kCanDelete | |
kMustCleanup | ||
kObjInCanvas | ||
kIsReferenced | ||
kHasUUID | ||
kCannotPick | ||
kNoContextMenu | ||
kInvalidObject | ||
}; | ||
enum TObject::[unnamed] { | kIsOnHeap | |
kNotDeleted | ||
kZombie | ||
kBitMask | ||
kSingleKey | ||
kOverwrite | ||
kWriteDelete | ||
}; |
Int_t | fACQ | flag to identif the aquisition kind |
Int_t | fChainBunchID[13][2] | BC ID recorded in the chains header |
Int_t | fDDL | DDL file number [0;71] |
AliTOFHitDataBuffer | fDataBuffer[72] | AliTOFHitDataBuffer |
AliTOFDecoder* | fDecoder | pointer to TOF decoder |
AliTOFDecoderV2* | fDecoderV2 | pointer to TOF decoder |
Int_t | fErrorFlag | error flag |
Int_t | fEventID | event ID1 in the common data header |
Bool_t | fInsideDRM | inside/outside DRM |
Bool_t | fInsideLTM | inside/outside LTM |
Bool_t | fInsideTRM | inside/outside TRM |
Bool_t | fInsideTRMchain0 | inside/outside chain 0 |
Bool_t | fInsideTRMchain1 | inside/outside chain 1 |
Int_t | fLeadingEdge | leading edge measurement |
Int_t | fLocalEventCounterChain[13][2] | event counter recorded in the chains trailer |
Int_t | fLocalEventCounterDRM | event counter recorded in the DRM global trailer |
Int_t | fLocalEventCounterLTM | event counter recorded in the LTM global trailer |
Int_t | fLocalEventCounterTRM[13] | event counter recorded in the TRMs global trailer |
Bool_t | fNewDecoderVersion | setting whether to use the new decoder version |
Int_t | fPSbit | flag for packing |
AliTOFHitDataBuffer | fPackedDataBuffer[72] | AliTOFHitDataBuffer |
Int_t | fPackedDigits | counter for packed digits |
Int_t | fPadX | pad number along the strip [0;47] |
Int_t | fPadZ | pad-row number [0;1] |
Int_t | fPlate | plate number [0;4] |
AliRawReader* | fRawReader | object for reading the raw data |
Int_t | fSector | sector number [0;17] |
Int_t | fSlotID | crate slot ID number |
Int_t | fStrip | strip number [0;14/18] |
Int_t | fTDC | TDC number [0;14] |
Int_t | fTDCchannel | TDC channel number [0;7] |
Int_t | fTDCerrorFlag | TDC error flag |
TClonesArray* | fTOFrawData | pointer to AliTOFrawData TClonesArray |
Int_t | fTRM | TRM number [1;12] |
Int_t | fTRMchain | TRM chain number [0;1] |
Int_t | fTime | time-of-flight measurement [0;8191] |
Int_t | fToT | time-over-threshould measurement [0;255] |
Int_t | fTrailingEdge | trailing edge measurement |
Int_t | fWordType | word type |
static Bool_t | fgApplyBCCorrections | switch to choose if apply or not the BC shift corrections |
static const Int_t | fgkChainMap0[5][19] | mapping padX<24 <-> TRM chain |
static const Int_t | fgkChainMap24[5][19] | mapping padX>=24 <-> TRM chain |
static const Int_t | fgkChannelMap0[5][19] | mapping padX<24 <-> TDC channels |
static const Int_t | fgkChannelMap24[5][19] | mapping padX>=24 <-> TDC channels |
static const Int_t | fgkModule0MapCrate0[2147483647] | 1st module number in crate 0 |
static const Int_t | fgkModule0MapCrate1[2147483647] | 1st module number in crate 1 |
static const Int_t | fgkModule0MapCrate2[2147483647] | 1st module number in crate 2 |
static const Int_t | fgkModule0MapCrate3[2147483647] | 1st module number in crate 3 |
static const Int_t | fgkModule1MapCrate0[2147483647] | 2nd module number in crate 0 |
static const Int_t | fgkModule1MapCrate1[2147483647] | 2nd module number in crate 1 |
static const Int_t | fgkModule1MapCrate2[2147483647] | 2nd module number in crate 2 |
static const Int_t | fgkModule1MapCrate3[2147483647] | 2nd module number in crate 3 |
static const Int_t | fgkStrip0MapCrate0[2147483647] | 1st strip number in crate 0 |
static const Int_t | fgkStrip0MapCrate1[2147483647] | 1st strip number in crate 1 |
static const Int_t | fgkStrip0MapCrate2[2147483647] | 1st strip number in crate 2 |
static const Int_t | fgkStrip0MapCrate3[2147483647] | 1st strip number in crate 3 |
static const Int_t | fgkStrip1MapCrate0[2147483647] | 2nd strip number in crate 0 |
static const Int_t | fgkStrip1MapCrate1[2147483647] | 2nd strip number in crate 1 |
static const Int_t | fgkStrip1MapCrate2[2147483647] | 2nd strip number in crate 2 |
static const Int_t | fgkStrip1MapCrate3[2147483647] | 2nd strip number in crate 3 |
static const Int_t | fgkddlBCshift[72] | DDL BC shifts |
Inheritance Chart: | ||||||||
|
fDataBuffer(), fPackedDataBuffer(), fLocalEventCounterTRM(), fLocalEventCounterChain(), fChainBunchID(), fCableLengthMap(new AliTOFCableLengthMap()), create an object to read TOF raw digits
fDataBuffer(), fPackedDataBuffer(), fLocalEventCounterTRM(), fLocalEventCounterChain(), fChainBunchID(), fCableLengthMap(new AliTOFCableLengthMap()), default ctr
fDataBuffer(), fPackedDataBuffer(), fLocalEventCounterTRM(), fLocalEventCounterChain(), fChainBunchID(), fCableLengthMap(stream.fCableLengthMap), copy constructor
Evaluate the TOF sector number -> [ 0;17] corresponding to the TOF equipment IDs: fDDL -> [ 0;71] fTRM -> [ 3;12] fTRMchain -> [ 0; 1] fTDC -> [ 0;14] fTDCchannel -> [ 0; 7]
Evaluate the TOF plate number ->[ 0; 4] corresponding to the TOF equipment IDs: fDDL -> [ 0;71] fTRM -> [ 3;12] fTRMchain -> [ 0; 1] fTDC -> [ 0;14] fTDCchannel -> [ 0; 7]
Evaluate the TOF strip number per module -> [ 0; 14/18] corresponding to the TOF equipment IDs: fDDL -> [ 0;71] fTRM -> [ 3;12] fTRMchain -> [ 0; 1] fTDC -> [ 0;14] fTDCchannel -> [ 0; 7]
Evaluate the TOF padRow number per strip -> [ 0; 1] corresponding to the TOF equipment IDs: fDDL -> [ 0;71] fTRM -> [ 3;12] fTRMchain -> [ 0; 1] fTDC -> [ 0;14] fTDCchannel -> [ 0; 7]
Evaluate the TOF pad number per strip padRow -> [ 0;47] corresponding to the TOF equipment IDs: fDDL -> [ 0;71] fTRM -> [ 3;12] fTRMchain -> [ 0; 1] fTDC -> [ 0;14] fTDCchannel -> [ 0; 7]
Returns 'word' masked by 'fieldMask' and shifted by 'fieldPosition'
Returns the TOF plate number [0;4] corresponding to the TOF equipment ID numbers: iDDL -> DDL number per sector [0;3] nTRM -> TRM number [3;12] nTDC -> TDC number [0;14]
Returns the TOF strip number per module: [0;14], in the central plates, [0;18], in the intermediate and external plates corresponding to the TOF equipment ID numbers: iDDL -> DDL number per sector [0;3] nTRM -> TRM number [3;12] nTDC -> TDC number [0;14]
Returns the TOF pad number per strip [0;95] corresponding to the TOF equipment ID numbers: iDDL -> DDL number per sector [0;3] iChain -> TRM chain number [0;1] nTDC -> TDC number [0;14] iCH -> TDC channel number [0;7]
Returns the TOF padX number [0;47] corresponding to the TOF equipment ID numbers: iDDL -> DDL number per sector [0;3] iChain -> TRM chain number [0;1] nTDC -> TDC number [0;14] iCH -> TDC channel number [0;7]
Returns the TOF padZ number [0;1] corresponding to the TOF equipment ID numbers: iDDL -> DDL number per sector [0;3] iChain -> TRM chain number [0;1] nTDC -> TDC number [0;14] iCH -> TDC channel number [0;7]
Returns the sector number [0;17] corresponing to the assigned DRM/DDL number [0;71]
Return the DRM/DDL number per sector [0;3] corresponing to the assigned DRM/DDL number [0;71]
To convert: nDDL (variable in [0;71]) -> number of the DDL file nTRM (variable in [3;12]) -> number of the TRM slot iChain (variable in [0; 1]) -> number of the TRM chain nTDC (variable in [0;14]) -> number of the TDC iCH (variable in [0; 7]) -> number of the TDC channel in: sector number, i.e. volume[0] (variable in [0,17]) plate number, i.e. volume[1] (variable in [0, 5]) strip number, i.e. volume[2] (variable in [0,14/18]) padX number, i.e. volume[3] (variable in [0,47]) padZ number, i.e. volume[4] (variable in [0, 1])
To decode raw data for DDL number in [nDDLmin; nDDLmax]
To convert: nSector number -vol[0]- (variable in [0,17]) nPlate number -vol[1]- (variable in [0, 5]) nStrip number -vol[2]- (variable in [0,14/18]) nPadZ number -vol[3]- (variable in [0, 1]) nPadX number -vol[4]- (variable in [0,47]) in: nDDL -eqId[0]- (variable in [0;71]) -> number of the DDL nTRM -eqId[1]- (variable in [3;12]) -> number of the TRM nTDC -eqId[2]- (variable in [0;14]) -> number of the TDC nChain -eqId[3]- (variable in [0; 1]) -> number of the chain nChannel -eqId[4]- (variable in [0; 8]) -> number of the channel
To convert: nSector number -vol[0]- (variable in [0,17]) nPlate number -vol[1]- (variable in [0, 5]) nStrip number -vol[2]- (variable in [0,14/18]) nPadZ number -vol[3]- (variable in [0, 1]) nPadX number -vol[4]- (variable in [0,47]) in: nDDL (variable in [0;71]) -> number of the DDL
To convert: nSector number -vol[0]- (variable in [0,17]) nPlate number -vol[1]- (variable in [0, 5]) nStrip number -vol[2]- (variable in [0,14/18]) nPadZ number -vol[3]- (variable in [0, 1]) nPadX number -vol[4]- (variable in [0,47]) in: nTRM (variable in [3;12]) -> number of the TRM slot
To convert: nSector number -vol[0]- (variable in [0,17]) nPlate number -vol[1]- (variable in [0, 5]) nStrip number -vol[2]- (variable in [0,14/18]) nPadZ number -vol[3]- (variable in [0, 1]) nPadX number -vol[4]- (variable in [0,47]) in: nTDC (variable in [0;14]) -> number of the TDC
To convert: nSector number -vol[0]- (variable in [0,17]) nPlate number -vol[1]- (variable in [0, 5]) nStrip number -vol[2]- (variable in [0,14/18]) nPadZ number -vol[3]- (variable in [0, 1]) nPadX number -vol[4]- variable in [0,47]) in: nChain (variable in [0; 1]) -> number of the TRM chain
To convert: nSector number -vol[0]- (variable in [0,17]) nPlate number -vol[1]- (variable in [0, 5]) nStrip number -vol[2]- (variable in [0,14/18]) nPadZ number -vol[3]- (variable in [0, 1]) nPadX number -vol[4]- (variable in [0,47]) in: nChannel (variable in [0; 7]) -> number of the TDC channel
Converts raw data to digits for TOF
Converts raw data to sdigits for TOF
To convert the TOF trigger macropad ID (i.e. detind) into TOF OR signals equipment ID (i.e. iDDL, iTRM, iChain, iTDC, iChannel)
To convert the TOF OR signals equipment ID (i.e. iDDL, iTRM, iChain, iTDC, iChannel) into TOF trigger macropad IDs (i.e. detind0 and detind1). In general, a couple of neighbouring TOF semi-strip represents a TOF trigger macropad.
{return fLocalEventCounterChain[trm][chain];}