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

#include <TileLookForMuAlg.h>

Inheritance diagram for TileLookForMuAlg:
Collaboration diagram for TileLookForMuAlg:

Public Member Functions

 TileLookForMuAlg (const std::string &name, ISvcLocator *pSvcLocator)
 
virtual ~TileLookForMuAlg ()
 
virtual StatusCode initialize () override
 
virtual StatusCode execute (const EventContext &ctx) const override
 
virtual StatusCode finalize () override
 
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
 

Protected Member Functions

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

enum  N_CELLS_SAMP { N_CELLS_D = 13, N_CELLS_BC = 30, N_CELLS_A = 30 }
 
enum  N_OF_MODULES { N_MODULES = 64 }
 
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

const TileIDm_tileID
 
double m_etaD [N_CELLS_D]
 
double m_etaBC [N_CELLS_BC]
 
double m_etaA [N_CELLS_A]
 
const int m_nMuMax
 
std::vector< int > m_fromDtoBC
 
std::vector< int > m_fromBCtoA
 
double m_loThrA
 
double m_loThrBC
 
double m_loThrD
 
double m_loThrITC
 
std::vector< double > m_hiThrD
 
std::vector< double > m_hiThrBC
 
std::vector< double > m_hiThrA
 
SG::ReadHandleKey< CaloCellContainerm_cellContainerKey
 
SG::WriteHandleKey< TileMuContainerm_muContainerKey
 
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 43 of file TileLookForMuAlg.h.

Member Typedef Documentation

◆ StoreGateSvc_t

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

Definition at line 388 of file AthCommonDataStore.h.

Member Enumeration Documentation

◆ N_CELLS_SAMP

Enumerator
N_CELLS_D 
N_CELLS_BC 
N_CELLS_A 

Definition at line 62 of file TileLookForMuAlg.h.

62  {
63  N_CELLS_D = 13, N_CELLS_BC = 30, N_CELLS_A = 30
64  };

◆ N_OF_MODULES

Enumerator
N_MODULES 

Definition at line 65 of file TileLookForMuAlg.h.

65  {
66  N_MODULES = 64
67  };

Constructor & Destructor Documentation

◆ TileLookForMuAlg()

TileLookForMuAlg::TileLookForMuAlg ( const std::string &  name,
ISvcLocator *  pSvcLocator 
)

Definition at line 28 of file TileLookForMuAlg.cxx.

30  : AthReentrantAlgorithm(name, pSvcLocator)
31  , m_tileID(0)
32  , m_etaD()
33  , m_etaBC()
34  , m_etaA()
35  , m_nMuMax(30)
36 {
37  declareProperty("LowerTresh0MeV", m_loThrA=80.0);
38  declareProperty("LowerTresh1MeV", m_loThrBC=80.0);
39  declareProperty("LowerTresh2MeV", m_loThrD=80.0);
40  declareProperty("LowerTreshScinMeV", m_loThrITC=160.0);
41  declareProperty("UpperTresh2MeV", m_hiThrD);
42  declareProperty("UpperTresh1MeV", m_hiThrBC);
43  declareProperty("UpperTresh0MeV", m_hiThrA);
44  declareProperty("From3to2", m_fromDtoBC);
45  declareProperty("From2to1", m_fromBCtoA);
46 
47 }

◆ ~TileLookForMuAlg()

TileLookForMuAlg::~TileLookForMuAlg ( )
virtual

Definition at line 49 of file TileLookForMuAlg.cxx.

49  {
50 }

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  }

◆ 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 TileLookForMuAlg::execute ( const EventContext &  ctx) const
overridevirtual

Definition at line 103 of file TileLookForMuAlg.cxx.

