![]() |
ATLAS Offline Software
|
#include <CTPSimulation.h>
Public Member Functions | |
| CTPSimulation (const std::string &name, ISvcLocator *pSvcLocator) | |
| ~CTPSimulation () | |
| virtual StatusCode | initialize () override |
| virtual StatusCode | start () override |
| virtual StatusCode | execute (const EventContext &context) const override |
| virtual StatusCode | stop () override |
| virtual StatusCode | sysInitialize () override |
| Override sysInitialize. | |
| virtual bool | isClonable () const override |
| Specify if the algorithm is clonable. | |
| virtual StatusCode | sysExecute (const EventContext &ctx) override |
| Execute an algorithm. | |
| virtual const DataObjIDColl & | extraOutputDeps () const override |
| Return the list of extra output dependencies. | |
| virtual bool | filterPassed (const EventContext &ctx) const |
| Get filter decision: | |
| virtual void | setFilterPassed (bool state, const EventContext &ctx) const |
| Set filter decision: | |
| ServiceHandle< StoreGateSvc > & | evtStore () |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. | |
| const ServiceHandle< StoreGateSvc > & | detStore () const |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. | |
| virtual StatusCode | sysStart () override |
| Handle START transition. | |
| virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. | |
| virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. | |
| Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T, V, H > &t) |
| void | updateVHKA (Gaudi::Details::PropertyBase &) |
| MsgStream & | msg () const |
| bool | msgLvl (const MSG::Level lvl) const |
Protected Member Functions | |
| void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
| remove all handles from I/O resolution | |
| std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > | renounce (T &h) |
| void | extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps) |
| Add StoreName to extra input/output deps as needed. | |
Private Types | |
| typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
| StatusCode | bookHists () |
| StatusCode | setHistLabels (const TrigConf::L1Menu &l1menu) |
| StatusCode | createMultiplicityHist (const std::string &type, unsigned int maxMult=10) |
| StatusCode | setMultiplicityHistLabels (const TrigConf::L1Menu &l1menu, const std::string &type) |
| StatusCode | hbook (const std::string &path, std::unique_ptr< TH1 > hist) |
| StatusCode | hbook (const std::string &path, std::unique_ptr< TH2 > hist) |
| StatusCode | storeMetadata () |
| LockedHandle< TH1 > & | get1DHist (const std::string &histName) const |
| LockedHandle< TH2 > & | get2DHist (const std::string &histName) const |
| std::string | getBaseHistPath () const |
| StatusCode | fillInputHistograms (const EventContext &context) const |
| StatusCode | extractMultiplicities (std::map< std::string, unsigned int > &thrMultiMap, const EventContext &context) const |
| StatusCode | simulateItems (const std::map< std::string, unsigned int > &thrMultiMap, const EventContext &context) const |
| unsigned int | calculateMultiplicity (const TrigConf::L1Threshold &confThr, const TrigConf::L1Menu *l1menu, const EventContext &context) const |
| unsigned int | calculateJetMultiplicity (const TrigConf::L1Threshold &confThr, const TrigConf::L1Menu *l1menu, const EventContext &context) const |
| unsigned int | calculateEMMultiplicity (const TrigConf::L1Threshold &confThr, const TrigConf::L1Menu *l1menu, const EventContext &context) const |
| unsigned int | calculateTauMultiplicity (const TrigConf::L1Threshold &confThr, const TrigConf::L1Menu *l1menu, const EventContext &context) const |
| unsigned int | calculateMETMultiplicity (const TrigConf::L1Threshold &confThr, const TrigConf::L1Menu *l1menu, const EventContext &context) const |
| unsigned int | calculateMuonMultiplicity (const TrigConf::L1Threshold &confThr, const TrigConf::L1Menu *l1menu, const EventContext &context) const |
| unsigned int | calculateTopoMultiplicity (const TrigConf::L1Threshold &confThr, const TrigConf::L1Menu *l1menu, const EventContext &context, bool UseLegacy) const |
| unsigned int | calculateTopoOptMultiplicity (const TrigConf::L1Threshold &confThr, const TrigConf::L1Menu *l1menu, const EventContext &context) const |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Private Attributes | |
| ServiceHandle< ITHistSvc > | m_histSvc { this, "THistSvc", "THistSvc/THistSvc", "Histogramming svc" } |
| ToolHandle< LVL1CTP::ResultBuilder > | m_resultBuilder { this, "ResultBuilder", "LVL1CTP::ResultBuilder/ResultBuilder", "Builds the CTP result" } |
| ATHRNG::RNGWrapper | m_RNGEngines |
| std::map< std::string, LockedHandle< TH1 > > | m_hist1D |
| std::map< std::string, LockedHandle< TH2 > > | m_hist2D |
| SG::ReadHandleKey< LVL1::FrontPanelCTP > | m_iKeyTopo { this, "TopoInput", LVL1::DEFAULT_L1TopoCTPLocation, "Input from topo" } |
| SG::ReadHandleKey< LVL1::FrontPanelCTP > | m_iKeyLegacyTopo { this, "LegacyTopoInput", LVL1::DEFAULT_L1TopoLegacyCTPLocation, "Input from legacy topo" } |
| SG::ReadHandleKey< LVL1::MuCTPICTP > | m_iKeyMuctpi { this, "MuctpiInput", LVL1MUCTPI::DEFAULT_MuonCTPLocation, "Input from Muctpi" } |
| SG::ReadHandleKey< LVL1::EmTauCTP > | m_iKeyCtpinEM { this, "CtpinEMInput", LVL1::TrigT1CaloDefs::EmTauCTPLocation, "Input from CTPIN em and tau (legacy)" } |
| SG::ReadHandleKey< LVL1::JetCTP > | m_iKeyCtpinJet { this, "CtpinJetInput", LVL1::TrigT1CaloDefs::JetCTPLocation, "Input from CTPIN jet (legacy)" } |
| SG::ReadHandleKey< LVL1::EnergyCTP > | m_iKeyCtpinXE { this, "CtpinXEInput", LVL1::TrigT1CaloDefs::EnergyCTPLocation, "Input from CTPIN energy (te,xe,xs - legacy)" } |
| SG::ReadHandleKey< xAOD::JetRoIContainer > | m_iKeyJFexJets { this, "jFexJetInput", "jRoundJets", "Input list of jFEX jets" } |
| SG::ReadHandleKey< xAOD::JetRoIContainer > | m_iKeyJFexLJets { this, "jFexLJetInput", "jRoundLargeRJets", "Input list of jFEX large-R jets" } |
| SG::ReadHandleKey< xAOD::JetRoIContainer > | m_iKeyGFexJets { this, "gFexJetInput", "gL1Jets", "Input list of gFEX jets" } |
| SG::ReadHandleKey< xAOD::EnergySumRoI > | m_iKeyGFexMETNC { this, "gFexMETNCInput", "gXENOISECUTPerf", "Input list of gFEX MET NC" } |
| SG::ReadHandleKey< xAOD::EnergySumRoI > | m_iKeyGFexMETRho { this, "gFexMETRhoInput", "gXERHOPerf", "Input list of gFEX MET Rho" } |
| SG::ReadHandleKey< xAOD::EnergySumRoI > | m_iKeyGFexMETJwoJ { this, "gFexMETJwoJInput", "gXEJWOJPerf", "Input list of gFEX MET JwoJ" } |
| SG::ReadHandleKey< xAOD::TrigEMClusterContainer > | m_iKeyEFexCluster { this, "eFexClusterInput", "SClusterCl", "Input list of eFEX cluster" } |
| SG::ReadHandleKey< xAOD::EmTauRoIContainer > | m_iKeyEFexTau { this, "eFexTauInput", "SClusterTau", "Input list of eFEX tau" } |
| SG::ReadHandleKey< LVL1::ZdcCTP > | m_iKeyZDC {this, "ZdcInput", LVL1::TrigT1CaloDefs::ZdcCTPLocation, "Input from Zdc"} |
| SG::ReadHandleKey< LVL1::TrtCTP > | m_iKeyTRT {this, "TrtInput", LVL1::DEFAULT_TrtCTPLocation, "Input from Trt"} |
| SG::WriteHandleKey< CTP_RDO > | m_oKeyRDO {this, "RDOOutput", LVL1CTP::DEFAULT_RDOOutputLocation, "Output of CTP RDO object (sim)"} |
| SG::WriteHandleKey< xAOD::CTPResult > | m_oKeyCTPResult {this, "CTPResultOutput", LVL1CTP::DEFAULT_CTPResultOutputLocation, "Output of CTPResult (sim)"} |
| SG::WriteHandleKey< CTPSLink > | m_oKeySLink {this, "ROIOutput", LVL1CTP::DEFAULT_CTPSLinkLocation, "Output of CTP SLink object (sim)"} |
| Gaudi::Property< bool > | m_isData { this, "IsData", false, "emulate CTP as part of MC or rerun on data" } |
| Gaudi::Property< std::string > | m_histPath { this, "HistPath", "/EXPERT/L1", "Booking path for the histogram" } |
| Gaudi::Property< bool > | m_doZDC {this, "DoZDC", false, "emulate CTP with ZDC included"} |
| Gaudi::Property< bool > | m_doTRT {this, "DoTRT", false, "emulate CTP with TRT included"} |
| Gaudi::Property< bool > | m_forceBunchGroupPattern { this, "ForceBunchGroupPattern", true, "When true, ignore the bunchgroups and use the provided BunchGroupPattern" } |
| Gaudi::Property< unsigned int > | m_bunchGroupPattern { this, "BunchGroupPattern", 0x0003, "Bunchgroup pattern applied at every event, useful for simulation. Bit x corresponds to bunchgroup x" } |
| Gaudi::Property< bool > | m_doL1CaloLegacy { this, "DoL1CaloLegacy", false, "Use L1Calo legacy" } |
| Gaudi::Property< bool > | m_doL1Topo { this, "DoL1Topo", false, "Use L1Topo" } |
| Gaudi::Property< bool > | m_doL1TopoLegacy { this, "DoL1TopoLegacy", false, "Use L1Topo Legacy" } |
| Gaudi::Property< bool > | m_muonRun2Format { this, "MuonMultiplicityRun2Format", false, "Interpret muon multiplicity in Run 2 format (bit 0 unused)" } |
| Gaudi::Property< bool > | m_useEDMxAOD { this, "UseEDMxAOD", false, "Use EDM based on xAOD class" } |
| SG::ReadCondHandleKey< TrigConf::L1BunchGroupSet > | m_bgKey {this, "L1BunchGroup", "L1BunchGroup", "L1BunchGroupSet key name"} |
| DataObjIDColl | m_extendedExtraObjects |
| Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks. | |
| StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default). | |
| StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default). | |
| std::vector< SG::VarHandleKeyArray * > | m_vhka |
| bool | m_varHandleArraysDeclared |
Definition at line 65 of file CTPSimulation.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
| LVL1CTP::CTPSimulation::CTPSimulation | ( | const std::string & | name, |
| ISvcLocator * | pSvcLocator ) |
Definition at line 42 of file CTPSimulation.cxx.
| LVL1CTP::CTPSimulation::~CTPSimulation | ( | ) |
Definition at line 47 of file CTPSimulation.cxx.
|
private |
Definition at line 337 of file CTPSimulation.cxx.
|
private |
Definition at line 859 of file CTPSimulation.cxx.
|
private |
Definition at line 836 of file CTPSimulation.cxx.
|
private |
Definition at line 934 of file CTPSimulation.cxx.
|
private |
Definition at line 1101 of file CTPSimulation.cxx.
|
private |
Definition at line 986 of file CTPSimulation.cxx.
|
private |
Definition at line 896 of file CTPSimulation.cxx.
|
private |
Definition at line 1042 of file CTPSimulation.cxx.
|
private |
Definition at line 1003 of file CTPSimulation.cxx.
|
private |
Definition at line 143 of file CTPSimulation.cxx.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
|
inlineinherited |
Definition at line 145 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 95 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 85 of file AthCommonDataStore.h.
|
overridevirtual |
Definition at line 127 of file CTPSimulation.cxx.
|
private |
Definition at line 622 of file CTPSimulation.cxx.
|
protectedinherited |
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
|
overridevirtualinherited |
Return the list of extra output dependencies.
This list is extended to include symlinks implied by inheritance relations.
Definition at line 89 of file AthCommonAlgorithm.cxx.
|
private |
Definition at line 423 of file CTPSimulation.cxx.
|
inlinevirtualinherited |
Get filter decision:
Definition at line 93 of file AthCommonAlgorithm.h.
|
private |
Definition at line 255 of file CTPSimulation.cxx.
|
private |
Definition at line 266 of file CTPSimulation.cxx.
|
private |
Definition at line 199 of file CTPSimulation.cxx.
|
private |
Definition at line 207 of file CTPSimulation.cxx.
|
private |
Definition at line 231 of file CTPSimulation.cxx.
|
overridevirtual |
Definition at line 51 of file CTPSimulation.cxx.
|
overridevirtualinherited |
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
|
inlineoverridevirtualinherited |
Specify if the algorithm is clonable.
Only relevant for non-reentrant algorithms. Actual number of clones needs to be set via the "Cardinality" property.
Reimplemented in AFP_DigiTop, AlgB, AlgT, BCM_Digitization, CscDigitBuilder, CscDigitToCscRDO, G4AtlasAlg, G4RunAlg, HGTD_Digitization, HiveAlgBase, InDet::GNNSeedingTrackMaker, InDet::SCT_Clusterization, InDet::SiSPGNNTrackMaker, InDet::SiSPSeededTrackFinder, InDet::SiTrackerSpacePointFinder, ISF::SimKernelMT, ITk::StripDigitization, ITkPixelCablingAlg, ITkStripCablingAlg, LArHitEMapMaker, LArTTL1Maker, LUCID_DigiTop, LVL1::L1TopoSimulation, MergeCalibHits, MergeGenericMuonSimHitColl, MergeHijingPars, MergeMcEventCollection, MergeTrackRecordCollection, MergeTruthJets, MergeTruthParticles, MuonDigitizer, PileUpMTAlg, PixelDigitization, RoIBResultToxAOD, SCT_ByteStreamErrorsTestAlg, SCT_CablingCondAlgFromCoraCool, SCT_CablingCondAlgFromText, SCT_ConditionsParameterTestAlg, SCT_ConditionsSummaryTestAlg, SCT_ConfigurationConditionsTestAlg, SCT_Digitization, SCT_FlaggedConditionTestAlg, SCT_LinkMaskingTestAlg, SCT_MajorityConditionsTestAlg, SCT_ModuleVetoTestAlg, SCT_MonitorConditionsTestAlg, SCT_PrepDataToxAOD, SCT_RawDataToxAOD, SCT_ReadCalibChipDataTestAlg, SCT_ReadCalibDataTestAlg, SCT_RODVetoTestAlg, SCT_SensorsTestAlg, SCT_SiliconConditionsTestAlg, SCT_StripVetoTestAlg, SCT_TdaqEnabledTestAlg, SCT_TestCablingAlg, SCTEventFlagWriter, SCTRawDataProvider, SCTSiLorentzAngleTestAlg, SCTSiPropertiesTestAlg, SGInputLoader, Simulation::BeamEffectsAlg, TileHitVecToCnt, TileMuonFitter, TilePulseForTileMuonReceiver, TileRawChannelMaker, TRTDigitization, and ZDC_DigiTop.
Definition at line 68 of file AthCommonAlgorithm.h.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
|
overridevirtualinherited |
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
|
inlineprotectedinherited |
Definition at line 380 of file AthCommonDataStore.h.
|
inlineprotectedinherited |
remove all handles from I/O resolution
Definition at line 364 of file AthCommonDataStore.h.
|
inlinevirtualinherited |
Set filter decision:
Reimplemented in AthFilterAlgorithm.
Definition at line 99 of file AthCommonAlgorithm.h.
|
private |
Definition at line 277 of file CTPSimulation.cxx.
|
private |
Definition at line 167 of file CTPSimulation.cxx.
|
private |
Definition at line 1131 of file CTPSimulation.cxx.
|
overridevirtual |
Definition at line 112 of file CTPSimulation.cxx.
|
overridevirtual |
Definition at line 1196 of file CTPSimulation.cxx.
|
private |
Definition at line 1301 of file CTPSimulation.cxx.
|
overridevirtualinherited |
Execute an algorithm.
We override this in order to work around an issue with the Algorithm base class storing the event context in a member variable that can cause crashes in MT jobs.
Reimplemented in AthAnalysisAlgorithm.
Definition at line 80 of file AthCommonAlgorithm.cxx.
|
overridevirtualinherited |
Override sysInitialize.
Override sysInitialize from the base class.
Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc
Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc
Reimplemented from AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >.
Reimplemented in AthAnalysisAlgorithm, AthFilterAlgorithm, AthHistogramAlgorithm, HypoBase, InputMakerBase, and PyAthena::Alg.
Definition at line 60 of file AthCommonAlgorithm.cxx.
|
overridevirtualinherited |
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
|
private |
Definition at line 171 of file CTPSimulation.h.
|
private |
Definition at line 162 of file CTPSimulation.h.
|
privateinherited |
Pointer to StoreGate (detector store by default).
Definition at line 393 of file AthCommonDataStore.h.
|
private |
Definition at line 164 of file CTPSimulation.h.
|
private |
Definition at line 165 of file CTPSimulation.h.
|
private |
Definition at line 166 of file CTPSimulation.h.
|
private |
Definition at line 160 of file CTPSimulation.h.
|
private |
Definition at line 159 of file CTPSimulation.h.
|
privateinherited |
Pointer to StoreGate (event store by default).
Definition at line 390 of file AthCommonDataStore.h.
|
privateinherited |
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
Empty if no symlinks were found.
Definition at line 108 of file AthCommonAlgorithm.h.
|
private |
Definition at line 161 of file CTPSimulation.h.
|
private |
Definition at line 119 of file CTPSimulation.h.
|
private |
Definition at line 120 of file CTPSimulation.h.
|
private |
Definition at line 158 of file CTPSimulation.h.
|
private |
Definition at line 111 of file CTPSimulation.h.
|
private |
Definition at line 130 of file CTPSimulation.h.
|
private |
Definition at line 131 of file CTPSimulation.h.
|
private |
Definition at line 132 of file CTPSimulation.h.
|
private |
Definition at line 143 of file CTPSimulation.h.
|
private |
Definition at line 144 of file CTPSimulation.h.
|
private |
Definition at line 138 of file CTPSimulation.h.
|
private |
Definition at line 141 of file CTPSimulation.h.
|
private |
Definition at line 139 of file CTPSimulation.h.
|
private |
Definition at line 140 of file CTPSimulation.h.
|
private |
Definition at line 135 of file CTPSimulation.h.
|
private |
Definition at line 136 of file CTPSimulation.h.
|
private |
Definition at line 126 of file CTPSimulation.h.
|
private |
Definition at line 128 of file CTPSimulation.h.
|
private |
Definition at line 124 of file CTPSimulation.h.
|
private |
Definition at line 148 of file CTPSimulation.h.
|
private |
Definition at line 146 of file CTPSimulation.h.
|
private |
Definition at line 157 of file CTPSimulation.h.
|
private |
Definition at line 167 of file CTPSimulation.h.
|
private |
Definition at line 152 of file CTPSimulation.h.
|
private |
Definition at line 151 of file CTPSimulation.h.
|
private |
Definition at line 153 of file CTPSimulation.h.
|
private |
Definition at line 113 of file CTPSimulation.h.
|
private |
Definition at line 116 of file CTPSimulation.h.
|
private |
Definition at line 169 of file CTPSimulation.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.