FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairTutPropHitProducer.h
Go to the documentation of this file.
1 /********************************************************************************
2  * Copyright (C) 2020 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 FAIRTTUTPROPHITPRODUCER_H_
9 #define FAIRTTUTPROPHITPRODUCER_H_
10 
11 #include "FairTask.h" // for InitStatus, FairTask
12 
13 #include <Rtypes.h> // for ClassDef
14 
15 class TClonesArray;
16 
18 {
19  public:
22 
25 
27  virtual InitStatus Init();
28 
30  virtual InitStatus ReInit();
31 
33  virtual void Exec(Option_t* opt);
34 
36  virtual void SetParContainers();
37 
39  virtual void Finish();
40 
41  void SetPointsArrayName(const std::string& tempName) { fPointsArrayName = tempName; };
42  void SetHitsArrayName(const std::string& tempName) { fHitsArrayName = tempName; };
43 
44  private:
45  std::string fPointsArrayName;
46  std::string fHitsArrayName;
47 
49  TClonesArray* fPointsArray;
50  TClonesArray* fTracksArray;
51 
53  TClonesArray* fHitsArray;
54 
57 
58  ClassDef(FairTutPropHitProducer, 1);
59 };
60 
61 #endif /* FAIRTTUTPROPHITPRODUCER_H_ */
InitStatus
Definition: FairTask.h:33
void SetHitsArrayName(const std::string &tempName)
virtual void Exec(Option_t *opt)
void SetPointsArrayName(const std::string &tempName)