FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairTutPropTr.h
Go to the documentation of this file.
1 /********************************************************************************
2  * Copyright (C) 2019 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  ********************************************************************************/
15 #ifndef FAIRTUTGEANETR_H
16 #define FAIRTUTGEANETR_H 1
17 
18 #include "FairPropagator.h"
19 #include "FairTask.h"
20 
21 class TClonesArray;
22 class FairTutPropPoint;
23 
24 class FairTutPropTr : public FairTask
25 {
26  public:
28  FairTutPropTr();
29 
32 
34  virtual InitStatus Init();
35 
37  virtual void Exec(Option_t* opt);
38 
39  void SetPropagator(FairPropagator* prop) { fPro = prop; }
40 
41  private:
42  void Reset();
43 
45  virtual void Finish();
46 
47  void InitPropagator();
48  bool fPropagatorSet;
49 
51  TClonesArray* fPointArray;
52 
54  TClonesArray* fTrackParIni; // initial MC track parameters
55  TClonesArray* fTrackParFinal; // final MC track parameters
56  TClonesArray* fTrackParProp; // calculated track parameters
57  TClonesArray* fTrackParWrong; // demonstrate effect of wrong charge
58 
59  FairPropagator* fPro;
60 
61  ClassDef(FairTutPropTr, 1);
62 };
63 
64 #endif // FAIRTUTGEANETR_H
InitStatus
Definition: FairTask.h:33
virtual void Exec(Option_t *opt)
void SetPropagator(FairPropagator *prop)
Definition: FairTutPropTr.h:39
virtual InitStatus Init()