FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairTutorialDet4StraightLineFitter.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 FAIRTUTORIALDET4STRAIGHTLINEFITTER_H
9 #define FAIRTUTORIALDET4STRAIGHTLINEFITTER_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 
24  // FairTutorialDet4StraightLineFitter(Int_t verbose);
25 
28 
30  virtual InitStatus Init();
31 
33  virtual InitStatus ReInit();
34 
36  virtual void Exec(Option_t* opt);
37 
39  virtual void SetParContainers();
40 
42  virtual void Finish();
43 
44  void SetVersion(Int_t val) { fVersion = val; }
45 
46  private:
48  TClonesArray* fHits;
49 
51  TClonesArray* fTracks;
52 
53  Int_t fVersion;
54 
55  Bool_t IsGoodEvent();
56 
59 
61 };
62 
63 #endif
InitStatus
Definition: FairTask.h:33