ATLAS Offline Software
Classes | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Private Types | Private Member Functions | Private Attributes | List of all members
MuonCluster Class Reference

#include <MuonCluster.h>

Inheritance diagram for MuonCluster:
Collaboration diagram for MuonCluster:

Classes

struct  lvl1_muclu_roi
 

Public Member Functions

 MuonCluster (const std::string &name, ISvcLocator *svc)
 Constructor. More...
 
 ~MuonCluster ()
 
virtual StatusCode initialize () override
 hltInitialize() More...
 
virtual StatusCode execute (const EventContext &ctx) const override
 hltExecute(), main code of the algorithm More...
 
virtual StatusCode sysInitialize () override
 Override sysInitialize. More...
 
virtual bool isClonable () const override
 Specify if the algorithm is clonable. More...
 
virtual unsigned int cardinality () const override
 Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant. More...
 
virtual StatusCode sysExecute (const EventContext &ctx) override
 Execute an algorithm. More...
 
virtual const DataObjIDColl & extraOutputDeps () const override
 Return the list of extra output dependencies. More...
 
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. 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 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
 

Public Attributes

SG::ReadHandleKey< TrigRoiDescriptorCollectionm_roiCollectionKey
 
SG::WriteHandleKey< xAOD::TrigCompositeContainerm_outputCompositesKey
 
SG::WriteHandleKey< TrigRoiDescriptorCollectionm_outputRoiDescriptorKey
 
SG::WriteDecorHandleKey< xAOD::TrigCompositeContainerm_muRoiClusEtaKey
 
SG::WriteDecorHandleKey< xAOD::TrigCompositeContainerm_muRoiClusPhiKey
 
SG::WriteDecorHandleKey< xAOD::TrigCompositeContainerm_muRoiClusNRoiKey
 

Protected Member Functions

float DeltaR (lvl1_muclu_roi, lvl1_muclu_roi) const
 calculcate the deltaR between two Rois More...
 
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...
 

Protected Attributes

Gaudi::Property< float > m_DeltaR {this, "DeltaR", 0.4, "radius of the muon cluster"}
 A property which specifies the radius of the cluster. More...
 
Gaudi::Property< std::string > m_featureLabel {"MuonCluLabel", "MuonClusterInput", "label for the MuonCluster feature in the HLT Navigation, for the xAOD::TrigCompositeContainer"}
 

Private Types

typedef ServiceHandle< StoreGateSvcStoreGateSvc_t
 

Private Member Functions

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

ToolHandle< GenericMonitoringToolm_monTool {this,"MonTool","","Monitoring Tool"}
 
DataObjIDColl m_extendedExtraObjects
 Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks. More...
 
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 46 of file Trigger/TrigAlgorithms/TrigLongLivedParticles/src/MuonCluster.h.

Member Typedef Documentation

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ MuonCluster()

MuonCluster::MuonCluster ( const std::string &  name,
ISvcLocator *  svc 
)

Constructor.

Definition at line 36 of file Trigger/TrigAlgorithms/TrigLongLivedParticles/src/MuonCluster.cxx.

38 
39 }

◆ ~MuonCluster()

MuonCluster::~MuonCluster ( )

Member Function Documentation

◆ cardinality()

unsigned int AthReentrantAlgorithm::cardinality ( ) const
overridevirtualinherited

Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant.

Override this to return 0 for reentrant algorithms.

Override this to return 0 for reentrant algorithms.

Definition at line 55 of file AthReentrantAlgorithm.cxx.

56 {
57  return 0;
58 }

