FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairTutorialDet2Digitizer.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 // --------------------------------------------------------------------------
9 // ----- Header for the FairTutorialDet2Digitizer ------
10 // ----- Created 06.06.08 by F.Uhlig ------
11 // --------------------------------------------------------------------------
12 
13 #ifndef FAIRTUTORIALDET2DIGITIZER_H
14 #define FAIRTUTORIALDET2DIGITIZER_H
15 
16 #include "FairTask.h"
17 
18 #include <Rtypes.h>
19 #include <vector>
20 
21 class TClonesArray;
23 class CustomClass;
24 
26 {
27  public:
30 
32  FairTutorialDet2Digitizer(const char* name, const char* title = "FAIR Task");
33 
36 
38  virtual InitStatus ReInit();
39  virtual InitStatus Init();
40  virtual void SetParContainers();
41 
43  virtual void Exec(Option_t* option);
44 
46  virtual void Finish();
47 
48  /*
49  void AddHit(TVector3& posHit, TVector3& posHitErr,
50  Int_t TrackID, Int_t PlaneID, Int_t ref, Double_t ELoss,
51  Double_t ELossTR, Double_t ELossdEdX);
52  */
53  void Register();
54 
55  private:
56  TClonesArray* fTutorialDetPoints;
57  std::vector<CustomClass> const* fCustomData = nullptr;
58  std::vector<CustomClass>* fCustomData2 = nullptr;
59 
60  // TClonesArray *fDigiCollection; //! TRD hits
61  // TClonesArray *fListStack; //Tracks
62 
63  FairTutorialDet2DigiPar* fDigiPar;
64 
65  // Double_t fDx; //!
66  // Double_t fDy; //!
67  // Int_t fNHits;
68 
71 
72  ClassDef(FairTutorialDet2Digitizer, 1);
73 };
74 
75 #endif // FAIRTUTORIALDETDIGITIZER_H
InitStatus
Definition: FairTask.h:33
virtual void Exec(Option_t *option)