FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairTestDetectorDigiTask.h
Go to the documentation of this file.
1 /********************************************************************************
2  * Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3  * *
4  * This software is distributed under the terms of the *
5  * GNU Lesser General Public Licence (LGPL) version 3, *
6  * copied verbatim in the file "LICENSE" *
7  ********************************************************************************/
8 #ifndef FAIRTESTDETECTORDIGITASK_H_
9 #define FAIRTESTDETECTORDIGITASK_H_
10 
11 #include <Rtypes.h> // for THashConsistencyHolder, ClassDef
12 #include <RtypesCore.h> // for Double_t, Int_t, Option_t
13 #include "FairTask.h" // for FairTask, InitStatus
14 class TBuffer;
15 class TClass;
16 class TClonesArray; // lines 15-15
17 class TMemberInspector;
18 
20 {
21  public:
24 
27 
29  virtual InitStatus Init();
30 
32  virtual void Exec(Option_t* opt);
33 
34  void SetTimeResolution(Double_t timeInNs) { fTimeResolution = timeInNs; }
35  Double_t GetTimeResolution() { return fTimeResolution; }
36 
37  private:
38  Int_t CalcPad(Double_t posIn, Double_t posOut);
39  Double_t CalcTimeStamp(Double_t timeOfFlight);
40 
41  Double_t fTimeResolution;
42 
43  TClonesArray* fPointArray;
44  TClonesArray* fDigiArray;
45 
48 
49  ClassDef(FairTestDetectorDigiTask, 1);
50 };
51 
52 #endif /* FAIRTESTDETECTORDIGITASK_H_ */
virtual void Exec(Option_t *opt)
InitStatus
Definition: FairTask.h:33
void SetTimeResolution(Double_t timeInNs)