ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
TrigEgammaMonitorBaseAlgorithm.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 
8 
9 TrigEgammaMonitorBaseAlgorithm::TrigEgammaMonitorBaseAlgorithm( const std::string& name, ISvcLocator* pSvcLocator )
10  : AthMonitorAlgorithm(name,pSvcLocator),
11  m_trigdec("Trig::TrigDecisionTool/TrigDecisionTool"),
12  m_matchTool("Trig::TrigEgammaMatchingToolMT/TrigEgammaMatchingToolMT")
13 {
14  declareProperty( "MatchTool" , m_matchTool );
15  declareProperty( "EmulationTool" , m_emulatorTool );
16 }
17 
18 
20 
21 
22 
23 
25 {
26 
28  ATH_CHECK(m_trigdec.retrieve());
29  ATH_CHECK(m_photonIsEMTool.retrieve());
30  ATH_CHECK(m_electronIsEMTool.retrieve());
31  ATH_CHECK(m_electronLHTool.retrieve());
32  ATH_CHECK(m_electronDNNTool.retrieve());
33 
34  std::vector<std::string> steps = {"L1Calo","L2Calo","L2","EFCalo","EFTrack","HLT"};
35  for(const auto& step:steps)
37 
38 
39 
40  return StatusCode::SUCCESS;
41 }
42 
43 
44 // ************************************************************************************************
45 
46 
47 
48 
49 bool TrigEgammaMonitorBaseAlgorithm::ApplyElectronPid( const xAOD::Electron *eg, const std::string& pidname) const
50 {
51  const auto& ctx = Gaudi::Hive::currentContext() ;
52  if (pidname == "tight"){
53  return (bool) this->m_electronIsEMTool[0]->accept(ctx,eg);
54  }
55  else if (pidname == "medium"){
56  return (bool) this->m_electronIsEMTool[1]->accept(ctx,eg);
57  }
58  else if (pidname == "loose"){
59  return (bool) this->m_electronIsEMTool[2]->accept(ctx,eg);
60  }
61  else if (pidname == "lhtight"){
62  return (bool) this->m_electronLHTool[0]->accept(ctx,eg);
63  }
64  else if (pidname == "lhmedium"){
65  return (bool) this->m_electronLHTool[1]->accept(ctx,eg);
66  }
67  else if (pidname == "lhloose"){
68  return (bool) this->m_electronLHTool[2]->accept(ctx,eg);
69  }
70  else if (pidname == "lhvloose"){
71  return (bool) this->m_electronLHTool[3]->accept(ctx,eg);
72  }
73  else if (pidname == "dnntight"){
74  return (bool) this->m_electronDNNTool[0]->accept(ctx,eg);
75  }
76  else if (pidname == "dnnmedium"){
77  return (bool) this->m_electronDNNTool[1]->accept(ctx,eg);
78  }
79  else if (pidname == "dnnloose"){
80  return (bool) this->m_electronDNNTool[2]->accept(ctx,eg);
81  }
82  else ATH_MSG_DEBUG("No Pid tool, continue without PID");
83  return false;
84 }
85 
86 
87 
88 // ************************************************************************************************
89 
90 
91 bool TrigEgammaMonitorBaseAlgorithm::ApplyPhotonPid( const xAOD::Photon *eg, const std::string& pidname) const
92 {
93  const auto& ctx = Gaudi::Hive::currentContext() ;
94  if (pidname == "tight"){
95  return (bool) this->m_photonIsEMTool[0]->accept(ctx,eg);
96  }
97  else if (pidname == "medium"){
98  return (bool) this->m_photonIsEMTool[1]->accept(ctx,eg);
99  }
100  else if (pidname == "loose"){
101  return (bool) this->m_photonIsEMTool[2]->accept(ctx,eg);
102  }
103  else ATH_MSG_DEBUG("No Pid tool, continue without PID");
104  return false;
105 }
106 
107 
108 // ************************************************************************************************
109 
110 
111 
112 bool TrigEgammaMonitorBaseAlgorithm::isIsolated(const xAOD::Electron *eg, const std::string& isolation) const {
113  ATH_MSG_DEBUG("Apply Isolation " << isolation);
114  float ptcone20=0;
115  bool isoStat=eg->isolationValue(ptcone20, xAOD::Iso::ptcone20);
116  if (!isoStat) {
117  ATH_MSG_DEBUG("Electron doesn't provide isolation for ptcone20");
118  return false;
119  }
120  if (!(fabs(eg->pt()) > 0)) {
121  ATH_MSG_DEBUG("Electron pt is zero, can't calculate relative isolation");
122  return false;
123  }
124  ATH_MSG_DEBUG("ptcone20 " << ptcone20);
125  float ptcone20_rel = ptcone20/eg->pt();
126  ATH_MSG_DEBUG("Relative isolation value " << ptcone20_rel);
127  if (isolation == "loose"){
128  if (ptcone20_rel > 0.1) {
129  ATH_MSG_DEBUG("Probe failing isolation");
130  return false;
131  } else {
132  ATH_MSG_DEBUG("Probe passing isolation");
133  return true;
134  }
135  }
136  else {
137  ATH_MSG_DEBUG("No valid working point defined for " << isolation << " continue without isolation");
138  }
139  return false;
140 }
141 
142 
143 
144 bool TrigEgammaMonitorBaseAlgorithm::isPrescaled(const std::string& trigger) const {
145 
146  bool efprescale=false;
147  bool l1prescale=false;
148  bool prescale=false;
149  bool rerun=true; //assume rerun for l1
150  std::string l1item="";
151 
152  if(trigger.starts_with( "L1" ))
153  l1item=trigger;
154  if(trigger.starts_with("HLT")){
155  l1item = getL1Item(trigger);
156  const unsigned int bit=tdt()->isPassedBits(trigger);
157  efprescale=bit & TrigDefs::EF_prescaled;
158  rerun=bit&TrigDefs::EF_resurrected; //Rerun, only check for HLT
159  }
160 
161 
162  ATH_MSG_DEBUG("Checking prescale for " << trigger << " " << l1item);
163  const unsigned int l1bit=tdt()->isPassedBits(l1item);
164  bool l1_afterpre=l1bit&TrigDefs::L1_isPassedAfterPrescale;
165  bool l1_beforepre=l1bit&TrigDefs::L1_isPassedBeforePrescale;
166  l1prescale=l1_beforepre && !l1_afterpre;
167  prescale=efprescale || l1prescale;
168  ATH_MSG_DEBUG("L1 prescale " << l1item << " " << l1prescale << " before " << l1_beforepre << " after " << l1_afterpre);
169  ATH_MSG_DEBUG("EF prescale " << trigger << " " << efprescale << " Prescale " << prescale);
170  if(rerun) return false; // Rerun use the event
171  if(prescale) return true; // Prescaled, reject event
172  return false; // Not prescaled, use event
173 }
174 
175 
176 
178 
179  ATH_MSG_DEBUG("setAccept");
180 
181  unsigned int condition=TrigDefs::includeFailedDecisions;
182 
183  asg::AcceptData acceptData (&m_accept);
184 
185  bool passedL1Calo=false;
186  bool passedL2Calo=false;
187  bool passedEFCalo=false;
188  bool passedL2=false;
189  bool passedEFTrk=false;
190  bool passedEF=false;
191 
192  if (dec) {
193  auto trigger = info.trigger;
194  if (!onlyHLT){
195  // Step 1
196  passedL1Calo = match()->ancestorPassed<TrigRoiDescriptorCollection>( dec , trigger , "initialRois", condition);
197 
198  if( passedL1Calo ){ // HLT item get full decision
199  // Step 2
200  passedL2Calo = match()->ancestorPassed<xAOD::TrigEMClusterContainer>(dec, trigger, match()->key("FastCalo"), condition);
201 
202  if(passedL2Calo){
203 
204  // Step 3
205  if(info.signature == "Electron"){
206  std::string key = match()->key("FastElectrons");
207  if(info.lrt) key = match()->key("FastElectrons_LRT");
208  passedL2 = match()->ancestorPassed<xAOD::TrigElectronContainer>(dec, trigger, key, condition);
209  }else if(info.signature == "Photon"){
210  passedL2 = match()->ancestorPassed<xAOD::TrigPhotonContainer>(dec, trigger, match()->key("FastPhotons"), condition);
211  }
212 
213  if(passedL2){
214 
215  // Step 4
216  std::string key = match()->key("PrecisionCalo_Electron");
217  if(info.signature == "Photon") key = match()->key("PrecisionCalo_Photon");
218  if(info.lrt) key = match()->key("PrecisionCalo_LRT");
219  if(info.ion) key = match()->key("PrecisionCalo_HI");
220 
221  passedEFCalo = match()->ancestorPassed<xAOD::CaloClusterContainer>(dec, trigger, key, condition);
222 
223  if(passedEFCalo){
224 
225  // Step 5
226  passedEFTrk=true;// Assume true for photons
227 
228  // Step 6
229  if(info.signature == "Electron"){
230  if( info.etcut || info.idperf){// etcut or idperf
231  passedEF = true; // since we dont run the preciseElectron step
232  }else{
233  std::string key = match()->key("Electrons_GSF");
234  if(info.lrt) key = match()->key("Electrons_LRT");
235  if(info.nogsf) key = match()->key("Electrons");
236  passedEF = match()->ancestorPassed<xAOD::ElectronContainer>(dec, trigger, key, condition);
237  }
238 
239  }else if(info.signature == "Photon"){
240  if (info.etcut){
241  passedEF = true; // since we dont run the precisePhoton step
242  }else{
243  passedEF = match()->ancestorPassed<xAOD::PhotonContainer>(dec, trigger, match()->key("Photons"), condition);
244  }
245  }
246  } // EFCalo
247  }// L2
248  }// L2Calo
249  }// L2Calo
250 
251  }
252  else{
253  if(info.signature == "Electron"){
254  if( info.etcut || info.idperf){// etcut or idperf
255  passedEF = true; // since we dont run the preciseElectron step
256  }else{
257  std::string key = match()->key("Electrons_GSF");
258  if(info.lrt) key = match()->key("Electrons_LRT");
259  if(info.nogsf) key = match()->key("Electrons");
260  passedEF = match()->ancestorPassed<xAOD::ElectronContainer>(dec, trigger, key, condition);
261  }
262 
263  }else if(info.signature == "Photon"){
264  if (info.etcut){
265  passedEF = true; // since we dont run the precisePhoton step
266  }else{
267  passedEF = match()->ancestorPassed<xAOD::PhotonContainer>(dec, trigger, match()->key("Photons"), condition);
268  }
269  }
270  }
271  }
272 
273  acceptData.setCutResult("L1Calo",passedL1Calo);
274  acceptData.setCutResult("L2Calo",passedL2Calo);
275  acceptData.setCutResult("L2",passedL2);
276  acceptData.setCutResult("EFCalo",passedEFCalo);
277  acceptData.setCutResult("EFTrack",passedEFTrk);
278  acceptData.setCutResult("HLT",passedEF);
279  ATH_MSG_DEBUG("Accept results:");
280  ATH_MSG_DEBUG("L1: "<< passedL1Calo);
281  ATH_MSG_DEBUG("L2Calo: " << passedL2Calo);
282  ATH_MSG_DEBUG("L2: "<< passedL2);
283  ATH_MSG_DEBUG("EFCalo: "<< passedEFCalo);
284  ATH_MSG_DEBUG("HLT: "<<passedEF);
285 
286  return acceptData;
287 }
288 
289 
290 
291 
292 float TrigEgammaMonitorBaseAlgorithm::dR(const float eta1, const float phi1, const float eta2, const float phi2) const {
293  float deta = fabs(eta1 - eta2);
294  float dphi = fabs(phi1 - phi2) < TMath::Pi() ? fabs(phi1 - phi2) : 2*TMath:: \
295  Pi() - fabs(phi1 - phi2);
296  return sqrt(deta*deta + dphi*dphi);
297 }
298 
299 
300 
301 
303  if(eg && (eg->caloCluster())){
304  const xAOD::CaloCluster* cluster = eg->caloCluster();
305  return fabs(cluster->etaBE(2));
306  }
307  else return -99.;
308 }
309 
310 
312  if(eg && (eg->caloCluster()) && (eg->trackParticle())){
313  const xAOD::TrackParticle *trk=eg->trackParticle();
314  const xAOD::CaloCluster *clus=eg->caloCluster();
315  float eta = fabs(trk->eta());
316  return clus->e()/cosh(eta);
317  }
318  else return -99.;
319 }
320 
321 
323  if(eg && (eg->caloCluster())){
324  const xAOD::CaloCluster* cluster = eg->caloCluster();
325  float eta2 = fabs(cluster->etaBE(2));
326  return cluster->e()/cosh(eta2);
327  }
328  else return -99.;
329 }
330 
331 
333  if(eg){
334  float emax2=0.;
335  eg->showerShapeValue(emax2, xAOD::EgammaParameters::e2tsts1);
336  float emax=0.;
337  eg->showerShapeValue(emax, xAOD::EgammaParameters::emaxs1);
338  float den = emax+emax2;
339 
340  if (fabs(den) < 1e-6) return -99.;
341 
342  float val = (emax-emax2)/(den);
343  return val;
344  }
345  else return -99.;
346 }
347 
348 
350  if(eg && eg->trackParticle()){
351  uint8_t trtHits = 0;
352  eg->trackParticleSummaryValue(trtHits,xAOD::numberOfTRTHits);
353  uint8_t trtHTHits = 0;
354  eg->trackParticleSummaryValue(trtHTHits,xAOD::numberOfTRTHighThresholdHits);
355  if (fabs(trtHits) < 1e-6) {
356  return -99.;
357  }
358  else{
359  return ( (double)trtHTHits / (double)trtHits );
360  }
361  }
362  else return -99.;
363 }
364 
365 
367  const xAOD::TrackParticle* t = eg->trackParticle();
368  float d0sigma=0.;
369  if (t)
370  {
371  float vard0 = t->definingParametersCovMatrix()(0,0);
372  if (vard0 > 0) {
373  d0sigma=sqrtf(vard0);
374  }
375  else return -99.;
376  return d0sigma;
377  }
378  else return -99.;
379 }
380 
381 
383  const xAOD::TrackParticle* t = eg->trackParticle();
384  float d0sigma=0.;
385  if (t)
386  {
387  float vard0 = t->definingParametersCovMatrix()(0,0);
388  if (vard0 > 0) {
389  d0sigma=sqrtf(vard0);
390  }
391  else return -99.;
392 
393  if (fabs(d0sigma) < 1e-6) return -99.;
394  return t->d0()/d0sigma;
395  }
396  else return -99.;
397 }
398 
399 
401  if(eg && (eg->caloCluster())){
402  const xAOD::CaloCluster* cluster = eg->caloCluster();
403  return cluster->energyBE(0);
404  }
405  else return 0;
406 }
407 
408 
410  if(eg && (eg->caloCluster())){
411  const xAOD::CaloCluster* cluster = eg->caloCluster();
412  return cluster->energyBE(1);
413  }
414  else return 0.;
415 }
416 
417 
419  if(eg && (eg->caloCluster())){
420  const xAOD::CaloCluster* cluster = eg->caloCluster();
421  return cluster->energyBE(2);
422  }
423  else return 0.;
424 }
425 
426 
428  if(eg && (eg->caloCluster())){
429  const xAOD::CaloCluster* cluster = eg->caloCluster();
430  return cluster->energyBE(3);
431  }
432  else return 0.;
433 }
434 
435 
437  if(eg && (eg->caloCluster())){
438  const xAOD::CaloCluster* cluster = eg->caloCluster();
439  float ebe1 = cluster->energyBE(1);
440  float ebe2 = cluster->energyBE(2);
441  float ebe3 = cluster->energyBE(3);
442  return (ebe1+ebe2+ebe3);
443  }
444  else return 0.;
445 }
446 
447 
449  if(eg && (eg->caloCluster())){
450  const xAOD::CaloCluster* cluster = eg->caloCluster();
451  float ebe0 = cluster->energyBE(0);
452  float ebe1 = cluster->energyBE(1);
453  float ebe2 = cluster->energyBE(2);
454  float ebe3 = cluster->energyBE(3);
455  float eacc = ebe1+ebe2+ebe3;
456  if(eacc==0.) return 0.;
457  return (ebe0/eacc);
458  }
459  else return 0.;
460 }
461 
462 
464 #define GETTER(_name_) float TrigEgammaMonitorBaseAlgorithm::getShowerShape_##_name_(const xAOD::Egamma* eg) const \
465 { float val{-99}; \
466  eg->showerShapeValue(val,xAOD::EgammaParameters::_name_); \
467  return val; }
468  GETTER(e011)
469  GETTER(e132)
470  GETTER(e237)
471  GETTER(e277)
472  GETTER(ethad)
473  GETTER(ethad1)
474  GETTER(weta1)
475  GETTER(weta2)
476  GETTER(f1)
477  GETTER(e2tsts1)
478  GETTER(emins1)
479  GETTER(emaxs1)
480  GETTER(wtots1)
481  GETTER(fracs1)
482  GETTER(Reta)
483  GETTER(Rphi)
484  GETTER(f3)
485  GETTER(f3core)
486  GETTER(Eratio)
487  GETTER(Rhad)
488  GETTER(Rhad1)
489  GETTER(DeltaE)
490 #undef GETTER
491 
492 
493 // GETTER for Isolation monitoring
494 #define GETTER(_name_) float TrigEgammaMonitorBaseAlgorithm::getIsolation_##_name_(const xAOD::Electron* eg) const\
495 { float val{-99}; \
496  eg->isolationValue(val,xAOD::Iso::_name_); \
497  return val; }
504 #undef GETTER
505 
506 
507 #define GETTER(_name_) float TrigEgammaMonitorBaseAlgorithm::getIsolation_##_name_(const xAOD::Egamma* eg) const\
508 { float val{-99}; \
509  eg->isolationValue(val,xAOD::Iso::_name_); \
510  return val; }
518 #undef GETTER
519 
520 
521 // GETTERs for CaloCluster monitoring
522 #define GETTER(_name_) float TrigEgammaMonitorBaseAlgorithm::getCluster_##_name_(const xAOD::Egamma* eg) const\
523 { if(eg && eg->caloCluster()) \
524  return eg->caloCluster()->_name_(); \
525  else return -99.;}
526  GETTER(et)
527  GETTER(phi)
528  GETTER(eta)
529 #undef GETTER
530 
531 
532 // GETTERs for Track monitoring
533 #define GETTER(_name_) float TrigEgammaMonitorBaseAlgorithm::getTrack_##_name_(const xAOD::Electron* eg) const\
534 { if(eg && eg->trackParticle()) \
535  return eg->trackParticle()->_name_(); \
536  else return -99.;}
537  GETTER(pt)
538  GETTER(phi)
539  GETTER(eta)
540  GETTER(d0)
541  GETTER(z0)
542 #undef GETTER
543 
544 
545 // GETTERs for Track details monitoring
546 #define GETTER(_name_) float TrigEgammaMonitorBaseAlgorithm::getTrackSummary_##_name_(const xAOD::Electron* eg) const \
547 { uint8_t val_uint8{0}; \
548  if(eg){ \
549  eg->trackParticleSummaryValue(val_uint8,xAOD::_name_); \
550  return val_uint8; } \
551  else return -99; }
566 #undef GETTER
567 
568 
569 #define GETTER(_name_) float TrigEgammaMonitorBaseAlgorithm::getTrackSummaryFloat_##_name_(const xAOD::Electron* eg) const\
570 { float val_float{0}; \
571  if(eg){ \
572  eg->trackParticleSummaryValue(val_float,xAOD::_name_); \
573  return val_float; } \
574  else return -99; }
578 #undef GETTER
579 
580 
581 // GETTERs for Calo-Track monitoring
582 #define GETTER(_name_) float TrigEgammaMonitorBaseAlgorithm::getCaloTrackMatch_##_name_(const xAOD::Electron* eg) const\
583 { float val={-99.}; \
584  if(eg){ \
585  eg->trackCaloMatchValue(val,xAOD::EgammaParameters::_name_);} \
586  return val; }
599 #undef GETTER
600 
601 
602 
603 TrigInfo TrigEgammaMonitorBaseAlgorithm::getTrigInfo(const std::string& trigger) const{
604  return m_trigInfo.at(trigger);
605 }
606 
607 
608 
609 // This is not const function and can not be used in execute mode (not thread safe)
610 // adds entry in TrigInfo map to retrieve later via trigger name
611 void TrigEgammaMonitorBaseAlgorithm::setTrigInfo(const std::string& trigger){
612 
613  /********************************************
614  // Trigger Information struct
615  typedef struct _triginfo
616  {
617  // L1 information
618  bool L1Legacy;
619  std::string L1Threshold; //EM22VHI
620  // HLT information
621  std::string trigger; //Trigger Name
622  std::string signature; //Electron or Photon
623  float etthr; // HLT Et threshold
624  // if trigger is etcut OR idperf, pidname should be default (usually lhloose)
625  std::string pidname; // Offline loose, medium, tight, etc...
626  // extra HLT information
627  bool idperf; // Performance chain
628  bool etcut; // Et cut only chain
629  bool nogsf; // chain without gsf reconstruction
630  bool lrt; // LRT chain
631  bool ion; // Heavy Ion chain
632  std::string isolation;
633  bool isolated;
634  } TrigInfo;
635  *******************************************/
636 
637  std::map<std::string, std::string> pidMap = { {"vloose" , "loose" },
638  {"loose" , "loose" },
639  {"medium" , "medium" },
640  {"tight" , "tight" },
641  {"loose1" , "loose" },
642  {"medium1" , "medium" },
643  {"tight1" , "tight" },
644  {"lhvloose" , "lhvloose" },
645  {"lhloose" , "lhloose" },
646  {"lhmedium" , "lhmedium" },
647  {"lhtight" , "lhtight" },
648  {"dnnloose" , "dnnloose" },
649  {"dnnmedium", "dnnmedium"},
650  {"dnntight" , "dnntight" } };
651 
652  std::vector<std::string> isoNames = {"ivarloose","ivarmedium","ivartight","icaloloose","icalomedium","icalotight"};
653 
654  bool nogsf = false;
655  bool lrt = false;
656  bool ion = false;
657  bool etcut = false;
658  bool idperf = false;
659  bool isolated = false;
660 
661  std::string isolation="";
662  bool l1legacy=true;
663 
664  std::string hltinfo=trigger;
665  std::string signature = "";
666  float threshold = 0;
667  // HLT_e/gXX_(pidname/etcut/idperf)_*_L1EMXX to e/gXX_(pidname/etcut/idperf)_*_L1EMXX
668  if(boost::contains(hltinfo,"HLT")) hltinfo.erase(0,4);
669 
670 
671  std::vector<std::string> parts;
672  boost::split(parts,hltinfo,boost::is_any_of("_"));
673  std::string pidname;
674 
675  // e/gXX_(pidname/etcut/idperf)_*_L1EMXX
676  if(boost::contains(parts.at(0),"e")) {
677  signature = "Electron";
678  pidname = m_defaultProbePidElectron;
679  }else if(boost::contains(parts.at(0),"g")) {
680  signature = "Photon";
681  pidname = m_defaultProbePidPhoton;
682  }else {
683  ATH_MSG_ERROR("Cannot set trigger type from name");
684  }
685 
686  ATH_MSG_DEBUG(parts.at(1));
687  if(parts.at(1) == "idperf"){
688  ATH_MSG_DEBUG("This is idperf");
689  idperf=true;
690  }
691  else if( parts.at(1)== "etcut"){
692  ATH_MSG_DEBUG("This is etcut");
693  etcut=true;
694  }
695  else { // remap online pidname to offline pidname
696  ATH_MSG_DEBUG("This is nominal");
697  pidname = pidMap.at(parts.at(1));
698  }
699 
700 
701  // extra information
702  nogsf = boost::contains(trigger,"nogsf");
703  lrt = boost::contains(trigger,"lrt");
704  ion = boost::contains(trigger,"ion");
705 
706  for(auto& iso : isoNames){
707  if(boost::contains(trigger, iso)){
708  isolation=iso; isolated=true; break;
709  }
710  }
711 
712  // Get the threshold
713  std::string str_thr = parts.at(0);
714  str_thr.erase( 0, 1);
715  threshold = atof(str_thr.c_str());
716 
717  // L1EMXX
718  std::string l1seed = getL1Item(trigger);
719  l1legacy = !boost::contains(l1seed, "eEM");
720 
721 
722  ATH_MSG_DEBUG("=================== Chain Parser =======================");
723  ATH_MSG_DEBUG( "trigger : " << trigger );
724  ATH_MSG_DEBUG( "threshold : " << threshold);
725  ATH_MSG_DEBUG( "Pidname : " << pidname );
726  ATH_MSG_DEBUG( "signature : " << signature);
727  ATH_MSG_DEBUG( "etcut : " << (etcut?"Yes":"No"));
728  ATH_MSG_DEBUG( "idperf : " << (idperf?"Yes":"No"));
729  ATH_MSG_DEBUG( "nogsf : " << (nogsf?"Yes":"No"));
730  ATH_MSG_DEBUG( "lrt : " << (lrt?"Yes":"No"));
731  ATH_MSG_DEBUG( "HeavyIon : " << (ion?"Yes":"No"));
732  ATH_MSG_DEBUG( "Isolation : " << isolation);
733  ATH_MSG_DEBUG( "Isolated : " << (isolated?"Yes":"No"));
734  ATH_MSG_DEBUG( "L1Seed : " << l1seed << " (Is Legacy? " << (l1legacy?"Yes":"No") << ")");
735  ATH_MSG_DEBUG("========================================================");
736 
737  TrigInfo info{l1legacy,l1seed,trigger,signature,threshold,pidname,idperf,etcut,nogsf,lrt,ion,isolation,isolated};
738  m_trigInfo[trigger] = info;
739 
740 }
741 
742 
743 // For Run-3, all triggers must have the L1 seed in name (last part)
744 std::string TrigEgammaMonitorBaseAlgorithm::getL1Item(const std::string& trigger) const{
745  std::vector<std::string> parts;
746  boost::split(parts,trigger,boost::is_any_of("_"));
747  // L1EMXX
748  std::string l1seed = parts.back();
749  return l1seed;
750 }
751 
752 
754  return m_trigdec->ExperimentalAndExpertMethods().isHLTTruncated();
755 }
756 
757 
758 
759 
761 
762 // Define the parser
763 #include "Gaudi/Parsers/Factory.h"
764 
765 namespace Gaudi
766 {
767  namespace Parsers
768  {
769  // Parse function... nothing special, but it must be done explicitely.
770  StatusCode parse( VecDict_t& result, const std::string& input ) { return parse_( result, input ); }
771  }
772 }
773 
774 // We also need to be able to print an object of our type as a string that both
775 // Python and our parser can understand,
776 #include "GaudiKernel/ToStream.h"
777 namespace std
778 {
779  // This is an example valid for any mapping type.
780  ostream& operator<<( ostream& s, const Gaudi::Parsers::VecDict_t& vecDict )
781  {
782  s << '{';
783  for ( const auto& dict : vecDict ) {
784  Gaudi::Utils::toStream( dict, s );
785  }
786  s << '}';
787  return s;
788  }
789 }
790 
grepfile.info
info
Definition: grepfile.py:38
TrigEgammaMonitorBaseAlgorithm::getDEmaxs1
float getDEmaxs1(const xAOD::Egamma *eg) const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:332
AllowedVariables::e
e
Definition: AsgElectronSelectorTool.cxx:37
xAOD::Iso::ptvarcone30
@ ptvarcone30
Definition: IsolationType.h:56
TrigEgammaMonitorBaseAlgorithm::m_photonIsEMTool
ToolHandleArray< IAsgPhotonIsEMSelector > m_photonIsEMTool
Offline isEM Photon Selectors.
Definition: TrigEgammaMonitorBaseAlgorithm.h:100
RunTrigEgammaMonitoring.onlyHLT
onlyHLT
Definition: RunTrigEgammaMonitoring.py:109
TrigEgammaMonitorBaseAlgorithm::isIsolated
bool isIsolated(const xAOD::Electron *, const std::string &) const
Check if electron fulfils isolation criteria.
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:112
TrigEgammaMonitorBaseAlgorithm::getEnergyBE1
float getEnergyBE1(const xAOD::Egamma *eg) const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:409
TrigEgammaMonitorBaseAlgorithm::dR
float dR(const float, const float, const float, const float) const
Get delta R.
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:292
et
Extra patterns decribing particle interation process.
xAOD::EgammaParameters::deltaPhi0
@ deltaPhi0
difference between the cluster phi (presampler) and the eta of the track extrapolated to the presampl...
Definition: EgammaEnums.h:193
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
xAOD::Iso::topoetcone20
@ topoetcone20
Topo-cluster ET-sum.
Definition: IsolationType.h:48
get_generator_info.result
result
Definition: get_generator_info.py:21
xAOD::Iso::ptvarcone20
@ ptvarcone20
Mini-Isolation http://arxiv.org/abs/1007.2221.
Definition: IsolationType.h:55
xAOD::eProbabilityComb
@ eProbabilityComb
Electron probability from combining the below probabilities [float].
Definition: TrackingPrimitives.h:301
xAOD::EgammaParameters::deltaPhi3
@ deltaPhi3
difference between the cluster eta (3rd sampling) and the eta of the track extrapolated to the 3rd sa...
Definition: EgammaEnums.h:207
ParticleGun_SamplingFraction.eta2
eta2
Definition: ParticleGun_SamplingFraction.py:96
Gaudi::Parsers::parse
StatusCode parse(std::tuple< Tup... > &tup, const Gaudi::Parsers::InputData &input)
Definition: CaloGPUClusterAndCellDataMonitorOptions.h:284
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:67
TrigEgammaMonitorBaseAlgorithm::m_trigdec
ToolHandle< Trig::TrigDecisionTool > m_trigdec
Trigger decision tool.
Definition: TrigEgammaMonitorBaseAlgorithm.h:77
xAOD::uint8_t
uint8_t
Definition: Muon_v1.cxx:557
ParticleTest.eg
eg
Definition: ParticleTest.py:29
xAOD::EgammaParameters::Reta
@ Reta
e237/e277
Definition: EgammaEnums.h:154
_triginfo
Definition: TrigEgammaMonitorBaseAlgorithm.h:42
Gaudi::Utils::toStream
std::ostream & toStream(const SG::VarHandleKeyArray &v, std::ostream &o)
Gaudi function used to convert a property to a string.
Definition: StoreGate/src/VarHandleKeyArray.cxx:47
TrigEgammaMonitorBaseAlgorithm::getEt
float getEt(const xAOD::Electron *eg) const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:311
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:83
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
xAOD::TrackParticle_v1::eta
virtual double eta() const override final
The pseudorapidity ( ) of the particle.
Definition: TrackParticle_v1.cxx:77
TrigEgammaMonitorBaseAlgorithm::setAccept
asg::AcceptData setAccept(const TrigCompositeUtils::Decision *, const TrigInfo &, const bool) const
Set the accept object for all trigger levels.
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:177
xAOD::numberOfTRTXenonHits
@ numberOfTRTXenonHits
number of TRT hits on track in straws with xenon [unit8_t].
Definition: TrackingPrimitives.h:285
TrigEgammaMonitorBaseAlgorithm::ApplyPhotonPid
bool ApplyPhotonPid(const xAOD::Photon *eg, const std::string &) const
Get offline electron decision.
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:91
xAOD::EgammaParameters::deltaEta0
@ deltaEta0
difference between the cluster eta (presampler) and the eta of the track extrapolated to the presampl...
Definition: EgammaEnums.h:176
xAOD::Iso::ptcone30
@ ptcone30
Definition: IsolationType.h:41
test_pyathena.pt
pt
Definition: test_pyathena.py:11
xAOD::EgammaParameters::deltaEta2
@ deltaEta2
difference between the cluster eta (second sampling) and the eta of the track extrapolated to the sec...
Definition: EgammaEnums.h:187
xAOD::Iso::ptcone20
@ ptcone20
Track isolation.
Definition: IsolationType.h:40
xAOD::Iso::etcone40
@ etcone40
Definition: IsolationType.h:34
xAOD::EgammaParameters::ethad1
@ ethad1
transverse energy in the first sampling of the hadronic calorimeters behind the cluster calculated fr...
Definition: EgammaEnums.h:42
xAOD::Iso::topoetcone30
@ topoetcone30
Definition: IsolationType.h:49
xAOD::eta1
setEt setPhi setE277 setWeta2 eta1
Definition: TrigEMCluster_v1.cxx:41
LArG4GenerateShowerLib.condition
condition
Definition: LArG4GenerateShowerLib.py:19
xAOD::numberOfPixelHits
@ numberOfPixelHits
these are the pixel hits, including the b-layer [unit8_t].
Definition: TrackingPrimitives.h:260
xAOD::expectInnermostPixelLayerHit
@ expectInnermostPixelLayerHit
Do we expect a 0th-layer barrel hit for this track?
Definition: TrackingPrimitives.h:237
xAOD::EgammaParameters::deltaPhiRescaled3
@ deltaPhiRescaled3
difference between the cluster eta (3rd sampling) and the eta of the track extrapolated to the 3rd sa...
Definition: EgammaEnums.h:230
xAOD::numberOfTRTHits
@ numberOfTRTHits
number of TRT hits [unit8_t].
Definition: TrackingPrimitives.h:276
xAOD::Egamma_v1
Definition: Egamma_v1.h:56
xAOD::Iso::etcone30
@ etcone30
Definition: IsolationType.h:33
xAOD::EgammaParameters::Rphi
@ Rphi
e233/e237
Definition: EgammaEnums.h:156
TrigEgammaMonitorBaseAlgorithm::tdt
const ToolHandle< Trig::TrigDecisionTool > & tdt() const
Get the TDT
Definition: TrigEgammaMonitorBaseAlgorithm.h:133
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
xAOD::Iso::ptvarcone40
@ ptvarcone40
Definition: IsolationType.h:57
TrigEgammaMonitorBaseAlgorithm::getE0Eaccordion
float getE0Eaccordion(const xAOD::Egamma *eg) const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:448
xAOD::EgammaParameters::wtots1
@ wtots1
shower width is determined in a window detaxdphi = 0,0625 ×~0,2, corresponding typically to 20 strips...
Definition: EgammaEnums.h:140
TrigEgammaMonitorBaseAlgorithm::getEnergyBE0
float getEnergyBE0(const xAOD::Egamma *eg) const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:400
TrigEgammaMonitorBaseAlgorithm::getEnergyBE3
float getEnergyBE3(const xAOD::Egamma *eg) const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:427
xAOD::numberOfTRTHighThresholdHits
@ numberOfTRTHighThresholdHits
number of TRT hits which pass the high threshold (only xenon counted) [unit8_t].
Definition: TrackingPrimitives.h:279
xAOD::EgammaParameters::deltaPhi1
@ deltaPhi1
difference between the cluster eta (1st sampling) and the eta of the track extrapolated to the 1st sa...
Definition: EgammaEnums.h:196
AthMonitorAlgorithm
Base class for Athena Monitoring Algorithms.
Definition: AthMonitorAlgorithm.h:36
xAOD::EgammaParameters::f3
@ f3
fraction of energy reconstructed in 3rd sampling
Definition: EgammaEnums.h:54
TrigEgammaMonitorBaseAlgorithm::isHLTTruncated
bool isHLTTruncated() const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:753
xAOD::numberOfInnermostPixelLayerOutliers
@ numberOfInnermostPixelLayerOutliers
number of 0th layer barrel outliers
Definition: TrackingPrimitives.h:239
xAOD::EgammaParameters::ethad
@ ethad
ET leakage into hadronic calorimeter with exclusion of energy in CaloSampling::TileGap3.
Definition: EgammaEnums.h:45
TrigEgammaMonitorBaseAlgorithm::getTrigInfo
TrigInfo getTrigInfo(const std::string &) const
Get the trigger info parsed from the chain name (only single lepton triggers)
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:603
TrigEgammaMonitorBaseAlgorithm::m_accept
asg::AcceptInfo m_accept
Definition: TrigEgammaMonitorBaseAlgorithm.h:122
xAOD::numberOfTRTHighThresholdOutliers
@ numberOfTRTHighThresholdOutliers
number of TRT high threshold outliers (only xenon counted) [unit8_t].
Definition: TrackingPrimitives.h:282
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:59
beamspotman.steps
int steps
Definition: beamspotman.py:505
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
TrigEgammaMonitorBaseAlgorithm::m_trigInfo
std::map< std::string, TrigInfo > m_trigInfo
creates map of trigger name and TrigInfo struct
Definition: TrigEgammaMonitorBaseAlgorithm.h:84
TrigEgammaMonitorBaseAlgorithm::m_defaultProbePidElectron
Gaudi::Property< std::string > m_defaultProbePidElectron
default probe pid for electron trigitems that don't have pid in their name
Definition: TrigEgammaMonitorBaseAlgorithm.h:109
TrigEgammaMonitorBaseAlgorithm::setTrigInfo
void setTrigInfo(const std::string &)
Set the trigger info parsed from the chain name.
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:611
xAOD::Iso::etcone20
@ etcone20
Calorimeter isolation.
Definition: IsolationType.h:32
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
xAOD::EgammaParameters::emins1
@ emins1
energy reconstructed in the strip with the minimal value between the first and second maximum
Definition: EgammaEnums.h:143
TrigEgammaMonitorBaseAlgorithm::m_emulatorTool
ToolHandle< Trig::TrigEgammaEmulationToolMT > m_emulatorTool
Definition: TrigEgammaMonitorBaseAlgorithm.h:92
contains
bool contains(const std::string &s, const std::string &regx)
does a string contain the substring
Definition: hcg.cxx:111
xAOD::EgammaParameters::e011
@ e011
uncalibrated energy (sum of cells) in presampler in a 1x1 window in cells in eta X phi
Definition: EgammaEnums.h:30
TRT::Track::d0
@ d0
Definition: InnerDetector/InDetCalibEvent/TRT_CalibData/TRT_CalibData/TrackInfo.h:62
xAOD::EgammaParameters::deltaEta3
@ deltaEta3
difference between the cluster eta (3rd sampling) and the eta of the track extrapolated to the 3rd sa...
Definition: EgammaEnums.h:190
xAOD::numberOfPixelOutliers
@ numberOfPixelOutliers
these are the pixel outliers, including the b-layer [unit8_t].
Definition: TrackingPrimitives.h:261
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
xAOD::EgammaParameters::deltaPhiRescaled2
@ deltaPhiRescaled2
difference between the cluster phi (second sampling) and the phi of the track extrapolated to the sec...
Definition: EgammaEnums.h:225
TrigEgammaMonitorBaseAlgorithm::m_electronIsEMTool
ToolHandleArray< IAsgElectronIsEMSelector > m_electronIsEMTool
Offline isEM Selectors.
Definition: TrigEgammaMonitorBaseAlgorithm.h:94
TRT::Track::z0
@ z0
Definition: InnerDetector/InDetCalibEvent/TRT_CalibData/TRT_CalibData/TrackInfo.h:63
xAOD::EgammaParameters::deltaPhiRescaled0
@ deltaPhiRescaled0
difference between the cluster phi (presampler) and the eta of the track extrapolated to the presampl...
Definition: EgammaEnums.h:215
xAOD::TrigComposite_v1
Class used to describe composite objects in the HLT.
Definition: TrigComposite_v1.h:52
TrigEgammaMonitorBaseAlgorithm::getEaccordion
float getEaccordion(const xAOD::Egamma *eg) const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:436
TrigEgammaMonitorBaseAlgorithm::m_electronLHTool
ToolHandleArray< IAsgElectronLikelihoodTool > m_electronLHTool
Offline LH Selectors.
Definition: TrigEgammaMonitorBaseAlgorithm.h:96
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
xAOD::EgammaParameters::Rhad1
@ Rhad1
ethad1/et
Definition: EgammaEnums.h:162
CxxUtils::atof
double atof(std::string_view str)
Converts a string into a double / float.
Definition: Control/CxxUtils/Root/StringUtils.cxx:91
TrigEgammaMonitorBaseAlgorithm::getEta2
float getEta2(const xAOD::Egamma *eg) const
Features helper.
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:302
TrigEgammaMonitorBaseAlgorithm::ApplyElectronPid
bool ApplyElectronPid(const xAOD::Electron *eg, const std::string &) const
Get offline electron decision.
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:49
TrigEgammaMonitorBaseAlgorithm::getSigmaD0
float getSigmaD0(const xAOD::Electron *eg) const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:366
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
threshold
Definition: chainparser.cxx:74
xAOD::EgammaParameters::deltaPhi2
@ deltaPhi2
difference between the cluster phi (second sampling) and the phi of the track extrapolated to the sec...
Definition: EgammaEnums.h:204
operator<<
std::ostream & operator<<(std::ostream &lhs, const TestGaudiProperty &rhs)
Definition: TestGaudiProperty.cxx:69
Gaudi::Parsers::VecDict_t
std::vector< Dict_t > VecDict_t
Definition: TrigEgammaMonitorBaseAlgorithm.h:294
TrigEgammaMonitorBaseAlgorithm::m_matchTool
ToolHandle< TrigEgammaMatchingToolMT > m_matchTool
Definition: TrigEgammaMonitorBaseAlgorithm.h:90
xAOD::Electron_v1
Definition: Electron_v1.h:34
TrigEgammaMonitorBaseAlgorithm::TrigEgammaMonitorBaseAlgorithm
TrigEgammaMonitorBaseAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:9
TrigEgammaMonitorBaseAlgorithm::match
const ToolHandle< TrigEgammaMatchingToolMT > & match() const
Get the e/g match tool.
Definition: TrigEgammaMonitorBaseAlgorithm.h:135
AthMonitorAlgorithm::initialize
virtual StatusCode initialize() override
initialize
Definition: AthMonitorAlgorithm.cxx:18
xAOD::Iso::ptcone40
@ ptcone40
Definition: IsolationType.h:42
xAOD::numberOfTRTOutliers
@ numberOfTRTOutliers
number of TRT outliers [unit8_t].
Definition: TrackingPrimitives.h:277
xAOD::pixeldEdx
@ pixeldEdx
the dE/dx estimate, calculated using the pixel clusters [?]
Definition: TrackingPrimitives.h:305
xAOD::EgammaParameters::deltaPhiRescaled1
@ deltaPhiRescaled1
difference between the cluster eta (1st sampling) and the eta of the track extrapolated to the 1st sa...
Definition: EgammaEnums.h:220
TrigEgammaMonitorBaseAlgorithm::m_electronDNNTool
ToolHandleArray< IAsgElectronLikelihoodTool > m_electronDNNTool
Offline DNN Selectors.
Definition: TrigEgammaMonitorBaseAlgorithm.h:98
TrigEgammaMonitorBaseAlgorithm::getD0sig
float getD0sig(const xAOD::Electron *eg) const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:382
asg::AcceptData::setCutResult
void setCutResult(const std::string &cutName, bool cutResult)
Set the result of a cut, based on the cut name (safer)
Definition: AcceptData.h:134
xAOD::Photon_v1
Definition: Photon_v1.h:37
xAOD::numberOfSCTOutliers
@ numberOfSCTOutliers
number of SCT outliers [unit8_t].
Definition: TrackingPrimitives.h:270
xAOD::numberOfSCTDeadSensors
@ numberOfSCTDeadSensors
number of dead SCT sensors crossed [unit8_t].
Definition: TrackingPrimitives.h:274
TrigRoiDescriptorCollection
Definition: TrigRoiDescriptorCollection.h:21
Pythia8_RapidityOrderMPI.val
val
Definition: Pythia8_RapidityOrderMPI.py:14
TrigEgammaMonitorBaseAlgorithm::rTRT
float rTRT(const xAOD::Electron *eg) const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:349
xAOD::eProbabilityHT
@ eProbabilityHT
Electron probability from High Threshold (HT) information [float].
Definition: TrackingPrimitives.h:302
Gaudi
=============================================================================
Definition: CaloGPUClusterAndCellDataMonitorOptions.h:273
LArCellBinning.step
step
Definition: LArCellBinning.py:158
xAOD::numberOfSCTHits
@ numberOfSCTHits
number of hits in SCT [unit8_t].
Definition: TrackingPrimitives.h:269
xAOD::EgammaParameters::e277
@ e277
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 7x7
Definition: EgammaEnums.h:80
doL1CaloHVCorrections.parts
parts
Definition: doL1CaloHVCorrections.py:334
TrigEgammaMonitorBaseAlgorithm.h
xAOD::numberOfPixelDeadSensors
@ numberOfPixelDeadSensors
number of dead pixel sensors crossed [unit8_t].
Definition: TrackingPrimitives.h:267
xAOD::EgammaParameters::weta1
@ weta1
shower width using +/-3 strips around the one with the maximal energy deposit: w3 strips = sqrt{sum(E...
Definition: EgammaEnums.h:97
xAOD::EgammaParameters::e132
@ e132
uncalibrated energy (sum of cells) in strips in a 3x2 window in cells in eta X phi
Definition: EgammaEnums.h:36
xAOD::EgammaParameters::Eratio
@ Eratio
(emaxs1-e2tsts1)/(emaxs1+e2tsts1)
Definition: EgammaEnums.h:158
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition: TrackParticle_v1.h:43
xAOD::EgammaParameters::e237
@ e237
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 3x7
Definition: EgammaEnums.h:77
xAOD::Iso::topoetcone40
@ topoetcone40
Definition: IsolationType.h:50
GETTER
#define GETTER(_name_)
Macros for plotting.
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:582
xAOD::EgammaParameters::deltaEta1
@ deltaEta1
difference between the cluster eta (first sampling) and the eta of the track extrapolated to the firs...
Definition: EgammaEnums.h:184
TrigEgammaMonitorBaseAlgorithm::getEnergyBE2
float getEnergyBE2(const xAOD::Egamma *eg) const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:418
xAOD::EgammaParameters::f3core
@ f3core
E3(3x3)/E fraction of the energy reconstructed in the third compartment of the electromagnetic calori...
Definition: EgammaEnums.h:65
xAOD::EgammaParameters::e2tsts1
@ e2tsts1
energy of the cell corresponding to second energy maximum in the first sampling
Definition: EgammaEnums.h:108
xAOD::EgammaParameters::Rhad
@ Rhad
ethad/et
Definition: EgammaEnums.h:160
asg::AcceptData
Definition: AcceptData.h:30
TrigEgammaMonitorBaseAlgorithm::initialize
virtual StatusCode initialize() override
initialize
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:24
xAOD::EgammaParameters::DeltaE
@ DeltaE
e2tsts1-emins1
Definition: EgammaEnums.h:164
TrigEgammaMonitorBaseAlgorithm::m_defaultProbePidPhoton
Gaudi::Property< std::string > m_defaultProbePidPhoton
default probe pid for photon trigitems that don't have pid in their name
Definition: TrigEgammaMonitorBaseAlgorithm.h:111
TrigEgammaMonitorBaseAlgorithm::isPrescaled
bool isPrescaled(const std::string &) const
Check if the event is prescaled.
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:144
xAOD::EgammaParameters::emaxs1
@ emaxs1
energy of strip with maximal energy deposit
Definition: EgammaEnums.h:145
xAOD::CaloCluster_v1::e
virtual double e() const
The total energy of the particle.
Definition: CaloCluster_v1.cxx:265
TrigEgammaMonitorBaseAlgorithm::~TrigEgammaMonitorBaseAlgorithm
virtual ~TrigEgammaMonitorBaseAlgorithm()
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:19
dumpTgcDigiThreshold.threshold
list threshold
Definition: dumpTgcDigiThreshold.py:34
Trk::split
@ split
Definition: LayerMaterialProperties.h:38
TrigEgammaMonitorBaseAlgorithm::getL1Item
std::string getL1Item(const std::string &trigger) const
Creates static map to return L1 item from trigger name.
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:744
xAOD::EgammaParameters::fracs1
@ fracs1
shower shape in the shower core : [E(+/-3)-E(+/-1)]/E(+/-1), where E(+/-n) is the energy in ± n strip...
Definition: EgammaEnums.h:111
xAOD::numberOfInnermostPixelLayerHits
@ numberOfInnermostPixelLayerHits
these are the hits in the 0th pixel barrel layer
Definition: TrackingPrimitives.h:238
read_hist_ntuple.f1
f1
Definition: read_hist_ntuple.py:4
asg::AcceptInfo::addCut
int addCut(const std::string &cutName, const std::string &cutDescription)
Add a cut; returning the cut position.
Definition: AcceptInfo.h:53
TrigEgammaMonitorBaseAlgorithm::getEtCluster37
float getEtCluster37(const xAOD::Egamma *eg) const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:322
xAOD::EgammaParameters::weta2
@ weta2
the lateral width is calculated with a window of 3x5 cells using the energy weighted sum over all cel...
Definition: EgammaEnums.h:103
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37