ATLAS Offline Software
FastCaloSimParamAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
6 #ifndef ISF_FASTCALOSIMPARAMETRIZATION_ISF_FASTCALOSIMPARAMALG_H
7 #define ISF_FASTCALOSIMPARAMETRIZATION_ISF_FASTCALOSIMPARAMALG_H
8 
9 
10 // STL includes
11 #include <string>
12 #include <list>
13 #include <map>
14 
16 
20 
22 // CLHEP include(s)
23 #include "CLHEP/Vector/ThreeVector.h"
24 
25 // forward includes in namespaces
26 
27 namespace ISF_FCS_Parametrization {
28  class FCS_StepInfoCollection;
29  class FCS_StepInfo;
30  typedef std::list<FCS_StepInfo*> FCS_StepInfoList;
31 }
33 
40 
41  public:
42 
43  FastCaloSimParamAlg(const std::string& name, ISvcLocator* pSvcLocator);
44 
45  virtual StatusCode initialize() override final;
46  virtual StatusCode execute() override final;
47 
48  private:
49 
51 
52  // const ISF_FCS_Parametrization::FCS_StepInfoCollection* getFCS_StepInfo();
53 
54  // ISF_FCS_Parametrization::FCS_StepInfoCollection* copyFCS_StepInfo(const ISF_FCS_Parametrization::FCS_StepInfoCollection* stepinfo);
55 
56  //ISF_FCS_Parametrization::FCS_StepInfoList* copyFCS_StepInfoZeroCleanup(const ISF_FCS_Parametrization::FCS_StepInfoCollection* stepinfo);
57 
59 
60  /* data members */
63  BooleanProperty m_clusterize; //Y/N to merge nearby hits
64  DoubleProperty m_truncate; // Drop E<0 (if >1), t>1000 (if >2)
65  DoubleProperty m_maxDistance;
66  DoubleProperty m_maxRadius;
67  DoubleProperty m_maxRadiusLAr;
68  DoubleProperty m_maxRadiusHEC;
69  DoubleProperty m_maxRadiusFCAL;
70  DoubleProperty m_maxRadiusTile;
71 
72  DoubleProperty m_maxTime;
73  DoubleProperty m_maxTimeLAr;
74  DoubleProperty m_maxTimeHEC;
75  DoubleProperty m_maxTimeFCAL;
76  DoubleProperty m_maxTimeTile;
77 
78 
79  DoubleProperty m_minEnergy;
80  DoubleProperty m_containmentEnergy;
81  DoubleProperty m_energyFraction;
82 
83  StringArrayProperty m_lib_struct_files;
84 
86  , "CaloDetDescrManager"
87  , "CaloDetDescrManager"
88  , "SG Key for CaloDetDescrManager in the Condition Store" };
89 
90 }; //
91 
92 #endif // ISF_FASTCALOSIMPARAMETRIZATION_ISF_FastCaloSimParamAlg_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
FastCaloSimParamAlg::initialize
virtual StatusCode initialize() override final
Definition: FastCaloSimParamAlg.cxx:79
FastCaloSimParamAlg::FastCaloSimParamAlg
FastCaloSimParamAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: FastCaloSimParamAlg.cxx:39
FastCaloSimParamAlg::m_lib_struct_files
StringArrayProperty m_lib_struct_files
Definition: FastCaloSimParamAlg.h:83
FastCaloSimParamAlg::m_inputCollectionKey
SG::ReadHandleKey< ISF_FCS_Parametrization::FCS_StepInfoCollection > m_inputCollectionKey
Definition: FastCaloSimParamAlg.h:61
FastCaloSimParamAlg::m_minEnergy
DoubleProperty m_minEnergy
property, see LArG4GenShowerLib::LArG4GenShowerLib
Definition: FastCaloSimParamAlg.h:79
FastCaloSimParamAlg::m_energyFraction
DoubleProperty m_energyFraction
property, see LArG4GenShowerLib::LArG4GenShowerLib
Definition: FastCaloSimParamAlg.h:81
GenParticle_fwd.h
FastCaloSimParamAlg::m_maxRadiusLAr
DoubleProperty m_maxRadiusLAr
property, see LArG4GenShowerLib::LArG4GenShowerLib
Definition: FastCaloSimParamAlg.h:67
FastCaloSimParamAlg::m_maxRadiusFCAL
DoubleProperty m_maxRadiusFCAL
property, see LArG4GenShowerLib::LArG4GenShowerLib
Definition: FastCaloSimParamAlg.h:69
SG::ReadHandleKey< ISF_FCS_Parametrization::FCS_StepInfoCollection >
FastCaloSimParamAlg::m_outputCollectionKey
SG::WriteHandleKey< ISF_FCS_Parametrization::FCS_StepInfoCollection > m_outputCollectionKey
Definition: FastCaloSimParamAlg.h:62
FastCaloSimParamAlg::m_caloMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Definition: FastCaloSimParamAlg.h:85
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
FastCaloSimParamAlg::m_maxTime
DoubleProperty m_maxTime
Definition: FastCaloSimParamAlg.h:72
AthAlgorithm.h
FastCaloSimParamAlg::m_containmentEnergy
DoubleProperty m_containmentEnergy
property, see LArG4GenShowerLib::LArG4GenShowerLib
Definition: FastCaloSimParamAlg.h:80
FastCaloSimParamAlg::m_maxRadiusHEC
DoubleProperty m_maxRadiusHEC
property, see LArG4GenShowerLib::LArG4GenShowerLib
Definition: FastCaloSimParamAlg.h:68
FastCaloSimParamAlg::m_maxTimeHEC
DoubleProperty m_maxTimeHEC
Definition: FastCaloSimParamAlg.h:74
SG::WriteHandleKey< ISF_FCS_Parametrization::FCS_StepInfoCollection >
FastCaloSimParamAlg
Modified class for shower library generation algorithm.
Definition: FastCaloSimParamAlg.h:39
FastCaloSimParamAlg::clusterize
StatusCode clusterize(ISF_FCS_Parametrization::FCS_StepInfoCollection *stepinfo) const
Definition: FastCaloSimParamAlg.cxx:113
FastCaloSimParamAlg::m_maxTimeLAr
DoubleProperty m_maxTimeLAr
Definition: FastCaloSimParamAlg.h:73
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
FastCaloSimParamAlg::m_maxTimeTile
DoubleProperty m_maxTimeTile
Definition: FastCaloSimParamAlg.h:76
FastCaloSimParamAlg::truncate
StatusCode truncate(ISF_FCS_Parametrization::FCS_StepInfoCollection *stepinfo) const
Definition: FastCaloSimParamAlg.cxx:224
AthAlgorithm
Definition: AthAlgorithm.h:47
FastCaloSimParamAlg::m_maxDistance
DoubleProperty m_maxDistance
Definition: FastCaloSimParamAlg.h:65
ReadCondHandleKey.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
SG::ReadCondHandleKey< CaloDetDescrManager >
FastCaloSimParamAlg::m_truncate
DoubleProperty m_truncate
Definition: FastCaloSimParamAlg.h:64
ISF_FCS_Parametrization::FCS_StepInfoList
std::list< FCS_StepInfo * > FCS_StepInfoList
Definition: FastCaloSimParamAlg.h:29
ISF_FCS_Parametrization::FCS_StepInfoCollection
Class for collection of StepInfo class (G4 hits) copied and modified version to ISF.
Definition: FCS_StepInfoCollection.h:30
FastCaloSimParamAlg::m_maxTimeFCAL
DoubleProperty m_maxTimeFCAL
Definition: FastCaloSimParamAlg.h:75
FastCaloSimParamAlg::m_clusterize
BooleanProperty m_clusterize
Definition: FastCaloSimParamAlg.h:63
FastCaloSimParamAlg::m_maxRadiusTile
DoubleProperty m_maxRadiusTile
property, see LArG4GenShowerLib::LArG4GenShowerLib
Definition: FastCaloSimParamAlg.h:70
FastCaloSimParamAlg::m_maxRadius
DoubleProperty m_maxRadius
property, see LArG4GenShowerLib::LArG4GenShowerLib
Definition: FastCaloSimParamAlg.h:66
ISF_FCS_Parametrization
Definition: FCS_StepInfo.h:25
FastCaloSimParamAlg::execute
virtual StatusCode execute() override final
Definition: FastCaloSimParamAlg.cxx:89