![]() |
ATLAS Offline Software
|
#include <DNNCaloSimSvc.h>
Public Types | |
| typedef std::map< std::string, std::map< std::string, double > > | NetworkInputs |
| typedef std::map< std::string, double > | NetworkOutputs |
Public Member Functions | |
| DNNCaloSimSvc (const std::string &name, ISvcLocator *pSvcLocator) | |
| Constructor with parameters. | |
| virtual | ~DNNCaloSimSvc () final |
| Destructor. | |
| virtual StatusCode | initialize () override final |
| Athena algorithm's interface methods. | |
| virtual StatusCode | finalize () override final |
| framework methods | |
| StatusCode | initializeNetwork () |
| helper for initialize | |
| virtual StatusCode | simulate (ISFParticle &isp, McEventCollection *) override final |
| Simulation Call. | |
| StatusCode | fillNetworkInputs (const ISF::ISFParticle &isfp, NetworkInputs &inputs, double &trueEnergy) |
| StatusCode | fillWindowCells (const double etaExtrap, const double phiExtrap, const CaloDetDescrElement *&impactCellDDE) |
| virtual StatusCode | setupEvent () override final |
| Setup Event chain - in case of a begin-of event action is needed. | |
| virtual StatusCode | releaseEvent () override final |
| Release Event chain - in case of an end-of event action is needed. | |
| virtual StatusCode | sysInitialize () override |
| Gaudi sysInitialize() methods. | |
| const std::string & | simSvcDescriptor () override |
| Return the simulation service descriptor. | |
| virtual StatusCode | setParticleBroker (IParticleBroker *broker) override |
| Inform the SimulationSvc about the ParticleBroker svc. | |
| virtual StatusCode | simulateVector (const ISFParticleVector &particles, McEventCollection *mcEventCollection, McEventCollection *) override |
| Simulation call for vectors of particles. | |
| const ChronoEntity * | chronoStart (const IChronoSvc::ChronoTag &tag) |
| wrapper call to start chrono with given tag | |
| const ChronoEntity * | chronoStop (const IChronoSvc::ChronoTag &tag) |
| wrapper call to stop chrono with given tag | |
| const ServiceHandle< StoreGateSvc > & | evtStore () const |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. | |
| ServiceHandle< StoreGateSvc > & | evtStore () |
| const ServiceHandle< StoreGateSvc > & | detStore () const |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. | |
| ServiceHandle< StoreGateSvc > & | detStore () |
| template<class T> | |
| StatusCode | retrieveTool (ToolHandle< T > &thandle) |
| templated Tool retrieval - gives unique handling & look and feel | |
| template<class T> | |
| StatusCode | retrieveTools (ToolHandleArray< T > &thandleArray) |
| templated Tool retrieval - gives unique handling & look and feel | |
| template<class T> | |
| StatusCode | recordCollection (T *&coll, const std::string &collName) const |
| templated record collection method, will create a new one if not existing | |
| template<class T> | |
| StatusCode | retrieveCollection (T *&coll, const std::string &collName, bool forceBreak=true) const |
| templated retrieve collection method, boolean steers that force break | |
Protected Attributes | |
| Gaudi::Property< std::string > | m_simDescr |
| The simulator service descriptor. | |
| Gaudi::Property< std::string > | m_screenOutputPrefix |
| Screen output refinement. | |
| ServiceHandle< IChronoStatSvc > | m_chrono {this, "ChronoStatService", "ChronoStatSvc"} |
| The timing service for general usage. | |
| IParticleBroker * | m_particleBroker {} |
| The particle service used to push particles into the simulation. | |
Private Attributes | |
| ServiceHandle< StoreGateSvc > | m_evtStore |
| Handle to StoreGate (event store by default) | |
| ServiceHandle< StoreGateSvc > | m_detStore |
| Handle to StoreGate (detector store by default) | |
Definition at line 56 of file DNNCaloSimSvc.h.
| typedef std::map<std::string, std::map<std::string, double> > ISF::DNNCaloSimSvc::NetworkInputs |
Definition at line 75 of file DNNCaloSimSvc.h.
| typedef std::map<std::string, double> ISF::DNNCaloSimSvc::NetworkOutputs |
Definition at line 76 of file DNNCaloSimSvc.h.
| ISF::DNNCaloSimSvc::DNNCaloSimSvc | ( | const std::string & | name, |
| ISvcLocator * | pSvcLocator ) |
Constructor with parameters.
Constructor.
Definition at line 55 of file DNNCaloSimSvc.cxx.
|
finalvirtualdefault |
Destructor.
|
inlineinherited |
wrapper call to start chrono with given tag
Definition at line 105 of file BaseSimulationSvc.h.
|
inlineinherited |
wrapper call to stop chrono with given tag
Definition at line 111 of file BaseSimulationSvc.h.
|
inlineinherited |
Definition at line 126 of file BaseSimulationSvc.h.
|
inlineinherited |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 125 of file BaseSimulationSvc.h.
|
inlineinherited |
Definition at line 120 of file BaseSimulationSvc.h.
|
inlineinherited |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 119 of file BaseSimulationSvc.h.
| StatusCode ISF::DNNCaloSimSvc::fillNetworkInputs | ( | const ISF::ISFParticle & | isfp, |
| NetworkInputs & | inputs, | ||
| double & | trueEnergy ) |
Definition at line 383 of file DNNCaloSimSvc.cxx.
| StatusCode ISF::DNNCaloSimSvc::fillWindowCells | ( | const double | etaExtrap, |
| const double | phiExtrap, | ||
| const CaloDetDescrElement *& | impactCellDDE ) |
Definition at line 515 of file DNNCaloSimSvc.cxx.
|
finaloverridevirtual |
framework methods
Definition at line 187 of file DNNCaloSimSvc.cxx.
|
finaloverridevirtual |
Athena algorithm's interface methods.
framework methods
Definition at line 79 of file DNNCaloSimSvc.cxx.
| StatusCode ISF::DNNCaloSimSvc::initializeNetwork | ( | ) |
helper for initialize
Definition at line 138 of file DNNCaloSimSvc.cxx.
|
inlineinherited |
templated record collection method, will create a new one if not existing
Definition at line 151 of file BaseSimulationSvc.h.
|
finaloverridevirtual |
Release Event chain - in case of an end-of event action is needed.
Reimplemented from ISF::BaseSimulationSvc.
Definition at line 258 of file DNNCaloSimSvc.cxx.
|
inlineinherited |
templated retrieve collection method, boolean steers that force break
Definition at line 165 of file BaseSimulationSvc.h.
|
inlineinherited |
templated Tool retrieval - gives unique handling & look and feel
Definition at line 129 of file BaseSimulationSvc.h.
|
inlineinherited |
templated Tool retrieval - gives unique handling & look and feel
Definition at line 140 of file BaseSimulationSvc.h.
|
inlineoverridevirtualinherited |
Inform the SimulationSvc about the ParticleBroker svc.
Definition at line 78 of file BaseSimulationSvc.h.
|
finaloverridevirtual |
Setup Event chain - in case of a begin-of event action is needed.
Reimplemented from ISF::BaseSimulationSvc.
Definition at line 193 of file DNNCaloSimSvc.cxx.
|
inlineoverrideinherited |
Return the simulation service descriptor.
Definition at line 67 of file BaseSimulationSvc.h.
|
finaloverridevirtual |
Simulation Call.
Reimplemented from ISF::BaseSimulationSvc.
Definition at line 332 of file DNNCaloSimSvc.cxx.
|
inlineoverridevirtualinherited |
Simulation call for vectors of particles.
Reimplemented in ISF::BaseSimulationG4Svc.
Definition at line 84 of file BaseSimulationSvc.h.
|
inlineoverridevirtualinherited |
Gaudi sysInitialize() methods.
Definition at line 52 of file BaseSimulationSvc.h.
| ToolHandleArray<ICaloCellMakerTool> ISF::DNNCaloSimSvc::m_caloCellMakerToolsRelease |
Definition at line 92 of file DNNCaloSimSvc.h.
| ToolHandleArray<ICaloCellMakerTool> ISF::DNNCaloSimSvc::m_caloCellMakerToolsSetup |
Definition at line 91 of file DNNCaloSimSvc.h.
| std::string ISF::DNNCaloSimSvc::m_caloCellsOutputName |
Definition at line 129 of file DNNCaloSimSvc.h.
| const CaloDetDescrManager* ISF::DNNCaloSimSvc::m_caloDetDescrManager |
Definition at line 104 of file DNNCaloSimSvc.h.
| std::unique_ptr<CaloGeometryFromCaloDDM> ISF::DNNCaloSimSvc::m_caloGeo |
Definition at line 105 of file DNNCaloSimSvc.h.
|
protectedinherited |
The timing service for general usage.
Definition at line 203 of file BaseSimulationSvc.h.
|
privateinherited |
Handle to StoreGate (detector store by default)
Definition at line 189 of file BaseSimulationSvc.h.
| const LArEM_ID* ISF::DNNCaloSimSvc::m_emID = nullptr |
Definition at line 106 of file DNNCaloSimSvc.h.
| const double ISF::DNNCaloSimSvc::m_etaRawBackCut = m_middleCellWidthEta * 4. |
Definition at line 124 of file DNNCaloSimSvc.h.
| const double ISF::DNNCaloSimSvc::m_etaRawMiddleCut = m_middleCellWidthEta * 3.5 |
Definition at line 123 of file DNNCaloSimSvc.h.
|
privateinherited |
Handle to StoreGate (event store by default)
Definition at line 185 of file BaseSimulationSvc.h.
| ToolHandle<Trk::ITimedExtrapolator> ISF::DNNCaloSimSvc::m_extrapolator |
Definition at line 95 of file DNNCaloSimSvc.h.
| ToolHandle<IFastCaloSimCaloExtrapolation> ISF::DNNCaloSimSvc::m_FastCaloSimCaloExtrapolation |
Definition at line 94 of file DNNCaloSimSvc.h.
| int ISF::DNNCaloSimSvc::m_GANLatentSize = 0 |
Definition at line 111 of file DNNCaloSimSvc.h.
| std::unique_ptr<lwt::LightweightGraph> ISF::DNNCaloSimSvc::m_graph |
Definition at line 89 of file DNNCaloSimSvc.h.
| double ISF::DNNCaloSimSvc::m_logTrueEnergyMean = 0. |
Definition at line 112 of file DNNCaloSimSvc.h.
| double ISF::DNNCaloSimSvc::m_logTrueEnergyScale = 0. |
Definition at line 113 of file DNNCaloSimSvc.h.
| const double ISF::DNNCaloSimSvc::m_middleCellWidthEta = 0.025 |
Definition at line 121 of file DNNCaloSimSvc.h.
| const double ISF::DNNCaloSimSvc::m_middleCellWidthPhi = CLHEP::pi / std::pow(2,7) |
Definition at line 122 of file DNNCaloSimSvc.h.
| const int ISF::DNNCaloSimSvc::m_numberOfCellsForDNN = 266 |
Definition at line 120 of file DNNCaloSimSvc.h.
| std::string ISF::DNNCaloSimSvc::m_paramsFilename |
Definition at line 86 of file DNNCaloSimSvc.h.
| std::string ISF::DNNCaloSimSvc::m_paramsInputArchitecture |
Definition at line 87 of file DNNCaloSimSvc.h.
|
protectedinherited |
The particle service used to push particles into the simulation.
Definition at line 206 of file BaseSimulationSvc.h.
| const double ISF::DNNCaloSimSvc::m_phiRawMiddleCut = m_middleCellWidthPhi * 3.5 |
Definition at line 125 of file DNNCaloSimSvc.h.
| const double ISF::DNNCaloSimSvc::m_phiRawStripCut = m_middleCellWidthPhi * 6.0 |
Definition at line 126 of file DNNCaloSimSvc.h.
| CLHEP::HepRandomEngine* ISF::DNNCaloSimSvc::m_randomEngine |
Definition at line 100 of file DNNCaloSimSvc.h.
| std::string ISF::DNNCaloSimSvc::m_randomEngineName |
Definition at line 101 of file DNNCaloSimSvc.h.
| double ISF::DNNCaloSimSvc::m_riImpactEtaMean = 0. |
Definition at line 114 of file DNNCaloSimSvc.h.
| double ISF::DNNCaloSimSvc::m_riImpactEtaScale = 0. |
Definition at line 115 of file DNNCaloSimSvc.h.
| double ISF::DNNCaloSimSvc::m_riImpactPhiMean = 0. |
Definition at line 116 of file DNNCaloSimSvc.h.
| double ISF::DNNCaloSimSvc::m_riImpactPhiScale = 0. |
Definition at line 117 of file DNNCaloSimSvc.h.
| ServiceHandle<IAtRndmGenSvc> ISF::DNNCaloSimSvc::m_rndGenSvc |
Definition at line 99 of file DNNCaloSimSvc.h.
|
protectedinherited |
Screen output refinement.
Definition at line 199 of file BaseSimulationSvc.h.
|
protectedinherited |
The simulator service descriptor.
Definition at line 195 of file BaseSimulationSvc.h.
| CaloCellContainer* ISF::DNNCaloSimSvc::m_theContainer |
Definition at line 97 of file DNNCaloSimSvc.h.
| std::vector<CaloCell*> ISF::DNNCaloSimSvc::m_windowCells |
Definition at line 107 of file DNNCaloSimSvc.h.