◆ declareGaudiProperty() [1/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::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< Gaudi::Algorithm > >::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< Gaudi::Algorithm > >::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< Gaudi::Algorithm > >::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< Gaudi::Algorithm > >::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< Gaudi::Algorithm > >::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< Gaudi::Algorithm > >::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< Gaudi::Algorithm > >::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< Gaudi::Algorithm > >::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< Gaudi::Algorithm > >::declareProperty ( Gaudi::Property< T > &  t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

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

◆ DeltaR()

float MuonCluster::DeltaR ( lvl1_muclu_roi  p_roi,
lvl1_muclu_roi  q_roi 
) const
protected

calculcate the deltaR between two Rois

Definition at line 291 of file Trigger/TrigAlgorithms/TrigLongLivedParticles/src/MuonCluster.cxx.

291  {
292 
293  float delPhi = CxxUtils::wrapToPi((p_roi).phi-(q_roi).phi);
294  float delEta = (p_roi).eta-(q_roi).eta;
295 
296  return(sqrt(delPhi*delPhi+delEta*delEta));
297 }

◆ detStore()

const ServiceHandle<StoreGateSvc>& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::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< Gaudi::Algorithm > >::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< Gaudi::Algorithm > >::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; }

◆ execute()

StatusCode MuonCluster::execute ( const EventContext &  ctx) const
overridevirtual

hltExecute(), main code of the algorithm

Definition at line 66 of file Trigger/TrigAlgorithms/TrigLongLivedParticles/src/MuonCluster.cxx.

67 {
68  ATH_MSG_DEBUG("MuonCluster::execute()");
69 
70  std::vector<double> RoiEta_mon;
71  std::vector<double> RoiPhi_mon;
72  std::vector<double> RoiZed_mon;
73 
74  auto CluEta = Monitored::Scalar<double>("CluEta", -99.);
75  auto CluPhi = Monitored::Scalar<double>("CluPhi", -99.);
76  auto CluNum = Monitored::Scalar<int>("NumRoi", 0);
77 
78  auto nL1RoIs = Monitored::Scalar<int>("nL1RoIs",-99);
79  auto nRoIinClusters = Monitored::Scalar<int>("nRoIinClusters",-99);
80  auto nClusters = Monitored::Scalar<int>("nClusters",-99);
81 
82  auto dPhi_cluSeed = Monitored::Scalar<float>("dPhiCluSeed", -99.);
83  auto dEta_cluSeed = Monitored::Scalar<float>("dEtaCluSeed", -99.);
84  auto dR_cluSeed = Monitored::Scalar<float>("dRCluSeed", -99.);
85 
86  auto dPhi_RoivecSeed = Monitored::Scalar<double>("dPhiRoiVecSeed", -99.);
87  auto dEta_RoivecSeed = Monitored::Scalar<double>("dEtaRoiVecSeed", -99.);
88  auto dR_RoivecSeed = Monitored::Scalar<double>("dRRoiVecSeed", -99.);
89 
90  auto mon_roiEta = Monitored::Collection("RoiEta", RoiEta_mon);
91  auto mon_roiPhi = Monitored::Collection("RoiPhi", RoiPhi_mon);
92 
93  auto t1 = Monitored::Timer("TIME_TrigAlg");
94  auto t2 = Monitored::Timer("TIME_TrigAlg_Clustering");
95 
96  auto mon = Monitored::Group(m_monTool, mon_roiEta, mon_roiPhi,
97  CluEta, CluPhi, CluNum,
98  nL1RoIs, nRoIinClusters, nClusters,
99  dPhi_cluSeed, dR_cluSeed, dEta_cluSeed,
100  t1, t2);
101 
102  //Setup the composite container we will put the MuonRoICluster in
103  auto trigCompColl = SG::makeHandle(m_outputCompositesKey, ctx);
104  ATH_CHECK(
105  trigCompColl.record(std::make_unique<xAOD::TrigCompositeContainer>(),std::make_unique<xAOD::TrigCompositeAuxContainer>())
106  );
107 
108  //Setup Decorator Handlers
112 
113  //Setup the RoI Descriptor container we will put the MuonRoIDescriptors in
115 
116  //check to make sure we have all the input trigger elements!
117 
118  int n_cl=0;
119  lvl1_muclu_roi muonClu[20] = {{0,0,0}};
120  lvl1_muclu_roi muonClu0[20] = {{0,0,0}};
121 
122  auto roiCollectionHdl = SG::makeHandle(m_roiCollectionKey, ctx);
123  auto roiCollection = roiCollectionHdl.get();
124 
125  if (roiCollection->size() < 2){ //should be the L1 Muon RoI container
126  ATH_MSG_WARNING("Input TrigRoiDescriptorCollection isn't the correct size! Potential L1 menu inconsistency. Got " << roiCollection->size() << " RoIs");
127  return StatusCode::SUCCESS;
128  }
129 
130  nL1RoIs = roiCollection->size();
131  nRoIinClusters = 0;
132  for (const TrigRoiDescriptor *roi : *roiCollection)
133  {
134  if(n_cl>= kMAX_ROI) {
135  ATH_MSG_WARNING("Too many L1 Muon RoIs: bailing out");
136  break;
137  }
138 
139  RoiEta_mon.push_back(roi->eta());
140  RoiPhi_mon.push_back(roi->phi());
141  lvl1_muclu_roi my_lvl1_clu_roi;
142  my_lvl1_clu_roi.eta = roi->eta();
143  my_lvl1_clu_roi.phi = roi->phi();
144  my_lvl1_clu_roi.nroi = 0;
145  muonClu[n_cl] = my_lvl1_clu_roi;
146  muonClu0[n_cl] = my_lvl1_clu_roi;
147  ++n_cl;
148  }
149 
150  if (msgLvl(MSG::DEBUG)) {
151  ATH_MSG_DEBUG("Accumulated " << n_cl << " ROI Directions: ");
152  ATH_MSG_DEBUG(" [eta, phi]");
153  for (int unsigned i=0;i<RoiEta_mon.size();i++) {
154  ATH_MSG_DEBUG(" [" << RoiEta_mon.at(i) << "," << RoiPhi_mon.at(i) << "]");
155  }
156  }
157 
158  // start the clustering
159 
160  t2.start();
161  int n_itr = 0;
162  for(int i_cl=0; i_cl<n_cl; ++i_cl) { // loop on cluster
163  ATH_MSG_DEBUG("Initial RoI Coordinates: eta = " << muonClu0[i_cl].eta << ", phi = " << muonClu0[i_cl].phi);
164  bool improvement = true;
165  n_itr = 0;
166  while(improvement){
167  ++n_itr;
168  double eta_avg=0.0;
169  double cosPhi_avg=0.0;
170  double sinPhi_avg=0.0;
171  int n_in_clu = 0;
172  for (int j_cl=0; j_cl<n_cl; ++j_cl) { // loop on cluster
173  float deltaR = DeltaR(muonClu0[j_cl],muonClu[i_cl]);
174  if(deltaR<m_DeltaR){
175  ATH_MSG_DEBUG(" Adding Following RoI: eta = " << muonClu0[j_cl].eta << ", phi = " << muonClu0[j_cl].phi);
176  ++n_in_clu;
177  if(n_itr==1){
178  muonClu[i_cl].eta = muonClu[i_cl].eta + (muonClu0[j_cl].eta-muonClu[i_cl].eta)/n_in_clu;
179  muonClu[i_cl].phi = CxxUtils::wrapToPi(muonClu[i_cl].phi + CxxUtils::wrapToPi(muonClu0[j_cl].phi-muonClu[i_cl].phi)/n_in_clu);
180  } else{
181  //to recalculate the average with all RoIs within a dR = 0.4 cone of the seed position
182  eta_avg += muonClu0[j_cl].eta;
183  cosPhi_avg += cos(muonClu0[j_cl].phi);
184  sinPhi_avg += sin(muonClu0[j_cl].phi);
185  }
186  } // End of if on deltaR<m_DeltaR
187 
188  } // End of for loop over j_cl
189 
190  if(n_itr > 1){
191  //set cluster position as average position of RoIs
192  //This, coupled with the improvement=true/false below, makes an assumption that
193  //improvement = false means same # RoIs in cluster, but never less (code had this before, too)
194  muonClu[i_cl].eta = eta_avg/n_in_clu;
195  muonClu[i_cl].phi = atan2(sinPhi_avg,cosPhi_avg);
196  }
197 
198  //find the number of ROIs in the new cluster
199  //if the number is the same as before,
200  Int_t n_in_clu2=0;
201  for (int j_cl=0; j_cl<n_cl; ++j_cl) { // loop on cluster
202  float deltaR = DeltaR(muonClu0[j_cl],muonClu[i_cl]);
203  if(deltaR<m_DeltaR){
204  ++n_in_clu2;
205  }
206  }
207 
208  ATH_MSG_DEBUG("Finding the number of Muon RoIs in the new Cluster.... " << n_in_clu2);
209  if(n_in_clu2>muonClu[i_cl].nroi){
210  muonClu[i_cl].nroi=n_in_clu2;
211  improvement = true;
212  } else improvement = false;
213  }//end while
214  }
215  t2.stop(); // Stop Clustering Timer
216 
217  ATH_MSG_DEBUG("Total Improvement Iterations = " << n_itr);
218 
219 
220  // find the cluster with max number of rois
221  int ncl_max = 0;
222  int sel_cl = -1;
223  int nRoisInClu = 0;
224  for(int i_cl=0; i_cl<n_cl; ++i_cl) { // loop on cluster
225  nRoisInClu += muonClu[i_cl].nroi;
226  if(muonClu[i_cl].nroi>ncl_max){
227  CluEta = muonClu[i_cl].eta;
228  CluPhi = muonClu[i_cl].phi;
229  CluNum = muonClu[i_cl].nroi;
230  ncl_max = muonClu[i_cl].nroi;
231  sel_cl = i_cl;
232  ATH_MSG_DEBUG(" -- ncl_max loop: i_cl = " << i_cl << " with ncl_max = " << ncl_max);
233  }
234  }
235  nRoIinClusters = nRoisInClu;
236  nClusters = n_cl;
237 
238  // Should never happen (we checked above that roiCollection->size() >=2),
239  // but otherwise we get warnings from cppcheck.
240  if (sel_cl < 0) {
241  return StatusCode::FAILURE;
242  }
243 
244  dPhi_cluSeed = CxxUtils::wrapToPi(muonClu0[sel_cl].phi)-CxxUtils::wrapToPi(muonClu[sel_cl].phi);
245  dEta_cluSeed = muonClu0[sel_cl].eta-muonClu[sel_cl].eta;
246  dR_cluSeed = DeltaR(muonClu0[sel_cl],muonClu[sel_cl]);
247 
248  ATH_MSG_DEBUG("RoI Cluster Coordinates: eta = " << CluEta << ", phi = " << CluPhi << ", nRoI = " << CluNum);
249  ATH_MSG_DEBUG("Found the Cluster with the maximum number of RoIs.... " << ncl_max);
250  // finished now debugging
251  ATH_MSG_DEBUG("Create an output Collection seeded by the input");
252 
253  xAOD::TrigComposite *compClu = new xAOD::TrigComposite();
254  try{
255  trigCompColl->push_back(compClu); //add muon RoI clusters to the composite container
256  }catch(const std::exception& e){
257  ATH_MSG_ERROR("Write of MuonRoICluster TrigCompositeContainer object into trigCompColl failed!");
258  ATH_MSG_ERROR("Error Message: " << e.what());
259  return StatusCode::FAILURE;
260  }
261 
262 
263  compClu->setName("Cluster");
264  muRoiClusEta(*compClu) = static_cast<float>(CluEta);
265  muRoiClusPhi(*compClu) = static_cast<float>(CluPhi);
266  muRoiClusNRoi(*compClu) = static_cast<int>(CluNum);
267 
268 
269  //create a TrigRoiDescriptor to send to ID tracking, to seed track-finding
270  //only need to do this if the MuonCluster will pass the hypo!
271  if( (static_cast<int>(CluNum) >= 3 && std::abs(static_cast<double>(CluEta)) < 1.0) || \
272  (static_cast<int>(CluNum) >= 4 && std::abs(static_cast<double>(CluEta)) >= 1.0 && std::abs(static_cast<double>(CluEta)) <= 2.5) )
273  {
274  double phiHalfWidth = 0.35;
275  double phiMinus = CxxUtils::wrapToPi(static_cast<double>(CluPhi)-phiHalfWidth);
276  double phiPlus = CxxUtils::wrapToPi(static_cast<double>(CluPhi)+phiHalfWidth);
277  TrigRoiDescriptor* roiClus = new TrigRoiDescriptor(static_cast<double>(CluEta), static_cast<double>(CluEta)-0.4, static_cast<double>(CluEta)+0.4,static_cast<double>(CluPhi), phiMinus, phiPlus);
278  trigDescColl->push_back(roiClus);
279  }
280 
281  //----------------------------------------------------------------
282  // REGTEST
283  //----------------------------------------------------------------
284  ATH_MSG_DEBUG(" REGTEST \t Cluster with : " << static_cast<int>(CluNum) << " LVL1-Roi");
285  ATH_MSG_DEBUG(" REGTEST \t Cluster Eta " << static_cast<double>(CluEta) << " Cluster Phi " << static_cast<double>(CluPhi));
286  //----------------------------------------------------------------
287 
288  return StatusCode::SUCCESS;
289 }

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::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

◆ extraOutputDeps()

const DataObjIDColl & AthReentrantAlgorithm::extraOutputDeps ( ) const
overridevirtualinherited

Return the list of extra output dependencies.

This list is extended to include symlinks implied by inheritance relations.

Definition at line 79 of file AthReentrantAlgorithm.cxx.

80 {
81  // If we didn't find any symlinks to add, just return the collection
82  // from the base class. Otherwise, return the extended collection.
83  if (!m_extendedExtraObjects.empty()) {
85  }
86  return Algorithm::extraOutputDeps();
87 }

◆ filterPassed()

virtual bool AthReentrantAlgorithm::filterPassed ( const EventContext &  ctx) const
inlinevirtualinherited

Definition at line 135 of file AthReentrantAlgorithm.h.

135  {
136  return execState( ctx ).filterPassed();
137  }

◆ initialize()

StatusCode MuonCluster::initialize ( )
overridevirtual

hltInitialize()

Definition at line 44 of file Trigger/TrigAlgorithms/TrigLongLivedParticles/src/MuonCluster.cxx.

44  {
45 
46  ATH_MSG_INFO("Parameters for MuonCluster:" << name());
47  ATH_MSG_INFO("DeltaR : " << m_DeltaR);
48  ATH_MSG_INFO("MuonCluLabel : " << m_featureLabel);
49 
50  ATH_MSG_DEBUG("Retrieve service StoreGateSvc");
51  ATH_MSG_DEBUG("Timers are initializated here");
52 
54  ATH_CHECK( m_outputCompositesKey.initialize() );
56 
57  ATH_CHECK( m_muRoiClusEtaKey.initialize() );
58  ATH_CHECK( m_muRoiClusPhiKey.initialize() );
59  ATH_CHECK( m_muRoiClusNRoiKey.initialize() );
60 
61  if (!m_monTool.empty()) ATH_CHECK(m_monTool.retrieve());
62 
63  return StatusCode::SUCCESS;
64 }

◆ inputHandles()

virtual std::vector<Gaudi::DataHandle*> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::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.

◆ isClonable()

bool AthReentrantAlgorithm::isClonable ( ) const
overridevirtualinherited

◆ msg() [1/2]

MsgStream& AthCommonMsg< Gaudi::Algorithm >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

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

◆ msg() [2/2]

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

Definition at line 27 of file AthCommonMsg.h.

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

◆ msgLvl()

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

Definition at line 30 of file AthCommonMsg.h.

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

◆ outputHandles()

virtual std::vector<Gaudi::DataHandle*> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::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.

◆ 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< Gaudi::Algorithm > >::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< Gaudi::Algorithm > >::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  }

