PandaRoot
PndGemIdealHitProducer.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 // -------------------------------------------------------------------------
14 // ----- PndGemIdealHitProducer header file -----
15 // ----- Created 17/03/2009 by R. Karabowicz -----
16 // -------------------------------------------------------------------------
17 
28 #ifndef PNDGEMIDEALHITPRODUCER_H
29 #define PNDGEMIDEALHITPRODUCER_H 1
30 
31 // Pnd includes
32 #include "FairTask.h"
33 
34 // Root includes
35 #include "TStopwatch.h"
36 
37 class TClonesArray;
38 class PndGemDigiPar;
39 class PndGemSensor;
40 class PndGemStation;
41 
42 class PndGemIdealHitProducer : public FairTask {
43 
44  public:
47 
49  PndGemIdealHitProducer(const char *name, Int_t iVerbose);
50 
52  virtual ~PndGemIdealHitProducer();
53 
55  virtual InitStatus Init();
56 
58  virtual void Exec(Option_t *opt);
59 
63  // PndGemHit* AddHit(const PndGemPoint* point, Int_t idx);
64 
65  private:
66  PndGemDigiPar *fDigiPar;
67 
68  Int_t fTNofEvents;
69  Int_t fTNofPoints;
70  Int_t fTNofHits;
71 
72  TClonesArray *fPointArray;
73  TClonesArray *fHitArray;
74 
78  // void Smear(TVector3& pos, const TVector3 dpos) const;
79 
81  virtual void SetParContainers();
82 
84  virtual void Finish();
85 
86  ClassDef(PndGemIdealHitProducer, 1);
87 };
88 
89 #endif
Digitization Parameter Class for GEM part.
Definition: PndGemDigiPar.h:42
Class for conversion points to hits.
virtual ~PndGemIdealHitProducer()
virtual InitStatus Init()
virtual void Exec(Option_t *opt)