103  {
104 
105  ATH_MSG_DEBUG("TileLookForMuAlg execution started");
106 
107  double eneA[N_CELLS_A][N_MODULES]; // calorimeter cell matrices
108  double eneBC[N_CELLS_BC][N_MODULES];
109  double eneD[N_CELLS_D][N_MODULES];
110 
111  memset(eneA, 0, sizeof(eneA));
112  memset(eneBC, 0, sizeof(eneBC));
113  memset(eneD, 0, sizeof(eneD));
114 
116  ATH_CHECK( muContainer.record(std::make_unique<TileMuContainer>()) );
117 
118 
119  // Get CaloCell Container
120  std::vector<const CaloCell*> cellList;
121 
123  ATH_CHECK( cellContainer.isValid() );
124 
127  cellContainer->beginConstCalo(tileCell_ID);
129  cellContainer->endConstCalo(tileCell_ID);
130 
131  ATH_MSG_DEBUG( "Calo Container size "
132  << cellContainer->nCellsCalo(tileCell_ID));
133 
134  double phi[64] = { 0 };
135 // TileID::SAMPLE cellSample;
136  for (; currentCell != lastCell; ++currentCell) {
137  int iCell = -1;
138  double cellEta = (*currentCell)->eta();
139  if (cellEta > -1.5 && cellEta < 1.5) {
140  int cellModule;
141  int cellSample = m_tileID->sample((*currentCell)->ID());
142  switch (cellSample) {
143  case TileID::SAMP_A:
144  iCell = (cellEta + 1.5) * 10;
145  cellModule = m_tileID->module((*currentCell)->ID());
146  eneA[iCell][cellModule] = (*currentCell)->energy();
147  phi[cellModule] = (*currentCell)->phi();
148  break;
149  case TileID::SAMP_BC:
150  iCell = (cellEta + 1.5) * 10;
151  cellModule = m_tileID->module((*currentCell)->ID());
152  eneBC[iCell][cellModule] = (*currentCell)->energy();
153  phi[cellModule] = (*currentCell)->phi();
154  break;
155  case TileID::SAMP_D:
156  iCell = (cellEta + 1.3) * 5;
157  cellModule = m_tileID->module((*currentCell)->ID());
158  eneD[iCell][cellModule] = (*currentCell)->energy();
159  phi[cellModule] = (*currentCell)->phi();
160  cellList.push_back(*currentCell);
161  break;
162  case TileID::SAMP_E:
163  iCell = (cellEta + 1.5) * 10;
164  if (iCell == 4 || iCell == 25) {
165  cellModule = m_tileID->module((*currentCell)->ID());
166  eneA[iCell][cellModule] = (*currentCell)->energy();
167  phi[cellModule] = (*currentCell)->phi();
168  }
169  break;
170  }
171  }
172 
173  if (msgLvl(MSG::VERBOSE)) {
174  msg(MSG::VERBOSE) << "scintillators sample, eta, phi, ene => "
175  << m_tileID->sample((*currentCell)->ID()) << ","
176  << cellEta << ","
177  << (*currentCell)->phi() << ","
178  << (*currentCell)->energy() << endmsg;
179 
180  msg(MSG::VERBOSE) << "sample, tower, eta => "
181  << m_tileID->sample((*currentCell)->ID()) << ", "
182  << m_tileID->tower((*currentCell)->ID()) << ", "
183  << cellEta << endmsg;
184  }
185  } /* end of Tile cells loop*/
186 
187  std::vector<double> muEtaD;
188  std::vector<float> muEneD;
189  std::vector<int> muModule;
190  std::vector<int> muCellD;
191  std::vector<int> muSplitted;
192  std::vector<int> muQualityD;
193  std::vector<int> muFound;
194  muEtaD.reserve(m_nMuMax);
195  muEneD.reserve(m_nMuMax);
196  muModule.reserve(m_nMuMax);
197  muCellD.reserve(m_nMuMax);
198  muSplitted.reserve(m_nMuMax);
199  muQualityD.reserve(m_nMuMax);
200  muFound.reserve(m_nMuMax);
201 
202  int nCandidates = 0, ntri = 0;
203  int nSplitted = 0;
204 
205  ATH_MSG_VERBOSE("Start the muon search candidates ");
206 
207  // find muon candidates
208  int lastMuCell = -3;
209  int lastMuModule = -3;
210  for (int iModule = 0; iModule < N_MODULES; ++iModule) {
211  int prevCell = -2;
212  for (int iCellD = 0; iCellD < N_CELLS_D; ++iCellD) {
213  float energy = eneD[iCellD][iModule];
214  if (energy >= m_loThrD) {
215  int splitted = -1;
216  double eta = m_etaD[iCellD];
217  double hiThr = m_hiThrD[iCellD];
218  int quality = (energy < hiThr) ? 0 : 1;
219  // check for muon splitting (same phi bin and neighboring eta bin)
220  if (prevCell == lastMuCell && iModule == lastMuModule) {
221  int sumQuality = quality + muQualityD.back();
222  float sumEnergy = energy + eneD[prevCell][iModule];
223  double hiPrevThr = m_hiThrD[prevCell];
224  double maxHiThr = (hiThr > hiPrevThr) ? hiThr : hiPrevThr;
225  if ((sumQuality == 0 && sumEnergy < maxHiThr) || sumQuality == 1) {
226  // possible splitting with last found muon candidate
227  splitted = nCandidates - 1; // idx of splitting mu candidate
228  energy = sumEnergy;
229  eta = (eta + m_etaD[prevCell]) / 2;
230  ++nSplitted;
231  ATH_MSG_VERBOSE( "Possible splits between mu candidates ("
232  << (splitted + 1) << ", " << splitted
233  << "): etaD1, etaD2, eta => "
234  << m_etaD[iCellD] << ", "
235  << m_etaD[prevCell] << ", "
236  << eta
237  << "; eneD1, eneD2, energy => "
238  << eneD[iCellD][iModule] << ", "
239  << eneD[prevCell][iModule] << ", "
240  << energy);
241  }
242  }
243  muModule.push_back(iModule);
244  muCellD.push_back(iCellD);
245  muSplitted.push_back(splitted);
246  muFound.push_back(0);
247  muEneD.push_back(energy);
248  muQualityD.push_back(quality);
249  muEtaD.push_back(eta);
250  ++nCandidates;
251  lastMuCell = iCellD;
252  lastMuModule = iModule;
253  ATH_MSG_VERBOSE( "Candidate number= " << nCandidates
254  << ", tower index (iCellD)= " << iCellD
255  << ", module index(iModuleD)= " << iModule
256  << ", Energy(iCellD)(iModuleD) = " << eneD[iCellD][iModule]
257  << ", threshold2(iCellD)= " << m_hiThrD[iCellD]);
258  } else {
259  // ATH_MSG_VERBOSE ( "no candidates" );
260  }
261  prevCell = iCellD;
262  }
263  }
264 
265  // debug ----------------------------------------
266  if (msgLvl(MSG::VERBOSE)) {
267  for (int i = 0; i < nCandidates; ++i) {
268  msg(MSG::VERBOSE) << "Candidates list: number phi,ene, eta "
269  << i << ","
270  << muModule[i] << ","
271  << muEneD[i] << ","
272  << muCellD[i]
273  << "nSplitted,muSplitted(cand)" << nSplitted << ", "
274  << muSplitted[i] << endmsg;
275  }
276  }
277 
278  //*************** loop on the candidates----------------------*
279 
280  for (int iMu = 0; iMu < nCandidates; ++iMu) {
281  int splitted = muSplitted[iMu];
282  if (splitted < 0 || muFound[splitted] == 0) {
283 
284  // the most important information on mu is in the 3rd sample
285  // to avoid multiple counting due to splitting in 2nd and 1st Sp. cells
286  // the loop stop when the candidate is found
287 
288  int module = muModule[iMu];
290  "loop on mu candidates: iMu, module = " << iMu << ", " << module);
291  int idxD = 6 * muCellD[iMu];
292  ATH_MSG_VERBOSE ("number of cells in BC layer to check = " << m_fromDtoBC[idxD]);
293  int endIdxD = idxD + m_fromDtoBC[idxD];
294  while (++idxD <= endIdxD && muFound[iMu] != 1) {
295  int cellBC = m_fromDtoBC[idxD];
296  float energyBC = eneBC[cellBC][module];
297  ATH_MSG_VERBOSE( "cellBC = " << cellBC
298  << ", module=" << module
299  << ", eneBC =" << energyBC);
300  if (energyBC > m_loThrBC) {
301  int qualityBC = (energyBC < m_hiThrBC[cellBC]) ? 0 : 1;
302  int idxBC = 6 * cellBC;
303  ATH_MSG_VERBOSE ("number of cells in A layer to check for mu = " << m_fromBCtoA[idxBC]);
304  int endIdxBC = idxBC + m_fromBCtoA[idxBC];
305  while (++idxBC <= endIdxBC && muFound[iMu] != 1) {
306  int cellA = m_fromBCtoA[idxBC];
307  float energyA = eneA[cellA][module];
308  ATH_MSG_VERBOSE( "cellA index = " << cellA
309  << ", module=" << module
310  << ", eneA =" << energyA);
311 
312  if ( energyA > ( (cellA == 4 || cellA == 25) ? m_loThrITC : m_loThrA ) ) {
313 
314  int qualityA = (energyA < m_hiThrA[cellA]) ? 0 : 1;
315 
316  // We have a muon like signature
317 
318  int muQuality = muQualityD[iMu] + qualityBC + qualityA;
319  if (muQuality <= 1) {
320  muFound[iMu] = 1;
321  double muEta = (muEtaD[iMu] + m_etaBC[cellBC] + m_etaA[cellA]) / 3;
322  double muPhi = phi[module];
323  std::vector<float> muEnergy;
324  muEnergy.reserve(4);
325  muEnergy.push_back(energyA);
326  muEnergy.push_back(energyBC);
327  muEnergy.push_back(muEneD[iMu]);
328  float eneAround = 0;
329 
330  ATH_MSG_VERBOSE( "tag ntri eta,phi,ene[0]= " << (++ntri) << ", "
331  << muEta << ", "
332  << muPhi << ", "
333  << muEnergy[0] << ", "
334  << muEnergy[1] << ", "
335  << muEnergy[2]
336  << " tag eta 1st, 2nd, 3rd,"
337  << m_etaA[cellA] << ", "
338  << m_etaBC[cellBC] << ", "
339  << m_etaD[muCellD[iMu]]);
340 
341  int nextModule = (module != 63) ? (module + 1) : 0;
342  int prevModule = (module != 0) ? (module - 1) : 63;
343  eneAround = eneA[cellA][nextModule] + eneA[cellA][prevModule]
344  + eneBC[cellBC][nextModule] + eneBC[cellBC][prevModule]; //phi neigh
345 
346  int nextCellA = cellA + 1;
347  int prevCellA = cellA - 1;
348  if (nextCellA < N_CELLS_A && prevCellA > 0) {
349  eneAround += eneA[nextCellA][module] + eneA[prevCellA][module]
350  + eneA[nextCellA][nextModule]
351  + eneA[nextCellA][prevModule]
352  + eneA[prevCellA][nextModule]
353  + eneA[prevCellA][prevModule];
354 
355  }
356 
357  int nextCellBC = cellBC + 1;
358  int prevCellBC = cellBC - 1;
359  if (nextCellBC < N_CELLS_BC && prevCellBC > 0) {
360  eneAround += eneBC[nextCellBC][module]
361  + eneBC[prevCellBC][module]
362  + eneBC[nextCellBC][nextModule]
363  + eneBC[nextCellBC][prevModule]
364  + eneBC[prevCellBC][nextModule]
365  + eneBC[prevCellBC][prevModule];
366 
367  }
368 
369  muEnergy.push_back(eneAround);
370  std::unique_ptr<TileMu> muon = std::make_unique<TileMu>((float) muEta,
371  (float) muPhi,
372  muEnergy,
373  muQuality);
374 
375  ATH_MSG_VERBOSE( "muon tag eta=" << muon->eta()
376  << " muon tag phi=" << muon->phi()
377  << " energydepVec[0]=" << muon->enedep()[0]
378  << " energydepVec[1]=" << muon->enedep()[1]
379  << " energydepVec[2]=" << muon->enedep()[2]
380  << " energydepVec[3]=" << muon->enedep()[3]
381  << " muon tag Q factor=" << muon->quality()
382  << " ene around= " << eneAround);
383 
384  muContainer->push_back(muon.release());
385  }
386 
387  } else {
388  ATH_MSG_VERBOSE(" tag eneA out");
389  } //endif eneA is in the range
390  } //end loop on pattern 1st layer
391  } else {
392  ATH_MSG_VERBOSE(" tag eneBC out");
393  } //endif eneBC is in the range
394  } //endloop on pattern 2nd layer
395  } else {
396  break;
397  }
398  } //endloop on candidate
399 
400 //-----debug-----------------------------------------------
401  // cellList contain the 3rd layer cell information
402  if (msgLvl(MSG::VERBOSE)) {
403  for (const CaloCell* cell : cellList) {
404  msg(MSG::VERBOSE) << " tag Cell (sect,side,mod,tow,sam)=("
405  << m_tileID->section(cell->ID()) << " "
406  << m_tileID->side(cell->ID()) << " "
407  << m_tileID->module(cell->ID()) << " "
408  << m_tileID->tower(cell->ID()) << " "
409  << m_tileID->sample(cell->ID())
410  << "),(eta,phi,energy)=("
411  << cell->eta() << ","
412  << cell->phi() << ","
413  << cell->energy() << ")" << endmsg;
414  }
415  }
416 
417  //debug---------------------------------------------------
418  // check the mu tag container
419  if (msgLvl(MSG::DEBUG)) {
420  for (const TileMu* mu : *muContainer) {
421  msg(MSG::DEBUG) << "Container name = " << m_muContainerKey.key()
422  << " eta = " << mu->eta()
423  << " phi = " << mu->phi()
424  << " enedep[0] = " << (mu->enedep())[0]
425  << " enedep[1] = " << (mu->enedep())[1]
426  << " enedep[2] = " << (mu->enedep())[2]
427  << " enedep[3] = " << (mu->enedep())[3]
428  << " quality = " << mu->quality() << endmsg;
429  }
430  }
431  //-------------------debug-------------------------
432 
433  return StatusCode::SUCCESS;
434 }