◆ setFilterPassed()

virtual void AthReentrantAlgorithm::setFilterPassed ( bool  state,
const EventContext &  ctx 
) const
inlinevirtualinherited

Definition at line 139 of file AthReentrantAlgorithm.h.

139  {
140  execState( ctx ).setFilterPassed( state );
141  }

◆ sysExecute()

StatusCode AthReentrantAlgorithm::sysExecute ( const EventContext &  ctx)
overridevirtualinherited

Execute an algorithm.

We override this in order to work around an issue with the Algorithm base class storing the event context in a member variable that can cause crashes in MT jobs.

Definition at line 67 of file AthReentrantAlgorithm.cxx.

68 {
69  return Gaudi::Algorithm::sysExecute (ctx);
70 }

◆ sysInitialize()

StatusCode AthReentrantAlgorithm::sysInitialize ( )
overridevirtualinherited

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 InputMakerBase, and HypoBase.

Definition at line 96 of file AthReentrantAlgorithm.cxx.

96  {
98 
99  if (sc.isFailure()) {
100  return sc;
101  }
102 
103  ServiceHandle<ICondSvc> cs("CondSvc",name());
104  for (auto h : outputHandles()) {
105  if (h->isCondition() && h->mode() == Gaudi::DataHandle::Writer) {
106  // do this inside the loop so we don't create the CondSvc until needed
107  if ( cs.retrieve().isFailure() ) {
108  ATH_MSG_WARNING("no CondSvc found: won't autoreg WriteCondHandles");
109  return StatusCode::SUCCESS;
110  }
111  if (cs->regHandle(this,*h).isFailure()) {
112  sc = StatusCode::FAILURE;
113  ATH_MSG_ERROR("unable to register WriteCondHandle " << h->fullKey()
114  << " with CondSvc");
115  }
116  }
117  }
118  return sc;
119 }

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::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< Gaudi::Algorithm > >::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_DeltaR

