ATTPCROOT
0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
|
Go to the documentation of this file.
2 #ifndef _AtDECODERSpecMATTASK_H_
3 #define _AtDECODERSpecMATTASK_H_
11 #include <FairLogger.h>
15 #include <TClonesArray.h>
26 std::unique_ptr<AtCoreSpecMAT> fDecoder;
28 vector<TString> fDataList[40];
31 Double_t fFPNPedestalRMS;
33 Bool_t fExternalNumTbs;
37 Bool_t fIsPersistence;
50 std::shared_ptr<AtSpecMATMap> fMap;
53 TClonesArray *fRawEventArray;
57 Bool_t fIsSeparatedData;
58 Bool_t fIsPositive[4];
59 Bool_t fIsPseudoTopology;
61 Long64_t fEventIDLast;
67 Bool_t fIsCoboPadPlane[4];
79 void AddData(TString filename, Int_t coboIdx = 0);
99 void SetMap(std::shared_ptr<AtSpecMATMap> map) { fMap = map; }
112 virtual InitStatus
Init();
118 virtual void Exec(Option_t *opt);
void AddData(TString filename, Int_t coboIdx=0)
Adding raw data file to the list.
AtDecoderSpecMATTask()
Constructor.
Int_t ReadEvent(Int_t eventID)
Read event for AtSource.
void SetUseSeparatedData(Bool_t value=kTRUE)
Setting to use not merged data files.
ClassDef(AtDecoderSpecMATTask, 1)
virtual void SetParContainers()
void SetNumCobo(Int_t numCobo)
virtual InitStatus Init()
void SetMap(std::shared_ptr< AtSpecMATMap > map)
~AtDecoderSpecMATTask()=default
Destructor.
void SetPTFMask(Int_t mask)
void SetEventID(Long64_t eventid=-1)
Setting event id for STSource.
void SetData(Int_t value)
Setting which data to be decoded.
void SetPositivePolarity(Bool_t *value)
virtual void FinishEvent()
Finishing the event.
virtual void Exec(Option_t *opt)
void SetPseudoTopologyFrame(Bool_t value)
void SetNumTbs(Int_t numTbs)
Setting the number of time buckets used when taking data.
void SetFPNPedestal(Double_t rms)
Setting the FPN RMS value cut for pedestal region taking.
void SetAuxChannels(std::vector< Int_t > AuxCh)
void SetPersistence(Bool_t value=kTRUE)
If set, decoded raw data is written in ROOT file with AtRawEvent class.
void SetIsCoboPadPlane(Bool_t *IsPadPlane)
void SetOldData(Bool_t oldData=kTRUE)
Setting to decode old data file.