◆ 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  }

◆ finalize()

StatusCode TileLookForMuAlg::finalize ( )
overridevirtual

Definition at line 436 of file TileLookForMuAlg.cxx.

436  {
437  ATH_MSG_DEBUG("TileLookForMuAlg finalization completed");
438  return StatusCode::SUCCESS;
439 }

◆ initialize()

StatusCode TileLookForMuAlg::initialize ( )
overridevirtual

Definition at line 55 of file TileLookForMuAlg.cxx.

55  {
56 
57  // retrieve TileID helper and TileIfno from det store
58 
60 
61 
62  // define a numbering scheme for the cells
63  double eta_D = -1.2;
64  for (int iCellD = 0; iCellD < N_CELLS_D; ++iCellD) {
65  m_etaD[iCellD] = eta_D;
66  eta_D += 0.2;
67  }
68 
69  if (msgLvl(MSG::DEBUG)) {
70  for (int iCellD = 0; iCellD < N_CELLS_D; ++iCellD) {
71  msg(MSG::DEBUG) << " etaD[" << iCellD << "] = " << m_etaD[iCellD] << endmsg;
72  }
73  }
74 
75 
76  double eta_BC_A = -1.45;
77  for (int iCell = 0; iCell < N_CELLS_BC; ++iCell) {
78  m_etaBC[iCell] = eta_BC_A;
79  m_etaA[iCell] = eta_BC_A;
80  eta_BC_A += 0.1;
81  }
82 
83 
84  if (msgLvl(MSG::DEBUG)) {
85  for (int iCell = 0; iCell < N_CELLS_BC; ++iCell) {
86  msg(MSG::DEBUG) << " etaBC[" << iCell << "] = " << m_etaBC[iCell] << endmsg;
87  msg(MSG::DEBUG) << " etaA[" << iCell << "] = " << m_etaA[iCell] << endmsg;
88  }
89  }
90 
91 
93  ATH_CHECK( m_muContainerKey.initialize() );
94 
95  ATH_MSG_DEBUG("TileLookForMuAlg initialization completed");
96 
97  return StatusCode::SUCCESS;
98 }