Gaudi::Property<float> MuonCluster::m_DeltaR {this, "DeltaR", 0.4, "radius of the muon cluster"}
protected

A property which specifies the radius of the cluster.

Definition at line 103 of file Trigger/TrigAlgorithms/TrigLongLivedParticles/src/MuonCluster.h.

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_extendedExtraObjects

DataObjIDColl AthReentrantAlgorithm::m_extendedExtraObjects
privateinherited

Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.

Empty if no symlinks were found.

Definition at line 153 of file AthReentrantAlgorithm.h.

◆ m_featureLabel

Gaudi::Property<std::string> MuonCluster::m_featureLabel {"MuonCluLabel", "MuonClusterInput", "label for the MuonCluster feature in the HLT Navigation, for the xAOD::TrigCompositeContainer"}
protected

◆ m_monTool

ToolHandle<GenericMonitoringTool> MuonCluster::m_monTool {this,"MonTool","","Monitoring Tool"}
private

◆ m_muRoiClusEtaKey

SG::WriteDecorHandleKey<xAOD::TrigCompositeContainer> MuonCluster::m_muRoiClusEtaKey
Initial value:
{ this,
"MuonRoiClusterEta",
"HLT_MuRoICluster_Composites.ClusterEta",
"Average Eta of the muon RoI Cluster"}

