![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
#include <TrigL1FexJetMonitorTool.h>
|
| TrigL1FexJetMonitorTool (const std::string &, const std::string &, const IInterface *) |
|
virtual StatusCode | queryInterface (const InterfaceID &riid, void **ppvIf) override |
|
virtual StatusCode | initialize () override |
|
virtual StatusCode | getData (const EventContext &ctx, std::vector< JetData > &jetData) const override |
|
virtual StatusCode | getMatchData (const EventContext &ctx, MatchToEnum, std::vector< JetMatchData > &jetData) const override |
|
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 |
|
| DeclareInterfaceID (ITrigJetMonitorTool, 1, 0) |
|
template<typename T>
class TrigL1FexJetMonitorTool< T >
Definition at line 21 of file TrigL1FexJetMonitorTool.h.
◆ JetContainer
◆ StoreGateSvc_t
◆ TrigL1FexJetMonitorTool()
◆ 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]
◆ DeclareInterfaceID()
◆ 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);
◆ 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.
◆ 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.
◆ 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]
◆ 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
◆ getData()
◆ getMatchData()
Implements ITrigJetMonitorTool.
Definition at line 196 of file TrigL1FexJetMonitorTool.cxx.
202 return StatusCode::SUCCESS;
205 std::unique_ptr<SG::ReadDecorHandle<JetContainer, char>> matchedHandle;
206 std::unique_ptr<SG::ReadDecorHandle<JetContainer, double>> ptdiffHandle;
207 std::unique_ptr<SG::ReadDecorHandle<JetContainer, double>> energydiffHandle;
208 std::unique_ptr<SG::ReadDecorHandle<JetContainer, double>> massdiffHandle;
209 std::unique_ptr<SG::ReadDecorHandle<JetContainer, double>> ptrespHandle;
210 std::unique_ptr<SG::ReadDecorHandle<JetContainer, double>> energyrespHandle;
211 std::unique_ptr<SG::ReadDecorHandle<JetContainer, double>> massrespHandle;
212 std::unique_ptr<SG::ReadDecorHandle<JetContainer, double>> ptrefHandle;
213 std::unique_ptr<SG::ReadDecorHandle<JetContainer, double>> etarefHandle;
238 return StatusCode::FAILURE;
241 ATH_CHECK((*matchedHandle).initialize());
243 ATH_CHECK((*energydiffHandle).initialize());
244 ATH_CHECK((*massdiffHandle).initialize());
246 ATH_CHECK((*energyrespHandle).initialize());
247 ATH_CHECK((*massrespHandle).initialize());
259 ATH_MSG_WARNING(
"evtStore() does not contain the L1 jet collection with name "
261 return StatusCode::SUCCESS;
265 bool matched = (*matchedHandle)(*jet);
268 jetMatchData.emplace_back((*ptdiffHandle)(*
jet),
269 (*energydiffHandle)(*
jet),
270 (*massdiffHandle)(*
jet),
271 (*ptrespHandle)(*
jet),
272 (*energyrespHandle)(*
jet),
273 (*massrespHandle)(*
jet),
274 (*ptrefHandle)(*
jet),
275 (*etarefHandle)(*
jet));
279 return StatusCode::SUCCESS;
◆ initialize()
◆ 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.
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ 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.
◆ queryInterface()
Definition at line 31 of file TrigL1FexJetMonitorTool.cxx.
33 if ( riid == ITrigJetMonitorTool::interfaceID() ) {
36 return StatusCode::SUCCESS;
39 return AthAlgTool::queryInterface( riid, ppvIf );
◆ 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_doMatching
Initial value:{
this, "do_matching", false,
"Plotting response histograms for L1 jets matched to online/offline jets"}
Definition at line 55 of file TrigL1FexJetMonitorTool.h.
◆ m_evtStore
◆ m_hltenergydiffKey
Initial value:{
this, "hltenergydiff", "hltenergydiff",
"SG key for input matched energydiff decoration"}
Definition at line 108 of file TrigL1FexJetMonitorTool.h.
◆ m_hltenergyrespKey
Initial value:{
this, "hltenergyresp", "hltenergyresp",
"SG key for input matched energyresp decoration"}
Definition at line 120 of file TrigL1FexJetMonitorTool.h.
◆ m_hltetarefKey
Initial value:{
this, "hltetaref", "hltetaref",
"SG key for input matched etaref decoration"}
Definition at line 132 of file TrigL1FexJetMonitorTool.h.
◆ m_HLTJetContainerToMatch
Initial value:{
this, "HLTJetsToMatch", "", "Name of matched HLT jet collection"}
Definition at line 63 of file TrigL1FexJetMonitorTool.h.
◆ m_hltmassdiffKey
Initial value:{
this, "hltmassdiff", "hltmassdiff",
"SG key for input matched massdiff decoration"}
Definition at line 112 of file TrigL1FexJetMonitorTool.h.
◆ m_hltmassrespKey
Initial value:{
this, "hltmassresp", "hltmassresp",
"SG key for input matched massresp decoration"}
Definition at line 124 of file TrigL1FexJetMonitorTool.h.
◆ m_hltmatchedKey
Initial value:{
this, "hltmatched", "hltmatched", "SG key for input matched decoration"}
Definition at line 101 of file TrigL1FexJetMonitorTool.h.
◆ m_hltptdiffKey
Initial value:{
this, "hltptdiff", "hltptdiff",
"SG key for input matched ptdiff decoration"}
Definition at line 104 of file TrigL1FexJetMonitorTool.h.
◆ m_hltptrefKey
Initial value:{
this, "hltptref", "hltptref",
"SG key for input matched ptref decoration"}
Definition at line 128 of file TrigL1FexJetMonitorTool.h.
◆ m_hltptrespKey
Initial value:{
this, "hltptresp", "hltptresp",
"SG key for input matched ptresp decoration"}
Definition at line 116 of file TrigL1FexJetMonitorTool.h.
◆ m_l1jetContainerkey
◆ m_offenergydiffKey
Initial value:{
this, "offenergydiff", "offenergydiff",
"SG key for input matched energydiff decoration"}
Definition at line 73 of file TrigL1FexJetMonitorTool.h.
◆ m_offenergyrespKey
Initial value:{
this, "offenergyresp", "offenergyresp",
"SG key for input matched energyresp decoration"}
Definition at line 85 of file TrigL1FexJetMonitorTool.h.
◆ m_offetarefKey
Initial value:{
this, "offetaref", "offetaref",
"SG key for input matched etaref decoration"}
Definition at line 97 of file TrigL1FexJetMonitorTool.h.
◆ m_offlineJetContainerToMatch
Initial value:{
this, "offlineJetsToMatch", "",
"Name of matched offline jet collection"}
Definition at line 59 of file TrigL1FexJetMonitorTool.h.
◆ m_offmassdiffKey
Initial value:{
this, "offmassdiff", "offmassdiff",
"SG key for input matched massdiff decoration"}
Definition at line 77 of file TrigL1FexJetMonitorTool.h.
◆ m_offmassrespKey
Initial value:{
this, "offmassresp", "offmassresp",
"SG key for input matched massresp decoration"}
Definition at line 89 of file TrigL1FexJetMonitorTool.h.
◆ m_offmatchedKey
Initial value:{
this, "offmatched", "offmatched", "SG key for input matched decoration"}
Definition at line 66 of file TrigL1FexJetMonitorTool.h.
◆ m_offptdiffKey
Initial value:{
this, "offptdiff", "offptdiff",
"SG key for input matched ptdiff decoration"}
Definition at line 69 of file TrigL1FexJetMonitorTool.h.
◆ m_offptrefKey
Initial value:{
this, "offptref", "offptref",
"SG key for input matched ptref decoration"}
Definition at line 93 of file TrigL1FexJetMonitorTool.h.
◆ m_offptrespKey
Initial value:{
this, "offptresp", "offptresp",
"SG key for input matched ptresp decoration"}
Definition at line 81 of file TrigL1FexJetMonitorTool.h.
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
const std::string & key() const
Return the StoreGate ID for the referenced object.
virtual void setOwner(IDataHandleHolder *o)=0
Handle class for reading a decoration on an object.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
std::string et_label(const xAOD::jFexSRJetRoI *)
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
#define ATH_MSG_WARNING(x)
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
bool vetoJet(const xAOD::jFexSRJetRoI *j)