◆ 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_cellContainerKey

SG::ReadHandleKey<CaloCellContainer> TileLookForMuAlg::m_cellContainerKey
private
Initial value:
{this,"CellsNames",
"AllCalo",
"Input Calo cell container key"}

Definition at line 86 of file TileLookForMuAlg.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_etaA

double TileLookForMuAlg::m_etaA[N_CELLS_A]
private

Definition at line 70 of file TileLookForMuAlg.h.

◆ m_etaBC

double TileLookForMuAlg::m_etaBC[N_CELLS_BC]
private

Definition at line 69 of file TileLookForMuAlg.h.

◆ m_etaD

double TileLookForMuAlg::m_etaD[N_CELLS_D]
private

Definition at line 68 of file TileLookForMuAlg.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_fromBCtoA

std::vector<int> TileLookForMuAlg::m_fromBCtoA
private

Definition at line 74 of file TileLookForMuAlg.h.

◆ m_fromDtoBC

std::vector<int> TileLookForMuAlg::m_fromDtoBC
private

Definition at line 73 of file TileLookForMuAlg.h.

◆ m_hiThrA

std::vector<double> TileLookForMuAlg::m_hiThrA
private

Definition at line 84 of file TileLookForMuAlg.h.

◆ m_hiThrBC

std::vector<double> TileLookForMuAlg::m_hiThrBC
private