Definition at line 68 of file Trigger/TrigAlgorithms/TrigLongLivedParticles/src/MuonCluster.h.

◆ m_muRoiClusNRoiKey

SG::WriteDecorHandleKey<xAOD::TrigCompositeContainer> MuonCluster::m_muRoiClusNRoiKey
Initial value:
{ this,
"MuonRoiClusterNRoIs",
"HLT_MuRoICluster_Composites.nRoIs",
"Number of muon RoIs used to construct this muon RoI cluster"}

Definition at line 78 of file Trigger/TrigAlgorithms/TrigLongLivedParticles/src/MuonCluster.h.

◆ m_muRoiClusPhiKey

SG::WriteDecorHandleKey<xAOD::TrigCompositeContainer> MuonCluster::m_muRoiClusPhiKey
Initial value:
{ this,
"MuonRoiClusterPhi",
"HLT_MuRoICluster_Composites.ClusterPhi",
"Average Phi of the muonRoI Cluster"}

Definition at line 73 of file Trigger/TrigAlgorithms/TrigLongLivedParticles/src/MuonCluster.h.

◆ m_outputCompositesKey

SG::WriteHandleKey<xAOD::TrigCompositeContainer> MuonCluster::m_outputCompositesKey
Initial value:
{ this,
"TrigRoIs_CompositeContainer",
"HLT_MuRoICluster_Composites",
"output Composites container"}

