|
| void | addHeader (t_SlinkContainer &slink, unsigned int subDetID, unsigned int moduleId, const EventContext &ctx) const |
| | adds slink header
|
| void | addTail (t_SlinkContainer &slink, unsigned int numberOfDataWords) const |
| | add Slink tail
|
| StatusCode | saveSlinkObjects (t_SlinkPtr CPRoIROD[TrigT1CaloDefs::numOfCPRoIRODs], t_SlinkPtr jepRoIROD[TrigT1CaloDefs::numOfJEPRoIRODs], const EventContext &ctx) const |
| | save Slink Objects to SG
|
| void | formSlinkObjects (t_SlinkPtr CPRoIROD[TrigT1CaloDefs::numOfCPRoIRODs], t_SlinkPtr jepRoIROD[TrigT1CaloDefs::numOfJEPRoIRODs], const EventContext &ctx) const |
| | get ROIwords and form Slink words from them, adding header and tail.
|
| void | assignVectors (t_SlinkPtr CPRoIROD[TrigT1CaloDefs::numOfCPRoIRODs], t_SlinkPtr jepRoIROD[TrigT1CaloDefs::numOfJEPRoIRODs]) const |
| | Create the object vectors to be stored in SG and clear mult vectors.
|
| std::unique_ptr< LVL1CTP::SlinkWord > | getWord (unsigned int tword) const |
| | creates a new SlinkWord object with the passed word, and returns a pointer.
|
| void | dumpSlinks (t_SlinkPtr CPRoIROD[TrigT1CaloDefs::numOfCPRoIRODs]) const |
| | prints out the Slink info.
|
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| | specialization for handling Gaudi::Property<SG::VarHandleKey>
|
|
| SG::ReadHandleKey< t_cpmTobRoIContainer > | m_emTauRoILocation { this, "EmTauRoILocation", TrigT1CaloDefs::CPMTobRoILocation, "" } |
| SG::ReadHandleKey< t_jemTobRoIContainer > | m_JetRoILocation { this, "JetRoILocation", TrigT1CaloDefs::JEMTobRoILocation, "" } |
| SG::ReadHandleKey< t_EnergyRoIContainer > | m_energyRoILocation { this, "EnergyRoILocation", TrigT1CaloDefs::CMXRoILocation, "" } |
| std::string | m_emTauSlinkLocation |
| SG::WriteHandleKeyArray< t_SlinkContainer > | m_emTauSlinkKeys { this, "EmTauSlinkKeys", {}, "" } |
| std::string | m_jepSlinkLocation |
| SG::WriteHandleKeyArray< t_SlinkContainer > | m_jepSlinkKeys { this, "JEPSlinkKeys", {}, "" } |
| 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 |
The RoIROD Athena Algorithm takes the output from the LVL1 Calo Trigger simulations and produces the words, as would be produced by the hardware ReadOut Drivers (RODs); i.e.
-Cluster (Em & Tau) ROD to RoIB
-Jet/Energy ROD to RoIB
Definition at line 48 of file RoIROD.h.
| void LVL1::RoIROD::formSlinkObjects |
( |
t_SlinkPtr | CPRoIROD[TrigT1CaloDefs::numOfCPRoIRODs], |
|
|
t_SlinkPtr | jepRoIROD[TrigT1CaloDefs::numOfJEPRoIRODs], |
|
|
const EventContext & | ctx ) const |
|
private |
get ROIwords and form Slink words from them, adding header and tail.
Set SLink headers
Retrieve CPMTobRoIs and copy data to SLink vectors
Push TOBs to ROD vectors This version makes no attempt to order them.
Retrieve JEMTobRoIs and copy data to SLink vectors
Push TOBs to ROD vectors This version makes no attempt to order them.
Retrieve EnergySum RoI(s) and add to SLink record
Add 6 ET RoIWords to crate 1 ROD data.
Set SLink tails
Definition at line 101 of file RoIROD.cxx.
104{
106
110 }
113 }
114
115
121 for (const CPMTobRoI* tau : *EMTaus) {
122 int crate = tau->crate();
123 CPRoIROD[crate]->push_back(
getWord(tau->roiWord()) );
124 }
125
126
132 for (const JEMTobRoI* jet : *Jets) {
133 int crate = jet->crate();
134 jepRoIROD[crate]->push_back(
getWord(jet->roiWord()) );
135 }
136
137
147
148
150 const unsigned int headerWords=8+1;
151
153 addTail(*CPRoIROD[i], (CPRoIROD[i]->
size()-headerWords) );
154 }
156 addTail(*jepRoIROD[i], (jepRoIROD[i]->
size()-headerWords) );
157 }
158
159 return;
160}
SG::ReadHandleKey< t_EnergyRoIContainer > m_energyRoILocation
SG::ReadHandleKey< t_jemTobRoIContainer > m_JetRoILocation
void addTail(t_SlinkContainer &slink, unsigned int numberOfDataWords) const
add Slink tail
SG::ReadHandleKey< t_cpmTobRoIContainer > m_emTauRoILocation
void addHeader(t_SlinkContainer &slink, unsigned int subDetID, unsigned int moduleId, const EventContext &ctx) const
adds slink header
|
|
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.
68 {
69 return true;
70 }
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.
71 {
73
76 }
77
81
82 if (
cs.retrieve().isFailure() ) {
85 }
86 if (
cs->regHandle(
this,*
h).isFailure()) {
88 ATH_MSG_ERROR(
"unable to register WriteCondHandle " <<
h->fullKey()
89 << " with CondSvc");
90 }
91 }
92 }
94}
#define ATH_MSG_WARNING(x)
virtual StatusCode sysInitialize() override
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override