Definition at line 83 of file TileLookForMuAlg.h.

◆ m_hiThrD

std::vector<double> TileLookForMuAlg::m_hiThrD
private

Definition at line 82 of file TileLookForMuAlg.h.

◆ m_loThrA

double TileLookForMuAlg::m_loThrA
private

Definition at line 77 of file TileLookForMuAlg.h.

◆ m_loThrBC

double TileLookForMuAlg::m_loThrBC
private

Definition at line 78 of file TileLookForMuAlg.h.

◆ m_loThrD

double TileLookForMuAlg::m_loThrD
private

Definition at line 79 of file TileLookForMuAlg.h.

◆ m_loThrITC

double TileLookForMuAlg::m_loThrITC
private

Definition at line 80 of file TileLookForMuAlg.h.

◆ m_muContainerKey

SG::WriteHandleKey<TileMuContainer> TileLookForMuAlg::m_muContainerKey
private
Initial value:
{this,"TileMuTagsOutputName",
"TileMuObj",
"Output Tile mu container key"}

Definition at line 90 of file TileLookForMuAlg.h.

◆ m_nMuMax

const int TileLookForMuAlg::m_nMuMax
private

Definition at line 71 of file TileLookForMuAlg.h.

◆ m_tileID

const TileID* TileLookForMuAlg::m_tileID
private

