FairRoot/PandaRoot
PndT0CandidateDetermination.h
Go to the documentation of this file.
1 #ifndef PndT0CandidateDetermination_H_
2 #define PndT0CandidateDetermination_H_
3 
4 
5 
6 
7 // Class to process sorted and time of flight corrected time stamps (of fast counters) to determine TO in the continuous read out.
8 // potential event times (T0) are stored in a onlineT0 Branche in the reco output
9 //For tests it can also run in the event based mode (RunContinuous(kFALSE)) and the blocked time for triggering new potential T0s can be changed by using SetBlockedTime(double val). (standard is 4 ns)
10 
11 
12 #include "TClonesArray.h"
13 #include "TString.h"
14 
15 #include "FairTask.h"
16 
17 class PndT0CandidateDetermination : public FairTask
18 {
19 public:
20 
25 
26 
28  //virtual void SetParContainers();
29  virtual InitStatus Init();
30  // virtual InitStatus ReInit();
31 
33  virtual void Exec(Option_t* opt);
34 // virtual void FinishEvent();
35  virtual void FinishTask();
36 
37 
39  //void AddInputBranch(TString branchName){ fInBranches.push_back(branchName);};
40 
43 
44  void SetBlockedTime(double val){fBlockedTime = val;};
45 
46 
47 private:
48 
51 
52  TClonesArray* fInArray;
53  TClonesArray* fOutArray;
54 
55  double fBlockedTime;
56  double fStartTime;
57 
60 
61 
62 
64 
65 
66 };
67 
68 #endif /*PndT0CandidateDetermination_H_*/
PndT0CandidateDetermination(TString inputBranch)
Double_t val[nBoxes][nFEBox]
Definition: createCalib.C:11
ClassDef(PndT0CandidateDetermination, 0)
TString name