FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairMCMatchLoaderTask.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 // ----- FAIRMCMATCHCREATORTASK header file -----
10 // ----- Created 20/03/07 by R.Kliemt -----
11 // -------------------------------------------------------------------------
12 
19 #ifndef FAIRMCMATCHLOADERTASK_H
20 #define FAIRMCMATCHLOADERTASK_H
21 
22 #include "FairTask.h" // for FairTask, InitStatus
23 
24 #include <Rtypes.h> // for ClassDef
25 
26 class FairMCMatch;
27 class TClonesArray;
28 
30 {
31  public:
34 
36  virtual ~FairMCMatchLoaderTask();
37 
39  virtual void SetParContainers();
40  virtual InitStatus Init();
41 
43  virtual void Exec(Option_t* opt);
44 
45  virtual void Finish();
46 
47  virtual void InitDataStages() = 0;
48 
49  protected:
51 
52  private:
53  TClonesArray* fMCLink;
54  int fEventNr;
55 
56  void Register();
57 
58  void Reset();
59 
60  void ProduceHits();
61 
64 
65  ClassDef(FairMCMatchLoaderTask, 1);
66 };
67 
68 #endif
InitStatus
Definition: FairTask.h:33
virtual void Exec(Option_t *opt)
virtual InitStatus Init()
virtual void InitDataStages()=0