Definition at line 59 of file TileLookForMuAlg.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:
python.PyKernel.retrieve
def retrieve(aClass, aKey=None)
Definition: PyKernel.py:110
TileLookForMuAlg::m_fromDtoBC
std::vector< int > m_fromDtoBC
Definition: TileLookForMuAlg.h:73
xAOD::muon
@ muon
Definition: TrackingPrimitives.h:195
TileLookForMuAlg::m_loThrA
double m_loThrA
Definition: TileLookForMuAlg.h:77
DataModel_detail::const_iterator
Const iterator class for DataVector/DataList.
Definition: DVLIterator.h:82
ReadCellNoiseFromCool.cell
cell
Definition: ReadCellNoiseFromCool.py:53
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:64
TileLookForMuAlg::m_nMuMax
const int m_nMuMax
Definition: TileLookForMuAlg.h:71
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:79
SG::ReadHandle
Definition: StoreGate/StoreGate/ReadHandle.h:70
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
Tile_Base_ID::SAMP_A
@ SAMP_A
Definition: Tile_Base_ID.h:53
TileLookForMuAlg::m_loThrBC
double m_loThrBC
Definition: TileLookForMuAlg.h:78
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
Tile_Base_ID::SAMP_BC
@ SAMP_BC
Definition: Tile_Base_ID.h:54
Tile_Base_ID::side
int side(const Identifier &id) const
Definition: Tile_Base_ID.cxx:153
Tile_Base_ID::sample
int sample(const Identifier &id) const
Definition: Tile_Base_ID.cxx:171
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_evtStore
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
Definition: AthCommonDataStore.h:390
TileLookForMuAlg::m_etaA
double m_etaA[N_CELLS_A]
Definition: TileLookForMuAlg.h:70
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
TileLookForMuAlg::m_etaD
double m_etaD[N_CELLS_D]
Definition: TileLookForMuAlg.h:68
TileLookForMuAlg::m_etaBC
double m_etaBC[N_CELLS_BC]
Definition: TileLookForMuAlg.h:69
Tile_Base_ID::tower
int tower(const Identifier &id) const
Definition: Tile_Base_ID.cxx:165
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
Tile_Base_ID::SAMP_E
@ SAMP_E
Definition: Tile_Base_ID.h:55
ATH_MSG_VERBOSE
#define ATH_MSG_VERBOSE(x)
Definition: AthMsgStreamMacros.h:28
TileLookForMuAlg::m_fromBCtoA
std::vector< int > m_fromBCtoA
Definition: TileLookForMuAlg.h:74
TileLookForMuAlg::N_CELLS_BC
@ N_CELLS_BC
Definition: TileLookForMuAlg.h:63
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::detStore
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition: AthCommonDataStore.h:95
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
python.PyAthena.module
module
Definition: PyAthena.py:134
TileLookForMuAlg::N_MODULES
@ N_MODULES
Definition: TileLookForMuAlg.h:66
AthCommonDataStore
Definition: AthCommonDataStore.h:52
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
ParticleGun_FastCalo_ChargeFlip_Config.energy
energy
Definition: ParticleGun_FastCalo_ChargeFlip_Config.py:78
Tile_Base_ID::module
int module(const Identifier &id) const
Definition: Tile_Base_ID.cxx:159
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
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
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
CaloCell_Base_ID::SUBCALO
SUBCALO
enumeration of sub calorimeters
Definition: CaloCell_Base_ID.h:46
TileLookForMuAlg::m_tileID
const TileID * m_tileID
Definition: TileLookForMuAlg.h:59
TileLookForMuAlg::m_hiThrA
std::vector< double > m_hiThrA
Definition: TileLookForMuAlg.h:84
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
CHECK
#define CHECK(...)
Evaluate an expression and check for errors.
Definition: Control/AthenaKernel/AthenaKernel/errorcheck.h:422
CaloCell_Base_ID::TILE
@ TILE
Definition: CaloCell_Base_ID.h:46
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
TileLookForMuAlg::N_CELLS_A
@ N_CELLS_A
Definition: TileLookForMuAlg.h:63
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
TileLookForMuAlg::N_CELLS_D
@ N_CELLS_D
Definition: TileLookForMuAlg.h:63
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
TileLookForMuAlg::m_cellContainerKey
SG::ReadHandleKey< CaloCellContainer > m_cellContainerKey
Definition: TileLookForMuAlg.h:86
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
AthReentrantAlgorithm::sysInitialize
virtual StatusCode sysInitialize() override
Override sysInitialize.
Definition: AthReentrantAlgorithm.cxx:96
TileLookForMuAlg::m_hiThrD
std::vector< double > m_hiThrD
Definition: TileLookForMuAlg.h:82
Tile_Base_ID::SAMP_D
@ SAMP_D
Definition: Tile_Base_ID.h:55
SG::WriteHandle
Definition: StoreGate/StoreGate/WriteHandle.h:76
a
TList * a
Definition: liststreamerinfos.cxx:10
h
CaloCell
Data object for each calorimeter readout cell.
Definition: CaloCell.h:57
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
DEBUG
#define DEBUG
Definition: page_access.h:11
AthCommonMsg< Gaudi::Algorithm >::msg
MsgStream & msg() const
Definition: AthCommonMsg.h:24
TileLookForMuAlg::m_muContainerKey
SG::WriteHandleKey< TileMuContainer > m_muContainerKey
Definition: TileLookForMuAlg.h:90
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:616
TileLookForMuAlg::m_loThrITC
double m_loThrITC
Definition: TileLookForMuAlg.h:80
declareProperty
#define declareProperty(n, p, h)
Definition: BaseFakeBkgTool.cxx:15
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:790
LHEF::Writer
Pythia8::Writer Writer
Definition: Prophecy4fMerger.cxx:12
python.Constants.VERBOSE
int VERBOSE
Definition: Control/AthenaCommon/python/Constants.py:14
Tile_Base_ID::section
int section(const Identifier &id) const
Definition: Tile_Base_ID.cxx:147
TileLookForMuAlg::m_loThrD
double m_loThrD
Definition: TileLookForMuAlg.h:79
CaloNoise_fillDB.mu
mu
Definition: CaloNoise_fillDB.py:53
TileLookForMuAlg::m_hiThrBC
std::vector< double > m_hiThrBC
Definition: TileLookForMuAlg.h:83
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
TileMu
Class to store TileMuId quantities.
Definition: TileMu.h:25
fitman.k
k
Definition: fitman.py:528
ServiceHandle< ICondSvc >