ATLAS Offline Software
Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
top::MissingETObjectCollectionMaker Class Referencefinal

#include <MissingETObjectCollectionMaker.h>

Inheritance diagram for top::MissingETObjectCollectionMaker:
Collaboration diagram for top::MissingETObjectCollectionMaker:

Public Member Functions

 MissingETObjectCollectionMaker (const std::string &name)
 
virtual ~MissingETObjectCollectionMaker ()
 
 MissingETObjectCollectionMaker (const MissingETObjectCollectionMaker &rhs)=delete
 
 MissingETObjectCollectionMaker (MissingETObjectCollectionMaker &&rhs)=delete
 
MissingETObjectCollectionMakeroperator= (const MissingETObjectCollectionMaker &rhs)=delete
 
StatusCode initialize ()
 Dummy implementation of the initialisation function. More...
 
StatusCode recalculateMET (const bool executeNominal)
 
virtual const std::list< CP::SystematicSet > & specifiedSystematics () const
 
const std::list< CP::SystematicSet > & recommendedSystematics () const
 
virtual void print () const
 Print the state of the tool. 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
 

Protected Member Functions

virtual void specifiedSystematics (const std::set< std::string > &specifiedSystematics)
 
void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution More...
 
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. More...
 

Private Types

typedef ServiceHandle< StoreGateSvcStoreGateSvc_t
 

Private Member Functions

StatusCode recalculateEventMET (const xAOD::SystematicEvent *event, const xAOD::MissingETContainer *met_core, const bool forceUseLooseObjects=false, const std::string &outputContainerSuffix="")
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyArrayType &)
 specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleType &)
 specialization for handling Gaudi::Property<SG::VarHandleBase> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &t, const SG::NotHandleType &)
 specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
 

Private Attributes

std::shared_ptr< top::TopConfigm_config
 
std::list< CP::SystematicSetm_specifiedSystematics
 
std::list< CP::SystematicSetm_recommendedSystematics
 
std::string m_MET_core
 
ToolHandle< IMETMakerm_met_maker
 
ToolHandle< IMETSystematicsToolm_met_systematics
 
ToolHandle< IMETSignificancem_metSignif
 
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default) More...
 
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default) More...
 
std::vector< SG::VarHandleKeyArray * > m_vhka
 
bool m_varHandleArraysDeclared
 

Detailed Description

Definition at line 39 of file MissingETObjectCollectionMaker.h.

Member Typedef Documentation

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< AlgTool > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ MissingETObjectCollectionMaker() [1/3]

top::MissingETObjectCollectionMaker::MissingETObjectCollectionMaker ( const std::string &  name)
explicit

Definition at line 24 of file MissingETObjectCollectionMaker.cxx.

24  :
26  m_config(nullptr),
27 
30 
31  m_MET_core("setMe"),
32  m_met_maker("met::METMaker"),
33  m_met_systematics("met::METSystematicsTool"),
34  m_metSignif("metSignificance"){
35  declareProperty("config", m_config);
36  declareProperty("METMaker", m_met_maker);
37  declareProperty("met_systematics", m_met_systematics);
38  declareProperty("metSignificance", m_metSignif);
39  }

◆ ~MissingETObjectCollectionMaker()

virtual top::MissingETObjectCollectionMaker::~MissingETObjectCollectionMaker ( )
inlinevirtual

Definition at line 42 of file MissingETObjectCollectionMaker.h.

42 {}

◆ MissingETObjectCollectionMaker() [2/3]

top::MissingETObjectCollectionMaker::MissingETObjectCollectionMaker ( const MissingETObjectCollectionMaker rhs)
delete

◆ MissingETObjectCollectionMaker() [3/3]

top::MissingETObjectCollectionMaker::MissingETObjectCollectionMaker ( MissingETObjectCollectionMaker &&  rhs)
delete

Member Function Documentation

◆ declareGaudiProperty() [1/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< AlgTool > >::declareGaudiProperty ( Gaudi::Property< T > &  hndl,
const SG::VarHandleKeyArrayType  
)
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKeyArray>

Definition at line 170 of file AthCommonDataStore.h.

172  {
173  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
174  hndl.value(),
175  hndl.documentation());
176 
177  }

◆ declareGaudiProperty() [2/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< AlgTool > >::declareGaudiProperty ( Gaudi::Property< T > &  hndl,
const SG::VarHandleKeyType  
)
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKey>

Definition at line 156 of file AthCommonDataStore.h.

158  {
159  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
160  hndl.value(),
161  hndl.documentation());
162 
163  }

◆ declareGaudiProperty() [3/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< AlgTool > >::declareGaudiProperty ( Gaudi::Property< T > &  hndl,
const SG::VarHandleType  
)
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleBase>

Definition at line 184 of file AthCommonDataStore.h.

186  {
187  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
188  hndl.value(),
189  hndl.documentation());
190  }

