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 _AtDECODER2TASK_H_
3 #define _AtDECODER2TASK_H_
11 #include <FairLogger.h>
15 #include <TClonesArray.h>
27 vector<TString> fDataList[40];
30 Double_t fFPNPedestalRMS;
32 Bool_t fExternalNumTbs;
35 Bool_t fIsPersistence;
37 std::shared_ptr<AtMap> fMap;
40 TClonesArray *fRawEventArray;
44 Bool_t fIsSeparatedData;
46 Bool_t fIsPseudoTopology;
48 Long64_t fEventIDLast;
65 void AddData(TString filename, Int_t coboIdx = 0);
84 void SetMap(std::shared_ptr<AtMap> map) { fMap = map; }
95 virtual InitStatus
Init();
99 virtual void Exec(Option_t *opt);
void SetOldData(Bool_t oldData=kTRUE)
Setting gain calibration data file. If not set, gain is not calibrated.
Int_t ReadEvent(Int_t eventID)
Read event for AtSource.
void SetFPNPedestal(Double_t rms)
Setting the FPN RMS value cut for pedestal region taking.
void AddData(TString filename, Int_t coboIdx=0)
Adding raw data file to the list.
virtual void SetParContainers()
Setting parameter containers. This will be called inbetween Init() and Run().
void SetPseudoTopologyFrame(Bool_t value)
virtual void Exec(Option_t *opt)
Running the task. This will be called when Run() method invoked from FairRun.
void SetUseSeparatedData(Bool_t value=kTRUE)
Setting to use not merged data files.
void SetMap(std::shared_ptr< AtMap > map)
void SetPTFMask(Int_t mask)
void SetNumCobo(Int_t numCobo)
void SetEventID(Long64_t eventid=-1)
Setting event id for STSource.
ClassDef(AtDecoder2Task, 2)
void SetPositivePolarity(Bool_t value=kFALSE)
void SetPersistence(Bool_t value=kTRUE)
If set, decoded raw data is written in ROOT file with AtRawEvent class.
void SetData(Int_t value)
Setting which data to be decoded.
virtual InitStatus Init()
Initializing the task. This will be called when Init() method invoked from FairRun.
~AtDecoder2Task()
Destructor.
void SetNumTbs(Int_t numTbs)
Setting the number of time buckets used when taking data.
AtDecoder2Task()
Constructor.
virtual void FinishEvent()
Finishing the event.