FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairFastSimDetector.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 FAIRFASTSIMDETECTOR_H
9 #define FAIRFASTSIMDETECTOR_H
10 
11 #include "FairDetector.h"
12 
13 #include <Rtypes.h>
14 
15 class FairVolume;
16 class TClonesArray;
17 class TGeoMedium;
18 
20 {
21  public:
23 
24  FairFastSimDetector(const char* name, Int_t DetId = 0);
25 
26  virtual ~FairFastSimDetector();
27 
28  virtual void Initialize() = 0;
29 
30  virtual Bool_t ProcessHits(FairVolume* vol = 0) final;
31 
32  virtual void EndOfEvent() {}
33 
34  virtual void Register() = 0;
35 
36  virtual TClonesArray* GetCollection(Int_t iColl) const = 0;
37 
38  virtual void Reset() = 0;
39 
40  virtual void ConstructGeometry();
41 
42  protected:
43  virtual void FastSimProcessParticle() = 0;
44 
45  TGeoMedium* fFastSimMedium;
46 
48 
50 
52 };
53 
54 #endif
virtual void Register()=0
virtual Bool_t ProcessHits(FairVolume *vol=0) final
virtual void FastSimProcessParticle()=0
FairFastSimDetector & operator=(const FairFastSimDetector &)
virtual void EndOfEvent()
virtual void ConstructGeometry()
virtual void Reset()=0
virtual TClonesArray * GetCollection(Int_t iColl) const =0
virtual void Initialize()=0
ClassDef(FairFastSimDetector, 1)