◆ declareGaudiProperty() [4/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< AlgTool > >::declareGaudiProperty ( Gaudi::Property< T > &  t,
const SG::NotHandleType  
)
inlineprivateinherited

specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray>

Definition at line 199 of file AthCommonDataStore.h.

200  {
201  return PBASE::declareProperty(t);
202  }

◆ declareProperty() [1/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( const std::string &  name,
SG::VarHandleBase hndl,
const std::string &  doc,
const SG::VarHandleType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
hndlObject holding the property value.
docDocumentation 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.

249  {
250  this->declare(hndl.vhKey());
251  hndl.vhKey().setOwner(this);
252 
253  return PBASE::declareProperty(name,hndl,doc);
254  }

◆ declareProperty() [2/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( const std::string &  name,
SG::VarHandleKey hndl,
const std::string &  doc,
const SG::VarHandleKeyType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
hndlObject holding the property value.
docDocumentation 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.

225  {
226  this->declare(hndl);
227  hndl.setOwner(this);
228 
229  return PBASE::declareProperty(name,hndl,doc);
230  }

◆ declareProperty() [3/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( const std::string &  name,
SG::VarHandleKeyArray hndArr,
const std::string &  doc,
const SG::VarHandleKeyArrayType  
)
inlineinherited

Definition at line 259 of file AthCommonDataStore.h.

263  {
264 
265  // std::ostringstream ost;
266  // ost << Algorithm::name() << " VHKA declareProp: " << name
267  // << " size: " << hndArr.keys().size()
268  // << " mode: " << hndArr.mode()
269  // << " vhka size: " << m_vhka.size()
270  // << "\n";
271  // debug() << ost.str() << endmsg;
272 
273  hndArr.setOwner(this);
274  m_vhka.push_back(&hndArr);
275 
276  Gaudi::Details::PropertyBase* p = PBASE::declareProperty(name, hndArr, doc);
277  if (p != 0) {
278  p->declareUpdateHandler(&AthCommonDataStore<PBASE>::updateVHKA, this);
279  } else {
280  ATH_MSG_ERROR("unable to call declareProperty on VarHandleKeyArray "
281  << name);
282  }
283 
284  return p;
285 
286  }

◆ declareProperty() [4/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc,
const SG::NotHandleType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
propertyObject holding the property value.
docDocumentation 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.

337  {
338  return PBASE::declareProperty(name, property, doc);
339  }

◆ declareProperty() [5/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc = "none" 
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
propertyObject holding the property value.
docDocumentation 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.

355  {
356  typedef typename SG::HandleClassifier<T>::type htype;
357  return declareProperty (name, property, doc, htype());
358  }

◆ declareProperty() [6/6]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( Gaudi::Property< T > &  t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

145  {
146  typedef typename SG::HandleClassifier<T>::type htype;
148  }

◆ detStore()

const ServiceHandle<StoreGateSvc>& AthCommonDataStore< AthCommonMsg< AlgTool > >::detStore ( ) const
inlineinherited

The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 95 of file AthCommonDataStore.h.

95 { return m_detStore; }

◆ evtStore() [1/2]

ServiceHandle<StoreGateSvc>& AthCommonDataStore< AthCommonMsg< AlgTool > >::evtStore ( )
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 85 of file AthCommonDataStore.h.

85 { return m_evtStore; }

◆ evtStore() [2/2]

const ServiceHandle<StoreGateSvc>& AthCommonDataStore< AthCommonMsg< AlgTool > >::evtStore ( ) const
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 90 of file AthCommonDataStore.h.

90 { return m_evtStore; }

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::extraDeps_update_handler ( Gaudi::Details::PropertyBase &  ExtraDeps)
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

◆ getKey()

SG::sgkey_t asg::AsgTool::getKey ( const void *  ptr) const
inherited

Get the (hashed) key of an object that is in the event store.

This is a bit of a special one. StoreGateSvc and xAOD::TEvent both provide ways for getting the SG::sgkey_t key for an object that is in the store, based on a bare pointer. But they provide different interfaces for doing so.

In order to allow tools to efficiently perform this operation, they can use this helper function.

See also
asg::AsgTool::getName
Parameters
ptrThe bare pointer to the object that the event store should know about
Returns
The hashed key of the object in the store. If not found, an invalid (zero) key.

Definition at line 119 of file AsgTool.cxx.

119  {
120 
121 #ifdef XAOD_STANDALONE
122  // In case we use @c xAOD::TEvent, we have a direct function call
123  // for this.
124  return evtStore()->event()->getKey( ptr );
125 #else
126  const SG::DataProxy* proxy = evtStore()->proxy( ptr );
127  return ( proxy == nullptr ? 0 : proxy->sgkey() );
128 #endif // XAOD_STANDALONE
129  }

◆ getName()

const std::string & asg::AsgTool::getName ( const void *  ptr) const
inherited

Get the name of an object that is / should be in the event store.

This is a bit of a special one. StoreGateSvc and xAOD::TEvent both provide ways for getting the std::string name for an object that is in the store, based on a bare pointer. But they provide different interfaces for doing so.

In order to allow tools to efficiently perform this operation, they can use this helper function.

See also
asg::AsgTool::getKey
Parameters
ptrThe bare pointer to the object that the event store should know about
Returns
The string name of the object in the store. If not found, an empty string.

Definition at line 106 of file AsgTool.cxx.

106  {
107 
108 #ifdef XAOD_STANDALONE
109  // In case we use @c xAOD::TEvent, we have a direct function call
110  // for this.
111  return evtStore()->event()->getName( ptr );
112 #else
113  const SG::DataProxy* proxy = evtStore()->proxy( ptr );
114  static const std::string dummy = "";
115  return ( proxy == nullptr ? dummy : proxy->name() );
116 #endif // XAOD_STANDALONE
117  }

◆ getProperty()

template<class T >
const T* asg::AsgTool::getProperty ( const std::string &  name) const
inherited

Get one of the tool's properties.

◆ initialize()

StatusCode top::MissingETObjectCollectionMaker::initialize ( )
virtual

Dummy implementation of the initialisation function.

It's here to allow the dual-use tools to skip defining an initialisation function. Since many are doing so...

– Set Systematics Information –///

Reimplemented from asg::AsgTool.

Definition at line 41 of file MissingETObjectCollectionMaker.cxx.

41  {
42  ATH_MSG_INFO(" top::MissingETObjectCollectionMaker initialize");
43 
44  top::check(m_met_maker.retrieve(), "Failed to retrieve met maker tool");
45  top::check(m_met_systematics.retrieve(), "Failed to retrieve met systematic tool");
46  if (m_config->METSignificance()) top::check(m_metSignif.retrieve(), "Failed to retrieve metSignificance!");
47 
48  std::string jet_collection = m_config->sgKeyJets();
49  jet_collection.erase(jet_collection.length() - 4); //erase "Jets" from jet collection name
50 
51  m_MET_core = "MET_Core_" + jet_collection;
52 
54  const std:: string& syststr = m_config->systematics();
55  std::set<std::string> syst;
56 
57  if (!m_config->isSystNominal(syststr) && !m_config->isSystAll(syststr)) {
58  bool ok = m_config->getSystematicsList(syststr, syst);
59  if (!ok) {
60  ATH_MSG_ERROR(" top::MissingETObjectCollectionMaker could not determine systematic list");
61  return StatusCode::FAILURE;
62  }
63  //here the idea is that if the user specifies AllXXX, we leave syst as an empty string, so that all recommended CP
64  // systematics are then used
65  if (m_config->contains(syst, "AllMET")) {
66  syst.clear();
67  }
68  }
69 
71 
72  m_config->systematicsMET(specifiedSystematics());
73 
74  return StatusCode::SUCCESS;
75  }

◆ inputHandles()

virtual std::vector<Gaudi::DataHandle*> AthCommonDataStore< AthCommonMsg< AlgTool > >::inputHandles ( ) const
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.

◆ msg() [1/2]

MsgStream& AthCommonMsg< AlgTool >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

24  {
25  return this->msgStream();
26  }

◆ msg() [2/2]

MsgStream& AthCommonMsg< AlgTool >::msg ( const MSG::Level  lvl) const
inlineinherited

Definition at line 27 of file AthCommonMsg.h.

27  {
28  return this->msgStream(lvl);
29  }

◆ msg_level_name()

const std::string & asg::AsgTool::msg_level_name ( ) const
inherited

A deprecated function for getting the message level's name.

Instead of using this, weirdly named function, user code should get the string name of the current minimum message level (in case they really need it...), with:

MSG::name( msg().level() )

This function's name doesn't follow the ATLAS coding rules, and as such will be removed in the not too distant future.

Returns
The string name of the current minimum message level that's printed

Definition at line 101 of file AsgTool.cxx.

101  {
102 
103  return MSG::name( msg().level() );
104  }

◆ msgLvl()

bool AthCommonMsg< AlgTool >::msgLvl ( const MSG::Level  lvl) const
inlineinherited

Definition at line 30 of file AthCommonMsg.h.

30  {
31  return this->msgLevel(lvl);
32  }

◆ operator=()

MissingETObjectCollectionMaker& top::MissingETObjectCollectionMaker::operator= ( const MissingETObjectCollectionMaker rhs)
delete

◆ outputHandles()

virtual std::vector<Gaudi::DataHandle*> AthCommonDataStore< AthCommonMsg< AlgTool > >::outputHandles ( ) const
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.

◆ print()

void asg::AsgTool::print ( ) const
virtualinherited

◆ recalculateEventMET()

StatusCode top::MissingETObjectCollectionMaker::recalculateEventMET ( const xAOD::SystematicEvent event,
const xAOD::MissingETContainer met_core,
const bool  forceUseLooseObjects = false,
const std::string &  outputContainerSuffix = "" 
)
private

– Tell tool which systematic to use –///

Definition at line 127 of file MissingETObjectCollectionMaker.cxx.

130  {
131  // decoration for objects that pass pre OR selection
132  std::string passPreORSelection = "passPreORSelection";
133  std::string jet_collection = m_config->sgKeyJets();
134  jet_collection.erase(jet_collection.length() - 4); //erase "Jets" from jet collection name
135 
136  const bool is_loose_event = (event->isLooseEvent() == 1 ? true : false);
137 
138  // default behaviour for top analysis - use the "Tight" definitions
139  bool looseLeptonOR(is_loose_event);
140  if (m_config->doOverlapRemovalOnLooseLeptonDef() || (is_loose_event && m_config->useLooseObjectsInMETInLooseTree()) || (!is_loose_event && m_config->useLooseObjectsInMETInNominalTree()) || forceUseLooseObjects) {
141  looseLeptonOR = true;
142  // change decoration we check
143  passPreORSelection = "passPreORSelectionLoose";
144  }
145 
146  const std::size_t hash = event->hashValue();
147 
148  // Make a new MET container that we are going to use
149  xAOD::MissingETContainer* new_met_container = new xAOD::MissingETContainer();
150  xAOD::MissingETAuxContainer* new_met_aux_container = new xAOD::MissingETAuxContainer();
151  new_met_container->setStore(new_met_aux_container);
152 
153  const xAOD::MissingETAssociationMap* metMap(nullptr);
154  const std::string metAssocKey = "METAssoc_" + jet_collection;
155  top::check(evtStore()->retrieve(metMap, metAssocKey), "Failed to retrive MET map");
156  xAOD::MissingETAssociationHelper metHelper(metMap);
157 
158  // Reset all the met map associations
159  metHelper.resetObjSelectionFlags();
160 
161  // Apparently we need to add objects to the METMaker in a specific order
162  // Start by retrieving jet container, we need it to perform e-jet ghost-matching
163  // 1. Electrons
164  const xAOD::ElectronContainer* xaod_el(nullptr);
165  if (m_config->useElectrons()) {
166  // Get all calibrated electrons
167  top::check(evtStore()->retrieve(xaod_el, m_config->sgKeyElectrons(hash)), "Failed to retrieve Electrons");
168 
169  // Add those that pass pre-overlap removal selection to met_electrons
171  for (const auto *el: *xaod_el)
172  if (el->isAvailable<char>(passPreORSelection)
173  && el->auxdata<char>(passPreORSelection) == 1) met_electrons.push_back(el);
174 
175  // Recalculate electron MET term using electrons that pass overlap removal
176  top::check(m_met_maker->rebuildMET("RefEle",
178  new_met_container,
179  met_electrons.asDataVector(),
180  metHelper),
181  "Failed to rebuild electron MET term");
182  }
183 
184  // 2. Photons
185  if (m_config->usePhotons()) {
186  // Get calibrated photons
187  const xAOD::PhotonContainer* xaod_photon(nullptr);
188  top::check(evtStore()->retrieve(xaod_photon, m_config->sgKeyPhotons(hash)), "Failed to retrieve Photons");
189 
190  // Add those that pass pre-overlap removal to met_photons
192  for (const auto *photon: *xaod_photon)
193  if (photon->isAvailable<char>(passPreORSelection)
194  && photon->auxdata<char>(passPreORSelection) == 1) met_photons.push_back(photon);
195 
196  top::check(m_met_maker->rebuildMET("RefPhoton",
198  new_met_container,
199  met_photons.asDataVector(),
200  metHelper),
201  "Failed to rebuild photon MET term");
202  }
203 
204  // 3. Taus
205  if (m_config->useTaus()) {
206  // Get calibrated taus
207  const xAOD::TauJetContainer* xaod_tau(nullptr);
208  top::check(evtStore()->retrieve(xaod_tau, m_config->sgKeyTaus(hash)), "Failed to retrieve Taus");
209 
210  // Add those that pass pre-overlap removal to met_taus
212  for (const auto *tau: *xaod_tau)
213  if (tau->isAvailable<char>(passPreORSelection)
214  && tau->auxdata<char>(passPreORSelection) == 1) met_taus.push_back(tau);
215 
216  top::check(m_met_maker->rebuildMET("RefTau",
218  new_met_container,
219  met_taus.asDataVector(),
220  metHelper),
221  "Failed to rebuild tau MET term");
222  }
223 
224  xAOD::JetContainer* xaod_jet(nullptr);
225  top::check(evtStore()->retrieve(xaod_jet, m_config->sgKeyJets(hash, looseLeptonOR)), "Failed to retrieve Jets");
226  // 4. Muons
227  const xAOD::MuonContainer* xaod_mu(nullptr); // Need these for ghost matching
228  if (m_config->useMuons()) {
229  // Get calibrated muons
230  top::check(evtStore()->retrieve(xaod_mu, m_config->sgKeyMuons(hash)), "Failed to retrieve Muons");
231  if (not xaod_mu){
232  return StatusCode::FAILURE;
233  }
234  // Add those that pass pre-overlap removal to met_muons
236  for (const auto *mu: *xaod_mu)
237  if (mu->isAvailable<char>(passPreORSelection)
238  && mu->auxdata<char>(passPreORSelection) == 1) met_muons.push_back(mu);
239 
240  // Recalculate muon MET term using muons that pass overlap removal
241  top::check(m_met_maker->rebuildMET("RefMuon",
243  new_met_container,
244  met_muons.asDataVector(),
245  metHelper),
246  "Failed to rebuild muon MET term");
247 
248  // Muon-jet ghost association
249  // performed after muon handing to METUtility, but before jets
250  if (xaod_jet) {
251  met::addGhostMuonsToJets(*xaod_mu, *xaod_jet);
252  }
253  } else {
255  top::check(m_met_maker->rebuildMET("RefMuon",
257  new_met_container,
258  met_muons.asDataVector(),
259  metHelper),
260  "Failed to rebuild muon MET term");
261  }
262 
263 
264  // 5. Jets
265  // We do not perfom any selection on jets here. Give them all to the METMaker, it does its own thing
266  top::check(m_met_maker->rebuildJetMET("RefJet",
267  "SoftClus",
268  "PVSoftTrk",
269  new_met_container,
270  xaod_jet,
271  xaod_met_core,
272  metHelper,
273  m_config->doJVTinMET()),
274  "Failed to rebuild jet MET term");
275 
276 
277 
278  for (const auto & systematic : m_specifiedSystematics) {
279  if (systematic.hash() == event->hashValue() && systematic.hash() != m_config->nominalHashValue()) {
281  top::check(m_met_systematics->applySystematicVariation(systematic), "Failed to applySystematicVariation");
282 
283  // code lifted and modified from:
284  // https://svnweb.cern.ch/trac/atlasoff/browser/Reconstruction/MET/METUtilities/tags/METUtilities-00-01-43/util/example_METMaker_METSystematicsTool.cxx
285 
286  //get the soft cluster term, and applyCorrection
287  xAOD::MissingET* softClusMet = (*new_met_container)["SoftClus"];
288  if (softClusMet != nullptr) { //check we retrieved the clust term
289  m_met_systematics->setRandomSeed(static_cast<int>(1e6*softClusMet->phi()));
290  top::check(m_met_systematics->applyCorrection(*softClusMet, metHelper), "Failed to applyCorrection");
291  }
292 
293  xAOD::MissingET* softTrkMet = (*new_met_container)["PVSoftTrk"];
294  if (softTrkMet != nullptr) { //check we retrieved the soft trk
295  m_met_systematics->setRandomSeed(static_cast<int>(1e6*softTrkMet->phi()));
296  top::check(m_met_systematics->applyCorrection(*softTrkMet, metHelper), "Failed to applyCorrection");
297  }
298  }
299  }
300 
301  // This will sum up all the contributions we've made so far e.g.
302  // Total MET = RefEle + RefPhoton + RefTau + RefMuon + RefJet + PVSoftTrk (Track Soft Term)
303  top::check(met::buildMETSum("FinalTrk",
304  new_met_container,
306  "Failed to rebuild Final Track MET");
307  if(m_config->METSignificance()){
308  const xAOD::EventInfo* eventInfo(nullptr);
309  top::check(evtStore()->retrieve(eventInfo, m_config->sgKeyEventInfo()), "failded to retrieve event info obj");
310  // met significance
311  top::check(m_metSignif->varianceMET(new_met_container, eventInfo->averageInteractionsPerCrossing(), "RefJet", "PVSoftTrk","FinalTrk"), "Failed to execute MetSignificance::varianceMET!");
312 
313  for (auto mets : *new_met_container){
314  mets->auxdecor<float>("metSigET") = m_metSignif->GetMETOverSqrtSumET();
315  mets->auxdecor<float>("metSigHT") = m_metSignif->GetMETOverSqrtHT();
316  mets->auxdecor<float>("metSig") = m_metSignif->GetSignificance();
317  mets->auxdecor<float>("metSigRho") = m_metSignif->GetRho();
318  mets->auxdecor<float>("metSigVarL") = m_metSignif->GetVarL();
319  mets->auxdecor<float>("metSigVarT") = m_metSignif->GetVarT();
320  }
321  }
322 
323  /************************************************************
324  // We are only going to build a single MET Sum now for clarity. The final argument is the soft term we
325  // want to use. The recommended one is the track soft term (TST) as above.
326 
327  top::check(mer::buildMETSum("FinalClus", new_met_container, MissingETBase::Source::EMTopo),
328  "Failed to rebuild Final Cluster MET");
329  ************************************************************/
330 
331  // Save corrected xAOD Container to StoreGate / TStore
332  std::string outputSGKey = m_config->sgKeyMissingEt(hash);
333  if (is_loose_event) outputSGKey = m_config->sgKeyMissingEtLoose(hash);
334 
335  outputSGKey+=outputContainerSuffix;
336  const std::string outputSGKeyAux = outputSGKey + "Aux.";
337 
338  StatusCode save = evtStore()->tds()->record(new_met_container, outputSGKey);
339  StatusCode saveAux = evtStore()->tds()->record(new_met_aux_container, outputSGKeyAux);
340 
341  if (save.isFailure() || saveAux.isFailure()) {
342  return StatusCode::FAILURE;
343  }
344 
345 
346  return StatusCode::SUCCESS;
347  }

◆ recalculateMET()

StatusCode top::MissingETObjectCollectionMaker::recalculateMET ( const bool  executeNominal)

– if executeNominal, skip other systematics (and vice-versa) –///

– if executeNominal, skip other systematics (and vice-versa) –///

Definition at line 77 of file MissingETObjectCollectionMaker.cxx.

77  {
78  // met core contains the soft terms we need to add to our met calculation
79  const xAOD::MissingETContainer* xaod_met_core(nullptr);
80 
81  top::check(evtStore()->retrieve(xaod_met_core, m_MET_core), "Failed to retrieve MET Core");
82 
83  if (m_config->doTightEvents()) {
84  // All the tight systematic events
85  const xAOD::SystematicEventContainer* systEvents(nullptr);
86  if (executeNominal) {
87  top::check(evtStore()->retrieve(systEvents,
88  m_config->sgKeyTopSystematicEvents() + "Nominal"),
89  "Failed to retrieve nominal TopEvents");
90  } else {
91  top::check(evtStore()->retrieve(systEvents,
92  m_config->sgKeyTopSystematicEvents()), "Failed to retrieve TopEvents");
93  }
94  for (auto x : *systEvents) {
96  if (!executeNominal && m_config->isSystNominal(m_config->systematicName(x->hashValue()))) continue;
97  if (executeNominal && !m_config->isSystNominal(m_config->systematicName(x->hashValue()))) continue;
98  top::check(recalculateEventMET(x, xaod_met_core), "Failed to recalculate MET for event");
99  if(m_config->writeMETBuiltWithLooseObjects()) top::check(recalculateEventMET(x, xaod_met_core, true, "WithLooseObjects"), "Failed to recalculate MET using loose leptons for event");
100  }
101  } // tight events
102  if (m_config->doLooseEvents()) {
103  // All the loose systematic events
104  const xAOD::SystematicEventContainer* systEventsLoose(nullptr);
105  if (executeNominal) {
106  top::check(evtStore()->retrieve(systEventsLoose,
107  m_config->sgKeyTopSystematicEventsLoose() + "Nominal"),
108  "Failed to retrieve nominal TopEventsLoose");
109  } else {
110  top::check(evtStore()->retrieve(systEventsLoose,
111  m_config->sgKeyTopSystematicEventsLoose()),
112  "Failed to retrieve TopEventsLoose");
113  }
114 
115  for (auto x : *systEventsLoose) {
117  if (!executeNominal && m_config->isSystNominal(m_config->systematicName(x->hashValue()))) continue;
118  if (executeNominal && !m_config->isSystNominal(m_config->systematicName(x->hashValue()))) continue;
119  top::check(recalculateEventMET(x, xaod_met_core), "Failed to recalculate MET for loose event");
120  if(m_config->writeMETBuiltWithLooseObjects()) top::check(recalculateEventMET(x, xaod_met_core, true, "WithLooseObjects"), "Failed to recalculate MET using loose leptons for event");
121  }
122  } // Loose events
123 
124  return StatusCode::SUCCESS;
125  }

◆ recommendedSystematics()

const std::list<CP::SystematicSet>& top::MissingETObjectCollectionMaker::recommendedSystematics ( ) const
inline

Definition at line 56 of file MissingETObjectCollectionMaker.h.

◆ renounce()

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> AthCommonDataStore< AthCommonMsg< AlgTool > >::renounce ( T &  h)
inlineprotectedinherited

Definition at line 380 of file AthCommonDataStore.h.

381  {
382  h.renounce();
383  PBASE::renounce (h);
384  }

◆ renounceArray()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::renounceArray ( SG::VarHandleKeyArray handlesArray)
inlineprotectedinherited

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364  {
365  handlesArray.renounce();
366  }

◆ specifiedSystematics() [1/2]

virtual const std::list<CP::SystematicSet>& top::MissingETObjectCollectionMaker::specifiedSystematics ( ) const
inlinevirtual

Definition at line 53 of file MissingETObjectCollectionMaker.h.

53 {return m_specifiedSystematics;}

◆ specifiedSystematics() [2/2]

void top::MissingETObjectCollectionMaker::specifiedSystematics ( const std::set< std::string > &  specifiedSystematics)
protectedvirtual

– Get the recommended systematics from the tool, in std::vector format –///

– Recommendation is to use soft track terms and not soft calo terms –/// – Soft calo systematics are irrelevant, let's ignore them –///

MC only –///

– Are we only doing Nominal? Did the user specify specific systematics to use? –///

Definition at line 349 of file MissingETObjectCollectionMaker.cxx.

349  {
351  const std::vector<CP::SystematicSet> systList = CP::make_systematics_vector(
352  m_met_systematics->recommendedSystematics());
353 
354  for (auto s : systList) {
355 
356  if(!m_config->getTreeFilter()->filterTree(s.name())) continue; // Applying tree filter
357 
360  if (s.name().find("SoftCalo") == std::string::npos) {
361  m_recommendedSystematics.push_back(s);
362  if (s.name() == "") {
363  m_specifiedSystematics.push_back(s);
364  }
365 
367  if (m_config->isMC()) {
369  if (!m_config->isSystNominal(m_config->systematics())) {
370  if (specifiedSystematics.size() == 0) {
371  m_specifiedSystematics.push_back(s);
372  }
373  if (specifiedSystematics.size() > 0) {
374  for (auto i : specifiedSystematics) {
375  TreeFilter filter(i);
376  if (!filter.filterTree(s.name())) {
377  m_specifiedSystematics.push_back(s);
378  }
379  }
380  }
381  }
382  }
383  }
384  }
386  m_recommendedSystematics.unique();
387  m_specifiedSystematics.sort();
388  m_specifiedSystematics.unique();
389  }

◆ sysInitialize()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::sysInitialize ( )
overridevirtualinherited

Perform system initialization for an algorithm.

We override this to declare all the elements of handle key arrays at the end of initialization. See comments on updateVHKA.

Reimplemented in DerivationFramework::CfAthAlgTool, AthCheckedComponent< AthAlgTool >, AthCheckedComponent<::AthAlgTool >, and asg::AsgMetadataTool.

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::sysStart ( )
overridevirtualinherited

Handle START transition.

We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.

◆ updateVHKA()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::updateVHKA ( Gaudi::Details::PropertyBase &  )
inlineinherited

Definition at line 308 of file AthCommonDataStore.h.

308  {
309  // debug() << "updateVHKA for property " << p.name() << " " << p.toString()
310  // << " size: " << m_vhka.size() << endmsg;
311  for (auto &a : m_vhka) {
312  std::vector<SG::VarHandleKey*> keys = a->keys();
313  for (auto k : keys) {
314  k->setOwner(this);
315  }
316  }
317  }

Member Data Documentation

◆ m_config

std::shared_ptr<top::TopConfig> top::MissingETObjectCollectionMaker::m_config
private

Definition at line 66 of file MissingETObjectCollectionMaker.h.

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< AlgTool > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< AlgTool > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_MET_core

std::string top::MissingETObjectCollectionMaker::m_MET_core
private

Definition at line 71 of file MissingETObjectCollectionMaker.h.

◆ m_met_maker

ToolHandle<IMETMaker> top::MissingETObjectCollectionMaker::m_met_maker
private

Definition at line 73 of file MissingETObjectCollectionMaker.h.

◆ m_met_systematics

ToolHandle<IMETSystematicsTool> top::MissingETObjectCollectionMaker::m_met_systematics
private

Definition at line 74 of file MissingETObjectCollectionMaker.h.

◆ m_metSignif

ToolHandle<IMETSignificance> top::MissingETObjectCollectionMaker::m_metSignif
private

Definition at line 75 of file MissingETObjectCollectionMaker.h.

◆ m_recommendedSystematics

std::list<CP::SystematicSet> top::MissingETObjectCollectionMaker::m_recommendedSystematics
private

Definition at line 69 of file MissingETObjectCollectionMaker.h.

◆ m_specifiedSystematics

std::list<CP::SystematicSet> top::MissingETObjectCollectionMaker::m_specifiedSystematics
private

Definition at line 68 of file MissingETObjectCollectionMaker.h.

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< AlgTool > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

std::vector<SG::VarHandleKeyArray*> AthCommonDataStore< AthCommonMsg< AlgTool > >::m_vhka
privateinherited

Definition at line 398 of file AthCommonDataStore.h.


The documentation for this class was generated from the following files:
python.PyKernel.retrieve
def retrieve(aClass, aKey=None)
Definition: PyKernel.py:110
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition: AsgTool.h:47
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
xAOD::Electron
Electron_v1 Electron
Definition of the current "egamma version".
Definition: Event/xAOD/xAODEgamma/xAODEgamma/Electron.h:17
StateLessPT_NewConfig.proxy
proxy
Definition: StateLessPT_NewConfig.py:392
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
xAOD::MissingETAuxContainer
MissingETAuxContainer_v1 MissingETAuxContainer
Definition: MissingETAuxContainer.h:16
top::MissingETObjectCollectionMaker::m_metSignif
ToolHandle< IMETSignificance > m_metSignif
Definition: MissingETObjectCollectionMaker.h:75
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
CP::make_systematics_vector
std::vector< CP::SystematicSet > make_systematics_vector(const SystematicSet &systematics)
utility functions for working with systematics
Definition: SystematicsUtil.cxx:25
SG::VIEW_ELEMENTS
@ VIEW_ELEMENTS
this data object is a view, it does not own its elmts
Definition: OwnershipPolicy.h:18
AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
xAOD::MissingET_v1::phi
float phi() const
Returns .
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_evtStore
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
Definition: AthCommonDataStore.h:390
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_vhka
std::vector< SG::VarHandleKeyArray * > m_vhka
Definition: AthCommonDataStore.h:398
xAOD::MissingETContainer
MissingETContainer_v1 MissingETContainer
Definition: Event/xAOD/xAODMissingET/xAODMissingET/MissingETContainer.h:16
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
MissingETBase::Types::bitmask_t
uint64_t bitmask_t
Type for status word bit mask.
Definition: MissingETBase.h:39
x
#define x
top::MissingETObjectCollectionMaker::m_met_systematics
ToolHandle< IMETSystematicsTool > m_met_systematics
Definition: MissingETObjectCollectionMaker.h:74
xAOD::MissingETAssociationMap_v1
Definition: MissingETAssociationMap_v1.h:29
python.iconfTool.models.loaders.level
level
Definition: loaders.py:20
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
covarianceTool.filter
filter
Definition: covarianceTool.py:514
met::buildMETSum
StatusCode buildMETSum(const std::string &totalName, xAOD::MissingETContainer *metCont)
Definition: METHelpers.cxx:64
top::MissingETObjectCollectionMaker::m_MET_core
std::string m_MET_core
Definition: MissingETObjectCollectionMaker.h:71
AthCommonDataStore< AthCommonMsg< AlgTool > >::evtStore
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition: AthCommonDataStore.h:85
top::MissingETObjectCollectionMaker::m_met_maker
ToolHandle< IMETMaker > m_met_maker
Definition: MissingETObjectCollectionMaker.h:73
checkTP.save
def save(self, fileName="./columbo.out")
Definition: checkTP.py:178
met::addGhostMuonsToJets
void addGhostMuonsToJets(const xAOD::MuonContainer &muons, xAOD::JetContainer &jets)
Definition: METHelpers.cxx:34
AthCommonDataStore
Definition: AthCommonDataStore.h:52
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
event
POOL::TEvent event(POOL::TEvent::kClassAccess)
lumiFormat.i
int i
Definition: lumiFormat.py:92
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
xAOD::MissingET_v1
Principal data object for Missing ET.
Definition: MissingET_v1.h:25
plotIsoValidation.el
el
Definition: plotIsoValidation.py:197
top::check
void check(bool thingToCheck, const std::string &usefulFailureMessage)
Print an error message and terminate if thingToCheck is false.
Definition: EventTools.cxx:15
python.xAODType.dummy
dummy
Definition: xAODType.py:4
xAOD::MissingETAuxContainer_v1
Auxiliary data store for xAOD::MissingETContainer.
Definition: MissingETAuxContainer_v1.h:20
MSG::name
const std::string & name(Level lvl)
Convenience function for translating message levels to strings.
Definition: MsgLevel.cxx:19
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
top::MissingETObjectCollectionMaker::m_recommendedSystematics
std::list< CP::SystematicSet > m_recommendedSystematics
Definition: MissingETObjectCollectionMaker.h:69
SG::VarHandleKeyArray::renounce
virtual void renounce()=0
SG::HandleClassifier::type
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
Definition: HandleClassifier.h:54
top::MissingETObjectCollectionMaker::specifiedSystematics
virtual const std::list< CP::SystematicSet > & specifiedSystematics() const
Definition: MissingETObjectCollectionMaker.h:53
xAOD::MissingETContainer_v1
Container for xAOD::MissingET_v1 objects.
Definition: MissingETContainer_v1.h:21
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
xAOD::MissingETAssociationHelper
Definition: MissingETAssociationHelper.h:26
xAOD::EventInfo_v1
Class describing the basic event information.
Definition: EventInfo_v1.h:43
xAOD::Photon
Photon_v1 Photon
Definition of the current "egamma version".
Definition: Event/xAOD/xAODEgamma/xAODEgamma/Photon.h:17
Muon
struct TBPatternUnitContext Muon
top::MissingETObjectCollectionMaker::recalculateEventMET
StatusCode recalculateEventMET(const xAOD::SystematicEvent *event, const xAOD::MissingETContainer *met_core, const bool forceUseLooseObjects=false, const std::string &outputContainerSuffix="")
Definition: MissingETObjectCollectionMaker.cxx:127
MissingETBase::Source::Signal::Track
@ Track
Indicator for MET contribution from reconstructed charged particle tracks.
xAOD::photon
@ photon
Definition: TrackingPrimitives.h:199
a
TList * a
Definition: liststreamerinfos.cxx:10
h
CaloCondBlobAlgs_fillNoiseFromASCII.hash
dictionary hash
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:109
ConstDataVector
DataVector adapter that acts like it holds const pointers.
Definition: ConstDataVector.h:76
AthCommonMsg< AlgTool >::msg
MsgStream & msg() const
Definition: AthCommonMsg.h:24
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:616
declareProperty
#define declareProperty(n, p, h)
Definition: BaseFakeBkgTool.cxx:15
xAODType::Tau
@ Tau
The object is a tau (jet)
Definition: ObjectType.h:49
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:790
top::MissingETObjectCollectionMaker::m_config
std::shared_ptr< top::TopConfig > m_config
Definition: MissingETObjectCollectionMaker.h:66
top::MissingETObjectCollectionMaker::m_specifiedSystematics
std::list< CP::SystematicSet > m_specifiedSystematics
Definition: MissingETObjectCollectionMaker.h:68
SG::DataProxy
Definition: DataProxy.h:44
CaloNoise_fillDB.mu
mu
Definition: CaloNoise_fillDB.py:53
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
fitman.k
k
Definition: fitman.py:528