|
| | RoIROD (const std::string &name, ISvcLocator *pSvcLocator) |
| virtual | ~RoIROD () |
| virtual StatusCode | initialize () override |
| virtual StatusCode | execute (const EventContext &ctx) const override |
| virtual StatusCode | finalize () override |
| virtual StatusCode | sysInitialize () override |
| | Override sysInitialize.
|
| virtual bool | isClonable () const override |
| | Specify if the algorithm is clonable.
|
| virtual unsigned int | cardinality () const override |
| | Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant.
|
| 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 |
| virtual void | setFilterPassed (bool state, const EventContext &ctx) const |
| 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 |
|
| 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
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 HypoBase, and InputMakerBase.
Definition at line 61 of file AthCommonReentrantAlgorithm.cxx.
107 {
109
110 if (
sc.isFailure()) {
112 }
113
117
118 if (
cs.retrieve().isFailure() ) {
121 }
122 if (
cs->regHandle(
this,*
h).isFailure()) {
124 ATH_MSG_ERROR(
"unable to register WriteCondHandle " <<
h->fullKey()
125 << " with CondSvc");
126 }
127 }
128 }
130}
#define ATH_MSG_WARNING(x)
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
virtual StatusCode sysInitialize() override