|
ATLAS Offline Software
|
The eFEXFillEDM class defines how to fill eFEX EDM.
More...
#include <eFEXFillEDM.h>
|
| eFEXFillEDM (const std::string &type, const std::string &name, const IInterface *parent) |
| Constructors. More...
|
|
eFEXFillEDM && | operator= (const eFEXFillEDM &)=delete |
| Destructor. More...
|
|
virtual StatusCode | initialize () override |
| standard Athena-Algorithm method More...
|
|
virtual StatusCode | finalize () override |
| standard Athena-Algorithm method More...
|
|
virtual StatusCode | execute () override |
|
virtual void | fillEmEDM (std::unique_ptr< xAOD::eFexEMRoIContainer > &container, uint8_t eFEXNumber, const std::unique_ptr< eFEXegTOB > &tobObject, bool xTOB=false) const override |
| Create and fill a new fillEmEDM object (corresponding to this window), and return a pointer to it. More...
|
|
virtual void | fillTauEDM (std::unique_ptr< xAOD::eFexTauRoIContainer > &container, uint8_t eFEXNumber, const std::unique_ptr< eFEXtauTOB > &tobObject, bool xTOB=false) const override |
| Create and fill a new fillTauEDM object (corresponding to this window), and return a pointer to it. More...
|
|
ServiceHandle< StoreGateSvc > & | evtStore () |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | evtStore () const |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | detStore () const |
| The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
virtual StatusCode | sysInitialize () override |
| Perform system initialization for an algorithm. More...
|
|
virtual StatusCode | sysStart () override |
| Handle START transition. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. More...
|
|
Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T > &t) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc="none") |
| Declare a new Gaudi property. More...
|
|
void | updateVHKA (Gaudi::Details::PropertyBase &) |
|
MsgStream & | msg () const |
|
MsgStream & | msg (const MSG::Level lvl) const |
|
bool | msgLvl (const MSG::Level lvl) const |
|
The eFEXFillEDM class defines how to fill eFEX EDM.
Definition at line 30 of file eFEXFillEDM.h.
◆ StoreGateSvc_t
◆ eFEXFillEDM()
LVL1::eFEXFillEDM::eFEXFillEDM |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
Constructors.
Definition at line 18 of file eFEXFillEDM.cxx.
21 declareInterface<IeFEXFillEDM>(
this);
◆ declareGaudiProperty() [1/4]
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
175 hndl.documentation());
◆ declareGaudiProperty() [2/4]
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
161 hndl.documentation());
◆ declareGaudiProperty() [3/4]
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
189 hndl.documentation());
◆ declareGaudiProperty() [4/4]
◆ declareProperty() [1/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
250 this->declare(hndl.
vhKey());
251 hndl.
vhKey().setOwner(
this);
253 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
229 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
338 return PBASE::declareProperty(
name, property,
doc);
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
◆ declareProperty() [6/6]
◆ detStore()
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ execute()
StatusCode LVL1::eFEXFillEDM::execute |
( |
| ) |
|
|
overridevirtual |
◆ extraDeps_update_handler()
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
◆ fillEmEDM()
Create and fill a new fillEmEDM object (corresponding to this window), and return a pointer to it.
Implements LVL1::IeFEXFillEDM.
Definition at line 45 of file eFEXFillEDM.cxx.
53 myEmEDM->
initialize(tobObject->getxTobword0(), tobObject->getxTobword1());
64 myEmEDM->
setRhadEM(tobObject->getRhadEM());
69 ATH_MSG_DEBUG(
" setting Type: " << myEmEDM->
type() <<
" eFEX Number: " << +myEmEDM->
eFexNumber() <<
" shelf: " << +myEmEDM->
shelfNumber() <<
" et: " << myEmEDM->
et() <<
" MeV, " << myEmEDM->
etTOB() <<
" TOB, " << myEmEDM->
etXTOB() <<
" xTOB, eta: " << myEmEDM->
eta() <<
" phi: " << myEmEDM->
phi() <<
" input eFexNum: " << +eFexNum <<
" TOB word: " << tobObject->getTobword() << MSG::dec );
◆ fillTauEDM()
Create and fill a new fillTauEDM object (corresponding to this window), and return a pointer to it.
Implements LVL1::IeFEXFillEDM.
Definition at line 73 of file eFEXFillEDM.cxx.
81 myTauEDM->
initialize(tobObject->getxTobword0(), tobObject->getxTobword1());
98 ATH_MSG_DEBUG(
"setting tau version " << myTauEDM->
tobVersion() <<
" eFEX Number: " << +myTauEDM->
eFexNumber() <<
" shelf: " << +myTauEDM->
shelfNumber() <<
" et: " << myTauEDM->
et() <<
" eta: " << myTauEDM->
eta() <<
" phi: " << myTauEDM->
phi() <<
" input eFexNum: " << +eFexNum <<
" TOB word: " << tobObject->getTobword() <<
" xTOB word 1: "<< tobObject->getxTobword0() <<
" xTOB word 2: " << tobObject->getxTobword1() <<
" BDT score: " << tobObject->getBDTScore() <<
" BDT score from EDM " << myTauEDM->
bdtScore() << MSG::dec);
◆ finalize()
StatusCode LVL1::eFEXFillEDM::finalize |
( |
| ) |
|
|
overridevirtual |
◆ initialize()
StatusCode LVL1::eFEXFillEDM::initialize |
( |
| ) |
|
|
overridevirtual |
◆ inputHandles()
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.
◆ interfaceID()
const InterfaceID & LVL1::IeFEXFillEDM::interfaceID |
( |
| ) |
|
|
inlinestaticinherited |
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ operator=()
◆ outputHandles()
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.
◆ renounce()
◆ renounceArray()
◆ sysInitialize()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ updateVHKA()
◆ m_detStore
◆ m_evtStore
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
float et() const
TOB ET (decoded from TOB, stored for convenience)
void setRHadNumerator(uint16_t value)
float eta() const
setter for the above
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
void initialize(unsigned int eFexNumber, unsigned int shelf, uint32_t word0)
Initialise the object with its most important properties.
unsigned int eFexNumber() const
Methods to decode data from the TOB/RoI and return to the user.
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
unsigned int etXTOB() const
Cluster ET (xTOB ET scale, 25 MeV/count)
Class describing a LVL1 eFEX EM region of interest.
void setWstotNumerator(uint16_t value)
void setRhadEM(uint16_t value)
unsigned int shelfNumber() const
Shelf number.
eFexTauRoI_v1 eFexTauRoI
Define the latest version of the eFexTauRoI class.
void setRHadDenominator(uint16_t value)
virtual void setOwner(IDataHandleHolder *o)=0
eFexEMRoI_v1 eFexEMRoI
Define the latest version of the eFexEMRoI class.
void setRetaEnv(uint16_t value)
unsigned int tobVersion() const
Data decoded from the TOB/RoI word and eFEX number.
void initialize(unsigned int eFexNumber, unsigned int shelf, uint32_t word0)
Initialise the object with its most important properties TOB initialiser.
Class describing a LVL1 eFEX tau region of interest.
ObjectType type() const
Data decoded from the TOB/RoI word and eFEX number.
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
void setWstotDenominator(uint16_t value)
unsigned int etTOB() const
Cluster ET (TOB ET scale, 100 MeV/count)
float et() const
TOB ET (decoded from TOB, stored for convenience)
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
float phi() const
Seed supercell index within central tower (0 -> 3)
unsigned int eFexNumber() const
eFEX number
value_type push_back(value_type pElem)
Add an element to the end of the collection.
float eta() const
setter for the above
unsigned int bdtScore() const
BDT Score (xTOB only)
void setRhadHad(uint16_t value)
void setRCoreDenominator(uint16_t value)
unsigned int shelfNumber() const
Shelf number.
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
void setRetaCore(uint16_t value)
float phi() const
Seed supercell index within central tower (0 -> 3)
void setRCoreNumerator(uint16_t value)
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>