Definition at line 58 of file Trigger/TrigAlgorithms/TrigLongLivedParticles/src/MuonCluster.h.

◆ m_outputRoiDescriptorKey

SG::WriteHandleKey<TrigRoiDescriptorCollection> MuonCluster::m_outputRoiDescriptorKey
Initial value:
{ this,
"TrigRoiDescriptorDataVector",
"HLT_MuRoICluster_Descriptors",
"output RoI Descriptor container with descriptor for cluster with maximum number of RoIs. For ID."}

Definition at line 63 of file Trigger/TrigAlgorithms/TrigLongLivedParticles/src/MuonCluster.h.

◆ m_roiCollectionKey

SG::ReadHandleKey<TrigRoiDescriptorCollection> MuonCluster::m_roiCollectionKey
Initial value:
{ this,
"RoIs",
"HLT_muVtxCluster_RoIs",
"input RoICollection"}

Definition at line 53 of file Trigger/TrigAlgorithms/TrigLongLivedParticles/src/MuonCluster.h.

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

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

Definition at line 398 of file AthCommonDataStore.h.


The documentation for this class was generated from the following files:
MuonCluster::m_featureLabel
Gaudi::Property< std::string > m_featureLabel
Definition: Trigger/TrigAlgorithms/TrigLongLivedParticles/src/MuonCluster.h:104
TrigDefs::Group
Group
Properties of a chain group.
Definition: GroupProperties.h:13
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:64
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
xAOD::TrigComposite
TrigComposite_v1 TrigComposite
Declare the latest version of the class.
Definition: Event/xAOD/xAODTrigger/xAODTrigger/TrigComposite.h:16
MuonCluster::m_muRoiClusNRoiKey
SG::WriteDecorHandleKey< xAOD::TrigCompositeContainer > m_muRoiClusNRoiKey
Definition: Trigger/TrigAlgorithms/TrigLongLivedParticles/src/MuonCluster.h:78
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:79
AthCommonDataStore::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
CxxUtils::wrapToPi
T wrapToPi(T phi)
Wrap angle in radians to [-pi, pi].
Definition: phihelper.h:24
AthCommonDataStore::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 > renounce(T &h)
Definition: AthCommonDataStore.h:380
ALFA_EventTPCnv_Dict::t1
std::vector< ALFA_RawDataCollection_p1 > t1
Definition: ALFA_EventTPCnvDict.h:43
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_evtStore
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
Definition: AthCommonDataStore.h:390
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_vhka
std::vector< SG::VarHandleKeyArray * > m_vhka
Definition: AthCommonDataStore.h:398
AthCommonMsg< Gaudi::Algorithm >::msgLvl
bool msgLvl(const MSG::Level lvl) const
Definition: AthCommonMsg.h:30
TrigRoiDescriptor
nope - should be used for standalone also, perhaps need to protect the class def bits #ifndef XAOD_AN...
Definition: TrigRoiDescriptor.h:56
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
drawFromPickle.cos
cos
Definition: drawFromPickle.py:36
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
Monitored::Collection
ValuesCollection< T > Collection(std::string name, const T &collection)
Declare a monitored (double-convertible) collection.
Definition: MonitoredCollection.h:38
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
SG::makeHandle
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
Definition: ReadCondHandle.h:269
AthCommonDataStore
Definition: AthCommonDataStore.h:52
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::outputHandles
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
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
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
SG::WriteDecorHandle
Handle class for adding a decoration to an object.
Definition: StoreGate/StoreGate/WriteDecorHandle.h:99
calibdata.exception
exception
Definition: calibdata.py:496
xAOD::TrigComposite_v1::setName
void setName(const std::string &name)
Set a human-readable name for the object.
MuonCluster::DeltaR
float DeltaR(lvl1_muclu_roi, lvl1_muclu_roi) const
calculcate the deltaR between two Rois
Definition: Trigger/TrigAlgorithms/TrigLongLivedParticles/src/MuonCluster.cxx:291
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
MuonCluster::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition: Trigger/TrigAlgorithms/TrigLongLivedParticles/src/MuonCluster.h:91
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
SG::VarHandleKey::initialize
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:103
Handler::svc
AthROOTErrorHandlerSvc * svc
Definition: AthROOTErrorHandlerSvc.cxx:10
TrigCompositeUtils::createAndStoreNoAux
SG::WriteHandle< CONT > createAndStoreNoAux(const SG::WriteHandleKey< CONT > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
Creates and right away records the Container CONT with the key.
xAOD::TrigComposite_v1
Class used to describe composite objects in the HLT.
Definition: TrigComposite_v1.h:52
AthReentrantAlgorithm::m_extendedExtraObjects
DataObjIDColl m_extendedExtraObjects
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
Definition: AthReentrantAlgorithm.h:153
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
MuonCluster::m_outputCompositesKey
SG::WriteHandleKey< xAOD::TrigCompositeContainer > m_outputCompositesKey
Definition: Trigger/TrigAlgorithms/TrigLongLivedParticles/src/MuonCluster.h:58
MuonCluster::m_roiCollectionKey
SG::ReadHandleKey< TrigRoiDescriptorCollection > m_roiCollectionKey
Definition: Trigger/TrigAlgorithms/TrigLongLivedParticles/src/MuonCluster.h:53
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
MuonCluster::m_muRoiClusPhiKey
SG::WriteDecorHandleKey< xAOD::TrigCompositeContainer > m_muRoiClusPhiKey
Definition: Trigger/TrigAlgorithms/TrigLongLivedParticles/src/MuonCluster.h:73
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
AthReentrantAlgorithm::sysInitialize
virtual StatusCode sysInitialize() override
Override sysInitialize.
Definition: AthReentrantAlgorithm.cxx:96
DataVector::push_back
value_type push_back(value_type pElem)
Add an element to the end of the collection.
SG::WriteHandle< TrigRoiDescriptorCollection >
ALFA_EventTPCnv_Dict::t2
std::vector< ALFA_RawDataContainer_p1 > t2
Definition: ALFA_EventTPCnvDict.h:44
DiTauMassTools::MaxHistStrategyV2::e
e
Definition: PhysicsAnalysis/TauID/DiTauMassTools/DiTauMassTools/HelperFunctions.h:26
a
TList * a
Definition: liststreamerinfos.cxx:10
h
MuonCluster::m_outputRoiDescriptorKey
SG::WriteHandleKey< TrigRoiDescriptorCollection > m_outputRoiDescriptorKey
Definition: Trigger/TrigAlgorithms/TrigLongLivedParticles/src/MuonCluster.h:63
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
kMAX_ROI
#define kMAX_ROI
Definition: Trigger/TrigAlgorithms/TrigLongLivedParticles/src/MuonCluster.h:44
DEBUG
#define DEBUG
Definition: page_access.h:11
plotBeamSpotMon.mon
mon
Definition: plotBeamSpotMon.py:67
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
TrigRoiDescriptor
Athena::TPCnvVers::Current TrigRoiDescriptor
Definition: TrigSteeringEventTPCnv.cxx:68
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:790
LHEF::Writer
Pythia8::Writer Writer
Definition: Prophecy4fMerger.cxx:12
drawFromPickle.sin
sin
Definition: drawFromPickle.py:36
Monitored::Scalar
Declare a monitored scalar variable.
Definition: MonitoredScalar.h:34
makeComparison.deltaR
float deltaR
Definition: makeComparison.py:36
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
Monitored::Timer
A monitored timer.
Definition: MonitoredTimer.h:32
MuonCluster::m_muRoiClusEtaKey
SG::WriteDecorHandleKey< xAOD::TrigCompositeContainer > m_muRoiClusEtaKey
Definition: Trigger/TrigAlgorithms/TrigLongLivedParticles/src/MuonCluster.h:68
MuonCluster::m_DeltaR
Gaudi::Property< float > m_DeltaR
A property which specifies the radius of the cluster.
Definition: Trigger/TrigAlgorithms/TrigLongLivedParticles/src/MuonCluster.h:103
fitman.k
k
Definition: fitman.py:528
ServiceHandle< ICondSvc >