PandaRoot
PndFtofHitProducerIdeal.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 // ----- PndFtofHitProducerIdeal header file -----
15 // ----- Created by Alicia Sanchez -----
16 // -------------------------------------------------------------------------
17 
27 #ifndef PNDFTOFHITPRODUCERIDEAL_H
28 #define PNDFTOFHITPRODUCERIDEAL_H
29 
30 #include <PndPersistencyTask.h>
31 #include "PndGeoFtofPar.h"
32 #include "PndFtofPoint.h"
33 
34 #include "FairGeoVector.h"
35 #include "FairGeoTransform.h"
36 
37 #include "TVector3.h"
38 #include "TGeoMatrix.h"
39 #include "TRandom.h"
40 #include <string>
41 
42 class TClonesArray;
43 
45  public:
48  PndFtofHitProducerIdeal(Double_t dt, Double_t dt2);
49 
52 
54  virtual void SetParContainers();
55  virtual InitStatus Init();
56 
58  virtual void Exec(Option_t *opt);
59  void smear(Double_t &, Double_t &){}; // time dt //[R.K.03/2017] unused variable(s)
60 
61  void RunTimeBased() { fTimeOrderedDigi = kTRUE; }
62 
63  private:
64  TString fBranchName;
65  Bool_t fTimeOrderedDigi;
66 
68  TClonesArray *fPointArray;
69 
71  TClonesArray *fHitArray;
72 
73  PndGeoFtofPar *fGeoPar;
74  Double_t fdt, fdt2;
75 
76  void Register();
77 
78  void Reset();
79 
80  void ProduceHits();
81  /* TGeoHMatrix GetTransformation (std::string detName) const; */
82  /* void GetLocalHitPoints(PndFtofPoint* myPoint, FairGeoVector& myHitIn,FairGeoVector& myInL); */
83  /* TVector3 GetSensorDimensions(std::string detName) const; */
84  ClassDef(PndFtofHitProducerIdeal, 3);
85 };
86 
87 #endif
virtual void Exec(Option_t *opt)
void smear(Double_t &, Double_t &)
virtual void SetParContainers()
virtual InitStatus Init()