CbmRoot
CbmMcbm2018UnpackerAlgoTrdR.h
Go to the documentation of this file.
1 
7 #ifndef CbmMcbm2018UnpackerAlgoTrdR_H
8 #define CbmMcbm2018UnpackerAlgoTrdR_H
9 
10 #include "TH1.h"
11 #include "TH2.h"
12 #include "TObjArray.h"
13 #include "TProfile.h"
14 #include "TString.h"
15 
16 #include "CbmStar2019Algo.h"
17 
18 #include "CbmTrdDigi.h"
19 #include "CbmTrdParSetAsic.h"
20 #include "CbmTrdParSetDigi.h"
21 #include "CbmTrdParSetGain.h"
22 #include "CbmTrdParSetGas.h"
23 #include "CbmTrdRawMessageSpadic.h"
24 //#include "CbmTrdRawToDigiR.h"
27 
34 class CbmMcbm2018UnpackerAlgoTrdR : public CbmStar2019Algo<CbmTrdDigi> {
35 public:
40 
46 
47  virtual Bool_t Init();
48  virtual void Reset();
49  virtual void Finish();
50 
51  Bool_t InitContainers();
52  Bool_t ReInitContainers();
53  TList* GetParList();
54 
55  Bool_t InitParameters();
56 
57  Bool_t ProcessTs(const fles::Timeslice& ts);
58  Bool_t ProcessTs(const fles::Timeslice& ts, size_t /*component*/) {
59  return ProcessTs(ts);
60  }
61 
69  Bool_t ProcessMs(const fles::Timeslice& ts, size_t uMsCompIdx, size_t uMsIdx);
70 
71  void AddMsComponentToList(size_t component, UShort_t usDetectorId);
72  void SetNbMsInTs(size_t uCoreMsNb, size_t uOverlapMsNb);
73 
86  kDigiDeltaT // Heavy histogram add with care
87  ,
88  kDigiMeanHitFrequency // Heavy histogram add with care
89  ,
100  };
101  void SetActiveHistograms(std::vector<bool> isActiveHistoVec) {
102  fIsActiveHistoVec = isActiveHistoVec;
103  }
104  Bool_t
105  CreateHistograms();
106  Bool_t
108  iHisto);
109 
110  Bool_t FillHistograms();
111  Bool_t FillHistograms(CbmTrdDigi const& digi);
112  Bool_t FillHistograms(CbmTrdRawMessageSpadic const& raw);
113  Bool_t ResetHistograms();
114 
115 
116  std::vector<CbmTrdRawMessageSpadic> GetRawMessageVector() {
117  return *(fTrdRawMessageVector);
118  }
119  TString GetRefGeoTag() { return fRefGeoTag; }
120 
121  void SetMonitorMode(Bool_t bFlagIn = kTRUE) { fbMonitorMode = bFlagIn; }
122  void SetDebugMonitorMode(Bool_t bFlagIn = kTRUE) {
123  fbDebugMonitorMode = bFlagIn;
124  }
125  void SetWriteOutput(Bool_t bFlagIn = kTRUE) { fbWriteOutput = bFlagIn; }
126  void SetDebugWriteOutput(Bool_t bFlagIn = kTRUE) {
127  fbDebugWriteOutput = bFlagIn;
128  }
129  void SetDebugSortOutput(Bool_t bFlagIn = kTRUE) {
130  fbDebugWriteOutput = bFlagIn;
131  }
132  inline void SetTimeOffsetNs(Double_t dOffsetIn = 0.0) {
133  fdTimeOffsetNs = dOffsetIn;
134  }
135 
139  void SetBaselineAvg(Bool_t bFlagIn = kTRUE) { fbBaselineAvg = bFlagIn; }
140 
146  Bool_t SetDigiOutputPointer(std::vector<CbmTrdDigi>* const pVector);
147 
153  Bool_t SetRawOutputPointer(
154  std::vector<CbmTrdRawMessageSpadic>* const pVector,
155  std::vector<std::pair<std::uint64_t, std::uint64_t>>* const qVector =
156  nullptr);
157 
158  void SetRefGeoTag(TString geoTag) { fRefGeoTag = geoTag; }
159  void SetFirstChannelsElinkEven(bool isEven) {
160  fIsFirstChannelsElinkEven = isEven;
161  }
162  void SetMsSizeInNs(Double_t msSizeInNs) {
163  fdMsSizeInNs = msSizeInNs;
164  } // TODO handle this with asic parameter files
165 
166 private:
167  UInt_t fdMsSizeInCC;
168  std::shared_ptr<CbmTrdDigi> MakeDigi(CbmTrdRawMessageSpadic raw);
169 
171  Spadic::MsMessageType GetMessageType(const uint64_t msg);
172 
174  Spadic::MsInfoType GetInfoType(const uint64_t msg);
175 
176  CbmTrdRawMessageSpadic CreateRawMessage(const uint64_t word,
177  fles::MicrosliceDescriptor msDesc);
178 
180  Int_t GetNumRda(Int_t nsamples);
181 
188  int16_t
189  ExtractSample(const uint64_t word, uint8_t sample, Bool_t multihit = kFALSE);
190 
191  // Control flags
192  Bool_t
194  Bool_t
196  Bool_t
198  Bool_t
201  kTRUE;
202  Bool_t
204 
206  Double_t fdTimeOffsetNs = 0.0;
207 
209  std::vector<CbmTrdDigi>* fTrdDigiVector;
210 
212  std::vector<CbmTrdRawMessageSpadic>* fTrdRawMessageVector;
213 
215  std::vector<std::pair<std::uint64_t, std::uint64_t>>* fSpadicInfoMsgVector;
216 
217  //std::map< TString, std::shared_ptr<TH1> > fHistoMap ;
218 
220  std::vector<bool> fIsActiveHistoVec;
221  TObjArray fHistoArray;
222  std::vector<std::uint64_t> fLastDigiTimeVec;
223 
230  //CbmTrdRawToDigiR *fRawToDigi ;
231 
233  ULong64_t fNbTimeslices;
234  ULong64_t fCurrTsIdx;
235  UInt_t fMsIndex;
236  Double_t
238  Double_t
240  Double_t
242  ULong64_t
244 
245  ULong64_t fLastFulltime;
246 
248  ULong64_t fNbSpadicRawMsg;
249  ULong64_t fNbWildRda;
250  ULong64_t fNbSpadicErrorMsg;
251  ULong64_t
253  ULong64_t fNbSpadicEpochMsg;
254 
256  TList*
258  TString
264  std::map<std::uint64_t, Int_t>
266  std::map<Int_t, std::vector<Int_t>>
268  bool
270 
272  static const UInt_t kBytesPerWord = 8;
273 
274  ClassDef(CbmMcbm2018UnpackerAlgoTrdR, 1)
275 };
276 
277 #endif
CbmMcbm2018UnpackerAlgoTrdR::Finish
virtual void Finish()
Definition: CbmMcbm2018UnpackerAlgoTrdR.cxx:83
CbmMcbm2018UnpackerAlgoTrdR::fMsTime
Double_t fMsTime
Start Time in ns of current MS from its index field in header.
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:241
CbmMcbm2018UnpackerAlgoTrdR::kDigiTriggerType
@ kDigiTriggerType
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:98
CbmMcbm2018UnpackerAlgoTrdR::kDigiMeanHitFrequency
@ kDigiMeanHitFrequency
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:88
CbmMcbm2018UnpackerAlgoTrdR::GetMessageType
Spadic::MsMessageType GetMessageType(const uint64_t msg)
Definition: CbmMcbm2018UnpackerAlgoTrdR.cxx:912
CbmMcbm2018UnpackerAlgoTrdR::ECbmTrdUnpackerHistograms
ECbmTrdUnpackerHistograms
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:74
CbmMcbm2018UnpackerAlgoTrdR::GetRefGeoTag
TString GetRefGeoTag()
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:119
CbmMcbm2018UnpackerAlgoTrdR::GetInfoType
Spadic::MsInfoType GetInfoType(const uint64_t msg)
Definition: CbmMcbm2018UnpackerAlgoTrdR.cxx:935
CbmMcbm2018UnpackerAlgoTrdR::fNbTimeslices
ULong64_t fNbTimeslices
Instance of RawToDigi class.
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:233
CbmMcbm2018UnpackerAlgoTrdR::kDigiChargeSpectrum
@ kDigiChargeSpectrum
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:95
CbmMcbm2018UnpackerAlgoTrdR::fGainPar
CbmTrdParSetGain * fGainPar
CbmTrdParameter container.
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:263
CbmMcbm2018UnpackerAlgoTrdR::ProcessTs
Bool_t ProcessTs(const fles::Timeslice &ts, size_t)
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:58
CbmStar2019Algo< CbmTrdDigi >::fdMsSizeInNs
Double_t fdMsSizeInNs
/‍** Ignore Overlap Ms: all fuOverlapMsNb MS at the end of timeslice **‍/
Definition: CbmStar2019Algo.h:117
CbmMcbm2018UnpackerAlgoTrdR::InitParameters
Bool_t InitParameters()
Definition: CbmMcbm2018UnpackerAlgoTrdR.cxx:157
CbmMcbm2018UnpackerAlgoTrdR::fbDebugWriteOutput
Bool_t fbDebugWriteOutput
If ON the raw messages output vector is filled and written to disk.
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:199
CbmMcbm2018UnpackerAlgoTrdR::kRawHitType
@ kRawHitType
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:81
CbmMcbm2018UnpackerAlgoTrdR::fNbSpadicErrorMsg
ULong64_t fNbSpadicErrorMsg
Number of Spadic error Messages.
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:250
CbmMcbm2018UnpackerAlgoTrdR::kBytesPerWord
static const UInt_t kBytesPerWord
Constants.
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:272
CbmMcbm2018UnpackerAlgoTrdR::fDigiPar
CbmTrdParSetDigi * fDigiPar
CbmTrdParameter container.
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:261
CbmTrdParSetGas
Describe TRD module working settings (HV, etc)
Definition: CbmTrdParSetGas.h:15
CbmMcbm2018UnpackerAlgoTrdR::SetDebugSortOutput
void SetDebugSortOutput(Bool_t bFlagIn=kTRUE)
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:129
CbmTrdRawMessageSpadic
Base class for storing raw information which comes from the Spadic v2.2 trough flib or from a tsa fil...
Definition: CbmTrdRawMessageSpadic.h:68
CbmMcbm2018UnpackerAlgoTrdR::SetDebugWriteOutput
void SetDebugWriteOutput(Bool_t bFlagIn=kTRUE)
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:126
CbmMcbm2018UnpackerAlgoTrdR::fTrdRawMessageVector
std::vector< CbmTrdRawMessageSpadic > * fTrdRawMessageVector
Output Spadic raw messages for debugging.
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:212
CbmMcbm2018UnpackerAlgoTrdR::fAsicPar
CbmTrdParSetAsic * fAsicPar
CbmTrdParameter container.
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:260
CbmMcbm2018UnpackerAlgoTrdR::fLastDigiTimeVec
std::vector< std::uint64_t > fLastDigiTimeVec
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:222
CbmMcbm2018UnpackerAlgoTrdR::kRawMessage_Signalshape_all
@ kRawMessage_Signalshape_all
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:76
CbmMcbm2018UnpackerAlgoTrdR::GetNumRda
Int_t GetNumRda(Int_t nsamples)
Definition: CbmMcbm2018UnpackerAlgoTrdR.cxx:1029
CbmMcbm2018UnpackerAlgoTrdR::kDigiPulserDeltaT
@ kDigiPulserDeltaT
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:85
CbmTrdParSetAsic
Describe TRD module ASIC settings (electronic gain, delays, etc)
Definition: CbmTrdParSetAsic.h:18
CbmMcbm2018UnpackerAlgoTrdR::fbWriteOutput
Bool_t fbWriteOutput
If ON the output Vector of digis is written to disk.
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:197
CbmMcbm2018UnpackerAlgoTrdR::SetRawOutputPointer
Bool_t SetRawOutputPointer(std::vector< CbmTrdRawMessageSpadic > *const pVector, std::vector< std::pair< std::uint64_t, std::uint64_t >> *const qVector=nullptr)
Set fTrdRawMessageVector to the address of pVector.
Definition: CbmMcbm2018UnpackerAlgoTrdR.cxx:839
CbmMcbm2018UnpackerAlgoTrdR::fHistoArray
TObjArray fHistoArray
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:221
CbmMcbm2018UnpackerAlgoTrdR::kDigiDistributionMap
@ kDigiDistributionMap
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:92
CbmMcbm2018UnpackerAlgoTrdR::fRefGeoTag
TString fRefGeoTag
Naming tag for the reference geometry, parameters are loaded according to this tag.
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:259
CbmMcbm2018UnpackerAlgoTrdR::kBeginDefinedHistos
@ kBeginDefinedHistos
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:75
CbmMcbm2018UnpackerAlgoTrdR::kDigiDistributionMapSt
@ kDigiDistributionMapSt
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:93
CbmMcbm2018UnpackerAlgoTrdR::kRawMessage_Signalshape_filtered
@ kRawMessage_Signalshape_filtered
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:79
CbmMcbm2018UnpackerAlgoTrdR::Init
virtual Bool_t Init()
Definition: CbmMcbm2018UnpackerAlgoTrdR.cxx:68
CbmMcbm2018UnpackerAlgoTrdR::kDigiDeltaT
@ kDigiDeltaT
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:86
CbmMcbm2018UnpackerAlgoTrdR::fSpadicEpoch
ULong64_t fSpadicEpoch
Epoch counter (30 bits). Counts overflow of Spadic timestamp (11 bits).
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:243
CbmMcbm2018UnpackerAlgoTrdR::fCurrTsIdx
ULong64_t fCurrTsIdx
Index of current Timeslice.
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:234
CbmMcbm2018UnpackerAlgoTrdR::GetRawMessageVector
std::vector< CbmTrdRawMessageSpadic > GetRawMessageVector()
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:116
CbmMcbm2018UnpackerAlgoTrdR::fAsicChannelMap
std::map< Int_t, std::vector< Int_t > > fAsicChannelMap
Map to retrieve module channelId from asicAddress and asicChannel.
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:267
CbmMcbm2018UnpackerAlgoTrdR::fNbWildRda
ULong64_t fNbWildRda
Number of RDA Words outside of a Message.
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:249
CbmMcbm2018UnpackerAlgoTrdR::CreateRawMessage
CbmTrdRawMessageSpadic CreateRawMessage(const uint64_t word, fles::MicrosliceDescriptor msDesc)
Definition: CbmMcbm2018UnpackerAlgoTrdR.cxx:963
CbmMcbm2018UnpackerAlgoTrdR::operator=
CbmMcbm2018UnpackerAlgoTrdR & operator=(const CbmMcbm2018UnpackerAlgoTrdR &)=delete
Copy assignment operator - not implemented.
CbmTrdParSetAsic.h
CbmMcbm2018UnpackerAlgoTrdR::fTsStartTime
Double_t fTsStartTime
Time in ns of current TS from the index of the first MS first componen.
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:237
CbmMcbm2018UnpackerAlgoTrdR::ProcessTs
Bool_t ProcessTs(const fles::Timeslice &ts)
Definition: CbmMcbm2018UnpackerAlgoTrdR.cxx:174
CbmMcbm2018UnpackerAlgoTrdR::AddMsComponentToList
void AddMsComponentToList(size_t component, UShort_t usDetectorId)
Definition: CbmMcbm2018UnpackerAlgoTrdR.cxx:366
CbmMcbm2018UnpackerAlgoTrdR::SetDebugMonitorMode
void SetDebugMonitorMode(Bool_t bFlagIn=kTRUE)
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:122
CbmTrdParSetGain
Definition: CbmTrdParSetGain.h:16
CbmMcbm2018UnpackerAlgoTrdR::fdTimeOffsetNs
Double_t fdTimeOffsetNs
User settings: Data correction parameters.
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:206
CbmMcbm2018UnpackerAlgoTrdR::fbMonitorMode
Bool_t fbMonitorMode
Switch ON the filling of a minimal set of histograms.
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:193
CbmTrdDigi.h
CbmStar2019Algo.h
CbmMcbm2018UnpackerAlgoTrdR::fIsActiveHistoVec
std::vector< bool > fIsActiveHistoVec
Stores all Histograms.
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:220
CbmMcbm2018UnpackerAlgoTrdR::fNbUnkownWord
ULong64_t fNbUnkownWord
Number of unknown data words in the Microslice stream.
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:252
CbmMcbm2018UnpackerAlgoTrdR::ProcessMs
Bool_t ProcessMs(const fles::Timeslice &ts, size_t uMsCompIdx, size_t uMsIdx)
Unpacks one Microslice.
Definition: CbmMcbm2018UnpackerAlgoTrdR.cxx:238
CbmMcbm2018UnpackerAlgoTrdR::fNbSpadicEpochMsg
ULong64_t fNbSpadicEpochMsg
Number of Spadic Epoch Messages.
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:253
CbmMcbm2018UnpackerAlgoTrdR::fbDebugMonitorMode
Bool_t fbDebugMonitorMode
Switch ON the filling of a additional set of histograms.
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:195
CbmMcbm2018UnpackerAlgoTrdR::fGasPar
CbmTrdParSetGas * fGasPar
CbmTrdParameter container.
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:262
CbmMcbm2018UnpackerAlgoTrdR::fSpadicInfoMsgVector
std::vector< std::pair< std::uint64_t, std::uint64_t > > * fSpadicInfoMsgVector
vector< pair< fulltime, word > >
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:215
CbmMcbm2018UnpackerAlgoTrdR::SetDigiOutputPointer
Bool_t SetDigiOutputPointer(std::vector< CbmTrdDigi > *const pVector)
Set fTrdDigiVector to the address of pVector.
Definition: CbmMcbm2018UnpackerAlgoTrdR.cxx:829
CbmMcbm2018UnpackerAlgoTrdR::fTrdDigiVector
std::vector< CbmTrdDigi > * fTrdDigiVector
Output Digi vector.
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:209
CbmMcbm2018UnpackerAlgoTrdR::SetWriteOutput
void SetWriteOutput(Bool_t bFlagIn=kTRUE)
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:125
CbmMcbm2018UnpackerAlgoTrdR::kSpadic_Info_Types
@ kSpadic_Info_Types
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:83
CbmStar2019Algo
Definition: CbmStar2019Algo.h:43
CbmMcbm2018UnpackerAlgoTrdR::kRawDistributionMapModule5
@ kRawDistributionMapModule5
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:80
CbmMcbm2018UnpackerAlgoTrdR::SetMsSizeInNs
void SetMsSizeInNs(Double_t msSizeInNs)
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:162
CbmMcbm2018UnpackerAlgoTrdR::fbDebugSortOutput
Bool_t fbDebugSortOutput
If ON the raw messages output vector is sorted within time.
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:200
CbmMcbm2018UnpackerAlgoTrdR::kDigiChargeSpectrumNt
@ kDigiChargeSpectrumNt
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:97
CbmMcbm2018UnpackerAlgoTrdR::kDigiRelativeTimeMicroslice
@ kDigiRelativeTimeMicroslice
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:91
CbmMcbm2018UnpackerAlgoTrdR::kDigiChargeSpectrumSt
@ kDigiChargeSpectrumSt
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:96
CbmMcbm2018UnpackerAlgoTrdR::kRawMessage_Signalshape_St
@ kRawMessage_Signalshape_St
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:77
CbmTrdParSetGain.h
CbmMcbm2018UnpackerAlgoTrdR::kRawPulserDeltaT
@ kRawPulserDeltaT
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:82
Spadic::MsMessageType
MsMessageType
Definition: CbmTrdRawMessageSpadic.h:25
CbmMcbm2018UnpackerAlgoTrdR::kBeginDigiHistos
@ kBeginDigiHistos
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:84
CbmMcbm2018UnpackerAlgoTrdR::SetBaselineAvg
void SetBaselineAvg(Bool_t bFlagIn=kTRUE)
Call this when Spadic Average-Baseline feature is enabled.
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:139
CbmMcbm2018UnpackerAlgoTrdR::SetRefGeoTag
void SetRefGeoTag(TString geoTag)
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:158
Spadic::MsInfoType
MsInfoType
Definition: CbmTrdRawMessageSpadic.h:53
CbmMcbm2018UnpackerAlgoTrdR::FillHistograms
Bool_t FillHistograms()
Definition: CbmMcbm2018UnpackerAlgoTrdR.cxx:625
CbmMcbm2018UnpackerAlgoTrdR::MakeDigi
std::shared_ptr< CbmTrdDigi > MakeDigi(CbmTrdRawMessageSpadic raw)
Definition: CbmMcbm2018UnpackerAlgoTrdR.cxx:860
CbmMcbm2018UnpackerAlgoTrdR::kRawMessage_Signalshape_Nt
@ kRawMessage_Signalshape_Nt
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:78
CbmTrdParSetDigi.h
CbmMcbm2018UnpackerAlgoTrdR::ReInitContainers
Bool_t ReInitContainers()
Definition: CbmMcbm2018UnpackerAlgoTrdR.cxx:103
CbmMcbm2018UnpackerAlgoTrdR::CreateHistograms
Bool_t CreateHistograms()
Goes through fIsActiveHistoVec and creates the activated histograms.
Definition: CbmMcbm2018UnpackerAlgoTrdR.cxx:388
CbmMcbm2018UnpackerAlgoTrdR::GetParList
TList * GetParList()
Definition: CbmMcbm2018UnpackerAlgoTrdR.cxx:135
CbmMcbm2018UnpackerAlgoTrdR::SetTimeOffsetNs
void SetTimeOffsetNs(Double_t dOffsetIn=0.0)
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:132
CbmMcbm2018UnpackerAlgoTrdR::fMsIndex
UInt_t fMsIndex
Index of current MS within the TS.
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:235
CbmMcbm2018UnpackerAlgoTrdR::fdMsSizeInCC
UInt_t fdMsSizeInCC
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:167
CbmMcbm2018UnpackerAlgoTrdR::Reset
virtual void Reset()
Definition: CbmMcbm2018UnpackerAlgoTrdR.cxx:78
CbmMcbm2018UnpackerAlgoTrdR::fSpadicMap
std::map< std::uint64_t, Int_t > fSpadicMap
Map to retrieve asic address from CriId/CrobId/ElinkId (see CbmTrdHardwareSetupR)
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:265
CbmMcbm2018UnpackerAlgoTrdR::fTsStopTimeCore
Double_t fTsStopTimeCore
End Time in ns of current TS Core from the index of the first MS first componen.
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:239
CbmMcbm2018UnpackerAlgoTrdR::CbmMcbm2018UnpackerAlgoTrdR
CbmMcbm2018UnpackerAlgoTrdR()
Definition: CbmMcbm2018UnpackerAlgoTrdR.cxx:18
CbmMcbm2018UnpackerAlgoTrdR::InitContainers
Bool_t InitContainers()
Definition: CbmMcbm2018UnpackerAlgoTrdR.cxx:94
CbmMcbm2018UnpackerAlgoTrdR::SetMonitorMode
void SetMonitorMode(Bool_t bFlagIn=kTRUE)
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:121
CbmTrdDigi
Definition: CbmTrdDigi.h:14
CbmMcbm2018UnpackerAlgoTrdR::ExtractSample
int16_t ExtractSample(const uint64_t word, uint8_t sample, Bool_t multihit=kFALSE)
Extract a Sample from a given SOM or RDA word.
Definition: CbmMcbm2018UnpackerAlgoTrdR.cxx:1044
CbmTrdParSetDigi
Definition: CbmTrdParSetDigi.h:15
CbmMcbm2018UnpackerAlgoTrdR::kDigiHitFrequency
@ kDigiHitFrequency
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:90
CbmMcbm2018UnpackerAlgoTrdR::kEndDefinedHistos
@ kEndDefinedHistos
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:99
CbmTrdParSetGas.h
CbmMcbm2018UnpackerAlgoTrdR::SetNbMsInTs
void SetNbMsInTs(size_t uCoreMsNb, size_t uOverlapMsNb)
Definition: CbmMcbm2018UnpackerAlgoTrdR.cxx:380
CbmMcbm2018UnpackerAlgoTrdR::fLastFulltime
ULong64_t fLastFulltime
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:245
CbmMcbm2018UnpackerAlgoTrdR::~CbmMcbm2018UnpackerAlgoTrdR
~CbmMcbm2018UnpackerAlgoTrdR()
Definition: CbmMcbm2018UnpackerAlgoTrdR.cxx:57
CbmMcbm2018UnpackerAlgoTrdR::fParContList
TList * fParContList
Parameters and Address mapping.
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:257
CbmMcbm2018UnpackerAlgoTrdR::fIsFirstChannelsElinkEven
bool fIsFirstChannelsElinkEven
define if the first 16 channels (00..15) are found on the even (set true) or odd (false) eLinkId,...
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:269
CbmTrdRawMessageSpadic.h
CbmMcbm2018UnpackerAlgoTrdR::CreateHistogram
Bool_t CreateHistogram(ECbmTrdUnpackerHistograms iHisto)
create the histogram correlated to iHisto
Definition: CbmMcbm2018UnpackerAlgoTrdR.cxx:407
CbmMcbm2018UnpackerAlgoTrdR::fbBaselineAvg
Bool_t fbBaselineAvg
Set to true if Baseline Averaging is activated in Spadic.
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:203
CbmMcbm2018UnpackerAlgoTrdR::CbmMcbm2018UnpackerAlgoTrdR
CbmMcbm2018UnpackerAlgoTrdR(const CbmMcbm2018UnpackerAlgoTrdR &)=delete
Copy constructor - not implemented.
CbmMcbm2018UnpackerAlgoTrdR::SetFirstChannelsElinkEven
void SetFirstChannelsElinkEven(bool isEven)
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:159
CbmMcbm2018UnpackerAlgoTrdR::kDigiDistributionMapNt
@ kDigiDistributionMapNt
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:94
CbmMcbm2018UnpackerAlgoTrdR::ResetHistograms
Bool_t ResetHistograms()
Definition: CbmMcbm2018UnpackerAlgoTrdR.cxx:815
CbmMcbm2018UnpackerAlgoTrdR::SetActiveHistograms
void SetActiveHistograms(std::vector< bool > isActiveHistoVec)
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:101
CbmMcbm2018UnpackerAlgoTrdR::fNbSpadicRawMsg
ULong64_t fNbSpadicRawMsg
Counters.
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:248
CbmMcbm2018UnpackerAlgoTrdR
Timeslice unpacker algorithm for Spadic v.2.2 .
Definition: CbmMcbm2018UnpackerAlgoTrdR.h:34