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

#include <MMHitsTestTool.h>

Inheritance diagram for MMHitsTestTool:
Collaboration diagram for MMHitsTestTool:

Public Member Functions

 MMHitsTestTool (const std::string &type, const std::string &name, const IInterface *parent)
 
virtual StatusCode initialize () override final
 
virtual StatusCode processEvent () override final
 

Protected Member Functions

StatusCode executeCheckEventInfo ()
 
StatusCode executeFillHistos (const Amg::Vector3D &)
 
StatusCode executeFillHistosSectors_Wedge1 (const Amg::Vector3D &, std::string)
 
StatusCode executeFillHistosSectors_Wedge2 (const Amg::Vector3D &, std::string)
 
StatusCode executeFillHistos_sTGc (const Amg::Vector3D &, std::string)
 

Protected Attributes

TH1 * m_MM_rPlot_S1_posZ = nullptr
 
TH1 * m_MM_rPlot_S2_posZ = nullptr
 
TH1 * m_MM_rPlot_L1_posZ = nullptr
 
TH1 * m_MM_rPlot_L2_posZ = nullptr
 
TH2 * m_MMTransverseEta1SmallWedge1 = nullptr
 
TH2 * m_MMTransverseEta2SmallWedge1 = nullptr
 
TH2 * m_MMTransverseEta1LargeWedge1 = nullptr
 
TH2 * m_MMTransverseEta2LargeWedge1 = nullptr
 
TH2 * m_MMTransverseEta1SmallWedge2 = nullptr
 
TH2 * m_MMTransverseEta2SmallWedge2 = nullptr
 
TH2 * m_MMTransverseEta1LargeWedge2 = nullptr
 
TH2 * m_MMTransverseEta2LargeWedge2 = nullptr
 
TH2 * m_MM_SmallWedge1_TransverseView_positiveZ = nullptr
 
TH2 * m_MM_SmallWedge1_TransverseView_negativeZ = nullptr
 
TH2 * m_MM_LargeWedge1_TransverseView_positiveZ = nullptr
 
TH2 * m_MM_LargeWedge1_TransverseView_negativeZ = nullptr
 
TH2 * m_MM_SmallWedge1_rZview_positiveZ = nullptr
 
TH2 * m_MM_SmallWedge1_rZview_negativeZ = nullptr
 
TH2 * m_MM_LargeWedge1_rZview_positiveZ = nullptr
 
TH2 * m_MM_LargeWedge1_rZview_negativeZ = nullptr
 
TH2 * m_MM_SmallWedge2_TransverseView_positiveZ = nullptr
 
TH2 * m_MM_SmallWedge2_TransverseView_negativeZ = nullptr
 
TH2 * m_MM_LargeWedge2_TransverseView_positiveZ = nullptr
 
TH2 * m_MM_LargeWedge2_TransverseView_negativeZ = nullptr
 
TH2 * m_MM_SmallWedge2_rZview_positiveZ = nullptr
 
TH2 * m_MM_SmallWedge2_rZview_negativeZ = nullptr
 
TH2 * m_MM_LargeWedge2_rZview_positiveZ = nullptr
 
TH2 * m_MM_LargeWedge2_rZview_negativeZ = nullptr
 
std::string m_detname
 
const MuonGM::MuonDetectorManagerm_pMuonMgr
 
SG::ReadHandleKey< xAOD::EventInfom_eventInfoKey {this, "EventInfo", "EventInfo", "EventInfo name"}
 SG key for Event Info. More...
 
double m_BarrelEtaCut
 MDT barrel eta cut, applicable to the MDT 2D cross section plot. More...
 
TH1 * m_muonevnt
 
TH1 * m_muonrun
 
TH1 * m_muoneta
 
TH1 * m_muontheta
 
TH1 * m_muonphi
 
TH1 * m_muonzResid
 
TH1 * m_muonphiResid
 
TH2 * m_muondetBarrel
 
TH2 * m_muonlongView
 
TH1 * m_eta
 
TH1 * m_theta
 
TH1 * m_phi
 
TH1 * m_zResid
 
TH1 * m_phiResid
 
TH2 * m_detBarrel
 
TH2 * m_longView
 
Amg::Vector3D m_direction
 
std::string m_path {"/truth/"}
 
ServiceHandle< ITHistSvc > m_histSvc {"THistSvc", "SimTestHisto"}
 

Private Attributes

bool m_DoMMTest = true
 

structors and AlgTool implementation

std::string m_key
 The MC truth key. More...
 
HepMC::ConstGenParticlePtr getPrimary ()
 

Detailed Description

Definition at line 11 of file MMHitsTestTool.h.

Constructor & Destructor Documentation

◆ MMHitsTestTool()

MMHitsTestTool::MMHitsTestTool ( const std::string &  type,
const std::string &  name,
const IInterface *  parent 
)
inline

Definition at line 16 of file MMHitsTestTool.h.

18  {
19  declareProperty("DoMMTest", m_DoMMTest);
20  m_BarrelEtaCut=10.;
21  }

Member Function Documentation

◆ executeCheckEventInfo()

StatusCode MuonHitTestToolBase::executeCheckEventInfo ( )
protectedinherited

Definition at line 35 of file MuonHitTestToolBase.cxx.

36 {
37  SG::ReadHandle<xAOD::EventInfo> eventInfo (m_eventInfoKey,Gaudi::Hive::currentContext());
38  ATH_CHECK(eventInfo.isValid());
39  uint64_t evt = eventInfo->eventNumber();
40  int numrun = eventInfo->runNumber();
41  ATH_MSG_VERBOSE("Processing EventInfo event #"<< evt<< " run: " << numrun);
42  m_muonevnt->Fill(evt);
43  m_muonrun->Fill(numrun);
44  const McEventCollection* mcEvent;
45  CHECK(evtStore()->retrieve(mcEvent,m_key));
46 
47  // *AS* Why only if mcEvent ==1? when would there be more than one event?
48  if (mcEvent->size()!=1) {
49  m_direction=Amg::Vector3D(0.,0.,0.);
50  return StatusCode::SUCCESS;
51  }
52 
53  // *AS* Why this (double) loop, if only the last entry is preserved?
54  // changed it to take the gen particle
56  for (e=mcEvent->begin();e!=mcEvent->end(); ++e) {
57  for (auto p: (**e)) {
59  Amg::Vector3D temp_momentum(p->momentum().px(),
60  p->momentum().py(),
61  p->momentum().pz());
62  m_direction = temp_momentum.unit();
63  break;
64  }
65  }
66  }
67  return StatusCode::SUCCESS;
68 }

◆ executeFillHistos()

StatusCode MuonHitTestToolBase::executeFillHistos ( const Amg::Vector3D u)
protectedinherited

for MDTs that have barrel + endcap section, take only the barrel when plotting the xy-2d plot of the detector

Definition at line 70 of file MuonHitTestToolBase.cxx.

70  {
72 
73  if (m_direction.perp() > 0 && fabs(m_direction.eta())<m_BarrelEtaCut){
74  //mdtdet->Fill(u.x(),u.y());
75  m_muondetBarrel->Fill(u.x(),u.y());
76  m_detBarrel->Fill(u.x(),u.y());
77  }
78 
79  double rad=sqrt(u.x()*u.x()+u.y()*u.y());
80  m_muonlongView->Fill(u.z(),rad);
81  m_longView->Fill(u.z(),rad);
82 
83  // //m_direction vector is filled with truth above, so here it is wrong (no eta, theta, phi of the hit!!!)
84  // *AS* why not use "u"?
85  // theta->Fill(m_direction.theta());
86  // theta->Fill(m_direction.theta());
87  // eta->Fill(m_direction.eta());
88  // eta->Fill(m_direction.eta());
89  // phi->Fill(m_direction.phi());
90  // phi->Fill(m_direction.phi());
91 
92  if (m_direction.perp() > 0) {
93  m_muonzResid->Fill(u.cross(m_direction).dot(m_direction.cross(Amg::Vector3D(0,0,1)).unit()));
94  m_muonphiResid->Fill(u.cross(m_direction).z());
95 
96  m_zResid->Fill(u.cross(m_direction).dot(m_direction.cross(Amg::Vector3D(0,0,1)).unit()));
97  m_phiResid->Fill(u.cross(m_direction).z());
98  }
99  else {
100  m_muonzResid->Fill(0);
101  m_muonphiResid->Fill(0);
102  m_zResid->Fill(0);
103  m_phiResid->Fill(0);
104  }
105 
106  return StatusCode::SUCCESS;
107 }

◆ executeFillHistos_sTGc()

StatusCode MuonHitTestToolBase::executeFillHistos_sTGc ( const Amg::Vector3D ,
std::string   
)
protectedinherited

◆ executeFillHistosSectors_Wedge1()

StatusCode MuonHitTestToolBase::executeFillHistosSectors_Wedge1 ( const Amg::Vector3D ,
std::string   
)
protectedinherited

◆ executeFillHistosSectors_Wedge2()

StatusCode MuonHitTestToolBase::executeFillHistosSectors_Wedge2 ( const Amg::Vector3D ,
std::string   
)
protectedinherited

◆ getPrimary()

HepMC::ConstGenParticlePtr SimTestToolBase::getPrimary ( )
protectedinherited

Definition at line 20 of file SimTestToolBase.cxx.

21 {
22  const McEventCollection* mcCollection;
23  if (evtStore()->retrieve(mcCollection,m_key).isSuccess()) {
25  for (e=mcCollection->begin();e!=mcCollection->end(); ++e) {
26  for (auto p : (**e)) {
28  return p;
29  }
30  }
31  }
32  }
33  return 0;
34 }

◆ initialize()

StatusCode MMHitsTestTool::initialize ( )
finaloverridevirtual

Reimplemented from MuonHitTestToolBase.

Definition at line 177 of file MMHitsTestTool.cxx.

177  {
179 
180  //-------------------------------Wedge 1 begin-------------------------------------------------------------------------------
181  _TH1D(m_MM_rPlot_S1_posZ,"MM_rPlot_S1_posZ",10000,0.,14000.);
182  _TH1D(m_MM_rPlot_L1_posZ,"MM_rPlot_L1_posZ",5000,0.,5000.);
183 
184  _TH2D(m_MM_SmallWedge1_rZview_positiveZ,"MM_rZView_S1_posZ",1000,7000.,8000.,5000,0.,5000.);
185  _TH2D(m_MM_SmallWedge1_rZview_negativeZ,"MM_rZView_S1_negZ",1000,-8000.,-7000.,5000,0.,5000.);
186  _TH2D(m_MM_LargeWedge1_rZview_positiveZ,"MM_rZView_L1_posZ",1000,7000.,8000.,5000,0.,5000.);
187  _TH2D(m_MM_LargeWedge1_rZview_negativeZ,"MM_rZView_L1_negZ",1000,-8000.,-7000.,5000,0.,5000.);
188 
189  _TH2D(m_MMTransverseEta1SmallWedge1,"MM_TransverseView_M1S1_posZ",1200,-6000.,6000.,1200,-6000.,6000.);
190  _TH2D(m_MMTransverseEta2SmallWedge1,"MM_TransverseView_M2S1_posZ",1200,-6000.,6000.,1200,-6000.,6000.);
191  _TH2D(m_MMTransverseEta1LargeWedge1,"MM_TransverseView_M1L1_posZ",1200,-6000.,6000.,1200,-6000.,6000.);
192  _TH2D(m_MMTransverseEta2LargeWedge1,"MM_TransverseView_M2L1_posZ",1200,-6000.,6000.,1200,-6000.,6000.);
193 
194  _TH2D(m_MM_SmallWedge1_TransverseView_positiveZ,"MM_TransverseView_S1_posZ",1200,-6000.,6000.,1200,-6000.,6000.);
195  _TH2D(m_MM_SmallWedge1_TransverseView_negativeZ,"MM_TransverseView_S1_negZ",1200,-6000.,6000.,1200,-6000.,6000.);
196  _TH2D(m_MM_LargeWedge1_TransverseView_positiveZ,"MM_TransverseView_L1_posZ",1200,-6000.,6000.,1200,-6000.,6000.);
197  _TH2D(m_MM_LargeWedge1_TransverseView_negativeZ,"MM_TransverseView_L1_negZ",1200,-6000.,6000.,1200,-6000.,6000.);
198  //--------------------------------Wedge 1 end--------------------------------------------------------------------------------
199 
200  //--------------------------------Wedge 2 begin------------------------------------------------------------------------------
201  _TH1D(m_MM_rPlot_S2_posZ,"MM_rPlot_S2_posZ",10000,0.,14000.);
202  _TH1D(m_MM_rPlot_L2_posZ,"MM_rPlot_L2_posZ",10000,0.,14000.);
203 
204  _TH2D(m_MM_SmallWedge2_rZview_positiveZ,"MM_rZView_S2_posZ",1000,7000.,8000.,5000,0.,5000.);
205  _TH2D(m_MM_SmallWedge2_rZview_negativeZ,"MM_rZView_S2_negZ",1000,-8000.,-7000.,5000,0.,5000.);
206  _TH2D(m_MM_LargeWedge2_rZview_positiveZ,"MM_rZView_L2_posZ",1000,7000.,8000.,5000,0.,5000.);
207  _TH2D(m_MM_LargeWedge2_rZview_negativeZ,"MM_rZView_L2_negZ",1000,-8000.,-7000.,5000,0.,5000.);
208 
209  _TH2D(m_MMTransverseEta1SmallWedge2,"MM_TransverseView_M1S2_posZ",1200,-6000.,6000.,1200,-6000.,6000.);
210  _TH2D(m_MMTransverseEta2SmallWedge2,"MM_TransverseView_M2S2_posZ",1200,-6000.,6000.,1200,-6000.,6000.);
211  _TH2D(m_MMTransverseEta1LargeWedge2,"MM_TransverseView_M1L2_posZ",1200,-6000.,6000.,1200,-6000.,6000.);
212  _TH2D(m_MMTransverseEta2LargeWedge2,"MM_TransverseView_M2L2_posZ",1200,-6000.,6000.,1200,-6000.,6000.);
213 
214  _TH2D(m_MM_SmallWedge2_TransverseView_positiveZ,"MM_TransverseView_S2_posZ",1200,-6000.,6000.,1200,-6000.,6000.);
215  _TH2D(m_MM_SmallWedge2_TransverseView_negativeZ,"MM_TransverseView_S2_negZ",1200,-6000.,6000.,1200,-6000.,6000.);
216  _TH2D(m_MM_LargeWedge2_TransverseView_positiveZ,"MM_TransverseView_L2_posZ",1200,-6000.,6000.,1200,-6000.,6000.);
217  _TH2D(m_MM_LargeWedge2_TransverseView_negativeZ,"MM_TransverseView_L2_negZ",1200,-6000.,6000.,1200,-6000.,6000.);
218  //--------------------------------Wedge 2 end---------------------------------------------------------------------------------------
219 
220 
221  return StatusCode::SUCCESS;
222 }

◆ processEvent()

StatusCode MMHitsTestTool::processEvent ( )
finaloverridevirtual

Definition at line 39 of file MMHitsTestTool.cxx.

39  {
41 
42  if (m_DoMMTest) {
43  const MMSimHitCollection* p_collection = nullptr;
44  CHECK(evtStore()->retrieve(p_collection,"MM_Hits"));
45  for (const MMSimHit& hit : *p_collection) {
46  Amg::Vector3D u = (hit).globalPosition();
48  //Useful link on how to retrieve variables: http://acode-browser.usatlas.bnl.gov/lxr/source/atlas/MuonSpectrometer/MuonValidation/MuonPRDTest/src/MMSimHitVariables.cxx
49  //Get station names and make plots for each wedge
51  int simId = (hit).MMId();
52  std::string sim_stationName = hitHelper->GetStationName(simId);
53  //Declare station name strings
54  static const std::string s_m1s1("M1S1");
55  static const std::string s_m2s1("M2S1");
56  static const std::string s_m1l1("M1L1");
57  static const std::string s_m2l1("M2L1");
58  static const std::string s_m1s2("M1S2");
59  static const std::string s_m2s2("M2S2");
60  static const std::string s_m1l2("M1L2");
61  static const std::string s_m2l2("M2L2");
62 
63  //----------------------------------Wedge 1 Histos begin-------------------------------------------------------------------------
64  //M1S1 (Note: M1->Module 1, S1->Small sector, wedge 1)
65  if (sim_stationName==s_m1s1 && u.z()>0){
66  m_MMTransverseEta1SmallWedge1->Fill(u.x(),u.y());
67  }
68 
69  //M2S1 (Note: M2->Module 2, S1->Small sector, wedge 1)
70  if (sim_stationName==s_m2s1 && u.z()>0){
71  m_MMTransverseEta2SmallWedge1->Fill(u.x(),u.y());
72  }
73 
74  //M1L1 (Note: M1->Module 1, S1->Large sector, wedge 1)
75  if (sim_stationName==s_m1l1 && u.z()>0){
76  m_MMTransverseEta1LargeWedge1->Fill(u.x(),u.y());
77  }
78 
79  //M2L1 (Note: M2->Module 2, S1->Large sector, wedge 1.)
80  if (sim_stationName==s_m2l1 && u.z()>0){
81  m_MMTransverseEta2LargeWedge1->Fill(u.x(),u.y());
82  }
83 
84  //Plots of transverse and rZ view for wedge 1 in either +ve Z or -ve Z and done separately for large and small sectors
85  double rwedge1 = sqrt(u.x()*u.x()+u.y()*u.y()); //Evaluate r
86 
87  //Small sectors at +ve Z
88  if ((sim_stationName==s_m1s1 || sim_stationName==s_m2s1) && u.z() > 0){
90  m_MM_SmallWedge1_rZview_positiveZ->Fill(u.z(), rwedge1);
91  m_MM_rPlot_S1_posZ->Fill(rwedge1);
92  }
93 
94  //Small sectors at -ve Z
95  if ((sim_stationName==s_m1s1 || sim_stationName==s_m2s1) && u.z() < 0){
97  m_MM_SmallWedge1_rZview_negativeZ->Fill(u.z(), rwedge1);
98  }
99 
100  //Large sectors at +ve Z
101  if ((sim_stationName==s_m1l1 || sim_stationName==s_m2l1) && u.z() > 0){
103  m_MM_LargeWedge1_rZview_positiveZ->Fill(u.z(), rwedge1);
104  m_MM_rPlot_L1_posZ->Fill(rwedge1);
105  }
106 
107  //Large sectors at -ve Z
108  if ((sim_stationName==s_m1l1 || sim_stationName==s_m2l1) && u.z() < 0){
110  m_MM_LargeWedge1_rZview_negativeZ->Fill(u.z(), rwedge1);
111  }
112  //----------------------------------Wedge 1 Histos end-------------------------------------------------------------------------
113 
114  //----------------------------------Wedge 2 Histos begin---------------------------------------------------------------------
115  //M1S2 (Note: M1->Module 1, S2->Small sector, wedge 2)
116  if (sim_stationName==s_m1s2 && u.z()>0){
117  m_MMTransverseEta1SmallWedge2->Fill(u.x(),u.y());
118  }
119 
120  //M2S2 (Note: M1->Module 2, S2->Small sector, wedge 2)
121  if (sim_stationName==s_m2s2 && u.z()>0){
122  m_MMTransverseEta2SmallWedge2->Fill(u.x(),u.y());
123  }
124 
125  //M1L2 (Note: M1->Module 1, L2->Large sector, wedge 2)
126  if (sim_stationName==s_m1l2 && u.z()>0){
127  m_MMTransverseEta1LargeWedge2->Fill(u.x(),u.y());
128  }
129 
130  //M2L2 (Note: M2->Module 2, L2->Large sector, wedge 2)
131  if (sim_stationName==s_m2l2 && u.z()>0){
132  m_MMTransverseEta2LargeWedge2->Fill(u.x(),u.y());
133  }
134 
135  //Plots of transverse and rZ view for wedge 1 in either +ve Z or -ve Z and done separately for large and small sectors
136  double rwedge2 = sqrt(u.x()*u.x()+u.y()*u.y()); //Evaluate r
137 
138  //Small sectors at +ve Z
139  if ((sim_stationName==s_m1s2 || sim_stationName==s_m2s2) && u.z() > 0){
141  m_MM_SmallWedge2_rZview_positiveZ->Fill(u.z(), rwedge2);
142  m_MM_rPlot_S2_posZ->Fill(rwedge2);
143  }
144 
145  //Small sectors at -ve Z
146  if ((sim_stationName==s_m1s2 || sim_stationName==s_m2s2) && u.z() < 0){
148  m_MM_SmallWedge2_rZview_negativeZ->Fill(u.z(), rwedge2);
149  }
150 
151  //Large sectors at +ve Z
152  if ((sim_stationName==s_m1l2 || sim_stationName==s_m2l2) && u.z() > 0){
154  m_MM_LargeWedge2_rZview_positiveZ->Fill(u.z(), rwedge2);
155  m_MM_rPlot_L2_posZ->Fill(rwedge2);
156  }
157 
158  //Large sectors at -ve Z
159  if ((sim_stationName==s_m1l2 || sim_stationName==s_m2l2) && u.z() < 0){
161  m_MM_LargeWedge2_rZview_negativeZ->Fill(u.z(), rwedge2);
162  }
163  //-----------------------------------------------Wedge 2 Histos end-----------------------------------------------------------
164 
165 
166  // GeoMMHit ghit(hit);
167  // if (!ghit) continue;
168  // Amg::Vector3D u = ghit.getGlobalPosition();
169  // CHECK(executeFillHistos(u));
170  }
171  }
172 
173  return StatusCode::SUCCESS;
174 }

Member Data Documentation

◆ m_BarrelEtaCut

double MuonHitTestToolBase::m_BarrelEtaCut
protectedinherited

MDT barrel eta cut, applicable to the MDT 2D cross section plot.

Definition at line 44 of file MuonHitTestToolBase.h.

◆ m_detBarrel

TH2* MuonHitTestToolBase::m_detBarrel
protectedinherited

Definition at line 54 of file MuonHitTestToolBase.h.

◆ m_detname

std::string MuonHitTestToolBase::m_detname
protectedinherited

Definition at line 37 of file MuonHitTestToolBase.h.

◆ m_direction

Amg::Vector3D MuonHitTestToolBase::m_direction
protectedinherited

Definition at line 58 of file MuonHitTestToolBase.h.

◆ m_DoMMTest

bool MMHitsTestTool::m_DoMMTest = true
private

Definition at line 63 of file MMHitsTestTool.h.

◆ m_eta

TH1* MuonHitTestToolBase::m_eta
protectedinherited

Definition at line 52 of file MuonHitTestToolBase.h.

◆ m_eventInfoKey

SG::ReadHandleKey<xAOD::EventInfo> MuonHitTestToolBase::m_eventInfoKey {this, "EventInfo", "EventInfo", "EventInfo name"}
protectedinherited

SG key for Event Info.

Definition at line 41 of file MuonHitTestToolBase.h.

◆ m_histSvc

ServiceHandle<ITHistSvc> SimTestHisto::m_histSvc {"THistSvc", "SimTestHisto"}
protectedinherited

Definition at line 35 of file SimTestHisto.h.

◆ m_key

std::string SimTestToolBase::m_key
protectedinherited

The MC truth key.

Definition at line 34 of file SimTestToolBase.h.

◆ m_longView

TH2 * MuonHitTestToolBase::m_longView
protectedinherited

Definition at line 54 of file MuonHitTestToolBase.h.

◆ m_MM_LargeWedge1_rZview_negativeZ

TH2* MMHitsTestTool::m_MM_LargeWedge1_rZview_negativeZ = nullptr
protected

Definition at line 50 of file MMHitsTestTool.h.

◆ m_MM_LargeWedge1_rZview_positiveZ

TH2* MMHitsTestTool::m_MM_LargeWedge1_rZview_positiveZ = nullptr
protected

Definition at line 49 of file MMHitsTestTool.h.

◆ m_MM_LargeWedge1_TransverseView_negativeZ

TH2* MMHitsTestTool::m_MM_LargeWedge1_TransverseView_negativeZ = nullptr
protected

Definition at line 46 of file MMHitsTestTool.h.

◆ m_MM_LargeWedge1_TransverseView_positiveZ

TH2* MMHitsTestTool::m_MM_LargeWedge1_TransverseView_positiveZ = nullptr
protected

Definition at line 45 of file MMHitsTestTool.h.

◆ m_MM_LargeWedge2_rZview_negativeZ

TH2* MMHitsTestTool::m_MM_LargeWedge2_rZview_negativeZ = nullptr
protected

Definition at line 59 of file MMHitsTestTool.h.

◆ m_MM_LargeWedge2_rZview_positiveZ

TH2* MMHitsTestTool::m_MM_LargeWedge2_rZview_positiveZ = nullptr
protected

Definition at line 58 of file MMHitsTestTool.h.

◆ m_MM_LargeWedge2_TransverseView_negativeZ

TH2* MMHitsTestTool::m_MM_LargeWedge2_TransverseView_negativeZ = nullptr
protected

Definition at line 55 of file MMHitsTestTool.h.

◆ m_MM_LargeWedge2_TransverseView_positiveZ

TH2* MMHitsTestTool::m_MM_LargeWedge2_TransverseView_positiveZ = nullptr
protected

Definition at line 54 of file MMHitsTestTool.h.

◆ m_MM_rPlot_L1_posZ

TH1* MMHitsTestTool::m_MM_rPlot_L1_posZ = nullptr
protected

Definition at line 31 of file MMHitsTestTool.h.

◆ m_MM_rPlot_L2_posZ

TH1* MMHitsTestTool::m_MM_rPlot_L2_posZ = nullptr
protected

Definition at line 32 of file MMHitsTestTool.h.

◆ m_MM_rPlot_S1_posZ

TH1* MMHitsTestTool::m_MM_rPlot_S1_posZ = nullptr
protected

Definition at line 29 of file MMHitsTestTool.h.

◆ m_MM_rPlot_S2_posZ

TH1* MMHitsTestTool::m_MM_rPlot_S2_posZ = nullptr
protected

Definition at line 30 of file MMHitsTestTool.h.

◆ m_MM_SmallWedge1_rZview_negativeZ

TH2* MMHitsTestTool::m_MM_SmallWedge1_rZview_negativeZ = nullptr
protected

Definition at line 48 of file MMHitsTestTool.h.

◆ m_MM_SmallWedge1_rZview_positiveZ

TH2* MMHitsTestTool::m_MM_SmallWedge1_rZview_positiveZ = nullptr
protected

Definition at line 47 of file MMHitsTestTool.h.

◆ m_MM_SmallWedge1_TransverseView_negativeZ

TH2* MMHitsTestTool::m_MM_SmallWedge1_TransverseView_negativeZ = nullptr
protected

Definition at line 44 of file MMHitsTestTool.h.

◆ m_MM_SmallWedge1_TransverseView_positiveZ

TH2* MMHitsTestTool::m_MM_SmallWedge1_TransverseView_positiveZ = nullptr
protected

Definition at line 43 of file MMHitsTestTool.h.

◆ m_MM_SmallWedge2_rZview_negativeZ

TH2* MMHitsTestTool::m_MM_SmallWedge2_rZview_negativeZ = nullptr
protected

Definition at line 57 of file MMHitsTestTool.h.

◆ m_MM_SmallWedge2_rZview_positiveZ

TH2* MMHitsTestTool::m_MM_SmallWedge2_rZview_positiveZ = nullptr
protected

Definition at line 56 of file MMHitsTestTool.h.

◆ m_MM_SmallWedge2_TransverseView_negativeZ

TH2* MMHitsTestTool::m_MM_SmallWedge2_TransverseView_negativeZ = nullptr
protected

Definition at line 53 of file MMHitsTestTool.h.

◆ m_MM_SmallWedge2_TransverseView_positiveZ

TH2* MMHitsTestTool::m_MM_SmallWedge2_TransverseView_positiveZ = nullptr
protected

Definition at line 52 of file MMHitsTestTool.h.

◆ m_MMTransverseEta1LargeWedge1

TH2* MMHitsTestTool::m_MMTransverseEta1LargeWedge1 = nullptr
protected

Definition at line 36 of file MMHitsTestTool.h.

◆ m_MMTransverseEta1LargeWedge2

TH2* MMHitsTestTool::m_MMTransverseEta1LargeWedge2 = nullptr
protected

Definition at line 40 of file MMHitsTestTool.h.

◆ m_MMTransverseEta1SmallWedge1

TH2* MMHitsTestTool::m_MMTransverseEta1SmallWedge1 = nullptr
protected

Definition at line 34 of file MMHitsTestTool.h.

◆ m_MMTransverseEta1SmallWedge2

TH2* MMHitsTestTool::m_MMTransverseEta1SmallWedge2 = nullptr
protected

Definition at line 38 of file MMHitsTestTool.h.

◆ m_MMTransverseEta2LargeWedge1

TH2* MMHitsTestTool::m_MMTransverseEta2LargeWedge1 = nullptr
protected

Definition at line 37 of file MMHitsTestTool.h.

◆ m_MMTransverseEta2LargeWedge2

TH2* MMHitsTestTool::m_MMTransverseEta2LargeWedge2 = nullptr
protected

Definition at line 41 of file MMHitsTestTool.h.

◆ m_MMTransverseEta2SmallWedge1

TH2* MMHitsTestTool::m_MMTransverseEta2SmallWedge1 = nullptr
protected

Definition at line 35 of file MMHitsTestTool.h.

◆ m_MMTransverseEta2SmallWedge2

TH2* MMHitsTestTool::m_MMTransverseEta2SmallWedge2 = nullptr
protected

Definition at line 39 of file MMHitsTestTool.h.

◆ m_muondetBarrel

TH2* MuonHitTestToolBase::m_muondetBarrel
protectedinherited

Definition at line 50 of file MuonHitTestToolBase.h.

◆ m_muoneta

TH1* MuonHitTestToolBase::m_muoneta
protectedinherited

Definition at line 48 of file MuonHitTestToolBase.h.

◆ m_muonevnt

TH1* MuonHitTestToolBase::m_muonevnt
protectedinherited

Definition at line 47 of file MuonHitTestToolBase.h.

◆ m_muonlongView

TH2 * MuonHitTestToolBase::m_muonlongView
protectedinherited

Definition at line 50 of file MuonHitTestToolBase.h.

◆ m_muonphi

TH1 * MuonHitTestToolBase::m_muonphi
protectedinherited

Definition at line 48 of file MuonHitTestToolBase.h.

◆ m_muonphiResid

TH1 * MuonHitTestToolBase::m_muonphiResid
protectedinherited

Definition at line 49 of file MuonHitTestToolBase.h.

◆ m_muonrun

TH1 * MuonHitTestToolBase::m_muonrun
protectedinherited

Definition at line 47 of file MuonHitTestToolBase.h.

◆ m_muontheta

TH1 * MuonHitTestToolBase::m_muontheta
protectedinherited

Definition at line 48 of file MuonHitTestToolBase.h.

◆ m_muonzResid

TH1* MuonHitTestToolBase::m_muonzResid
protectedinherited

Definition at line 49 of file MuonHitTestToolBase.h.

◆ m_path

std::string SimTestHisto::m_path {"/truth/"}
protectedinherited

Definition at line 34 of file SimTestHisto.h.

◆ m_phi

TH1 * MuonHitTestToolBase::m_phi
protectedinherited

Definition at line 52 of file MuonHitTestToolBase.h.

◆ m_phiResid

TH1 * MuonHitTestToolBase::m_phiResid
protectedinherited

Definition at line 53 of file MuonHitTestToolBase.h.

◆ m_pMuonMgr

const MuonGM::MuonDetectorManager* MuonHitTestToolBase::m_pMuonMgr
protectedinherited

Definition at line 38 of file MuonHitTestToolBase.h.

◆ m_theta

TH1 * MuonHitTestToolBase::m_theta
protectedinherited

Definition at line 52 of file MuonHitTestToolBase.h.

◆ m_zResid

TH1* MuonHitTestToolBase::m_zResid
protectedinherited

Definition at line 53 of file MuonHitTestToolBase.h.


The documentation for this class was generated from the following files:
python.PyKernel.retrieve
def retrieve(aClass, aKey=None)
Definition: PyKernel.py:110
MuonHitTestToolBase::m_detBarrel
TH2 * m_detBarrel
Definition: MuonHitTestToolBase.h:54
AllowedVariables::e
e
Definition: AsgElectronSelectorTool.cxx:37
MMSimHit
Definition: MMSimHit.h:15
MicromegasHitIdHelper::GetStationName
std::string GetStationName(const int &hid) const
Definition: MicromegasHitIdHelper.cxx:61
MMHitsTestTool::m_MM_SmallWedge1_TransverseView_positiveZ
TH2 * m_MM_SmallWedge1_TransverseView_positiveZ
Definition: MMHitsTestTool.h:43
MuonHitTestToolBase::m_muonphiResid
TH1 * m_muonphiResid
Definition: MuonHitTestToolBase.h:49
MuonHitTestToolBase::m_muonevnt
TH1 * m_muonevnt
Definition: MuonHitTestToolBase.h:47
MuonHitTestToolBase::executeCheckEventInfo
StatusCode executeCheckEventInfo()
Definition: MuonHitTestToolBase.cxx:35
MMHitsTestTool::m_MM_rPlot_L1_posZ
TH1 * m_MM_rPlot_L1_posZ
Definition: MMHitsTestTool.h:31
MMHitsTestTool::m_DoMMTest
bool m_DoMMTest
Definition: MMHitsTestTool.h:63
MMHitsTestTool::m_MM_SmallWedge1_rZview_negativeZ
TH2 * m_MM_SmallWedge1_rZview_negativeZ
Definition: MMHitsTestTool.h:48
SG::ReadHandle
Definition: StoreGate/StoreGate/ReadHandle.h:70
MMHitsTestTool::m_MMTransverseEta2LargeWedge1
TH2 * m_MMTransverseEta2LargeWedge1
Definition: MMHitsTestTool.h:37
MMHitsTestTool::m_MM_LargeWedge1_TransverseView_positiveZ
TH2 * m_MM_LargeWedge1_TransverseView_positiveZ
Definition: MMHitsTestTool.h:45
MMHitsTestTool::m_MM_SmallWedge2_TransverseView_positiveZ
TH2 * m_MM_SmallWedge2_TransverseView_positiveZ
Definition: MMHitsTestTool.h:52
AtlasHitsVector
Definition: AtlasHitsVector.h:33
MMHitsTestTool::m_MMTransverseEta1SmallWedge2
TH2 * m_MMTransverseEta1SmallWedge2
Definition: MMHitsTestTool.h:38
MMHitsTestTool::m_MM_SmallWedge2_rZview_negativeZ
TH2 * m_MM_SmallWedge2_rZview_negativeZ
Definition: MMHitsTestTool.h:57
MMHitsTestTool::m_MMTransverseEta2SmallWedge1
TH2 * m_MMTransverseEta2SmallWedge1
Definition: MMHitsTestTool.h:35
LArG4FSStartPointFilter.evt
evt
Definition: LArG4FSStartPointFilter.py:42
MuonHitTestToolBase::m_BarrelEtaCut
double m_BarrelEtaCut
MDT barrel eta cut, applicable to the MDT 2D cross section plot.
Definition: MuonHitTestToolBase.h:44
MuonHitTestToolBase::m_longView
TH2 * m_longView
Definition: MuonHitTestToolBase.h:54
ATH_MSG_VERBOSE
#define ATH_MSG_VERBOSE(x)
Definition: AthMsgStreamMacros.h:28
MMHitsTestTool::m_MM_LargeWedge2_TransverseView_negativeZ
TH2 * m_MM_LargeWedge2_TransverseView_negativeZ
Definition: MMHitsTestTool.h:55
MMHitsTestTool::m_MMTransverseEta1LargeWedge2
TH2 * m_MMTransverseEta1LargeWedge2
Definition: MMHitsTestTool.h:40
MuonHitTestToolBase::MuonHitTestToolBase
MuonHitTestToolBase(const std::string &type, const std::string &name, const IInterface *parent)
Definition: MuonHitTestToolBase.cxx:17
Trk::u
@ u
Enums for curvilinear frames.
Definition: ParamDefs.h:77
_TH1D
#define _TH1D(var, name, nbin, xmin, xmax)
Definition: SimTestHisto.h:47
MMHitsTestTool::m_MM_SmallWedge2_rZview_positiveZ
TH2 * m_MM_SmallWedge2_rZview_positiveZ
Definition: MMHitsTestTool.h:56
MuonHitTestToolBase::m_muonzResid
TH1 * m_muonzResid
Definition: MuonHitTestToolBase.h:49
MMHitsTestTool::m_MM_rPlot_L2_posZ
TH1 * m_MM_rPlot_L2_posZ
Definition: MMHitsTestTool.h:32
MMHitsTestTool::m_MMTransverseEta1SmallWedge1
TH2 * m_MMTransverseEta1SmallWedge1
Definition: MMHitsTestTool.h:34
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
HepMC::is_simulation_particle
bool is_simulation_particle(const T &p)
Method to establish if a particle (or barcode) was created during the simulation (TODO update to be s...
Definition: MagicNumbers.h:342
MMHitsTestTool::m_MM_rPlot_S2_posZ
TH1 * m_MM_rPlot_S2_posZ
Definition: MMHitsTestTool.h:30
MuonHitTestToolBase::m_muonlongView
TH2 * m_muonlongView
Definition: MuonHitTestToolBase.h:50
MMHitsTestTool::m_MM_rPlot_S1_posZ
TH1 * m_MM_rPlot_S1_posZ
Definition: MMHitsTestTool.h:29
MMHitsTestTool::m_MMTransverseEta1LargeWedge1
TH2 * m_MMTransverseEta1LargeWedge1
Definition: MMHitsTestTool.h:36
test_pyathena.parent
parent
Definition: test_pyathena.py:15
MMHitsTestTool::m_MM_SmallWedge1_rZview_positiveZ
TH2 * m_MM_SmallWedge1_rZview_positiveZ
Definition: MMHitsTestTool.h:47
_TH2D
#define _TH2D(var, name, nbinx, xmin, xmax, nbiny, ymin, ymax)
Definition: SimTestHisto.h:81
xAOD::uint64_t
uint64_t
Definition: EventInfo_v1.cxx:123
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
MMHitsTestTool::m_MMTransverseEta2LargeWedge2
TH2 * m_MMTransverseEta2LargeWedge2
Definition: MMHitsTestTool.h:41
CHECK
#define CHECK(...)
Evaluate an expression and check for errors.
Definition: Control/AthenaKernel/AthenaKernel/errorcheck.h:422
McEventCollection
This defines the McEventCollection, which is really just an ObjectVector of McEvent objects.
Definition: McEventCollection.h:33
MMHitsTestTool::m_MM_LargeWedge2_rZview_positiveZ
TH2 * m_MM_LargeWedge2_rZview_positiveZ
Definition: MMHitsTestTool.h:58
MuonHitTestToolBase::m_direction
Amg::Vector3D m_direction
Definition: MuonHitTestToolBase.h:58
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
MicromegasHitIdHelper
Definition: MicromegasHitIdHelper.h:13
MuonHitTestToolBase::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
SG key for Event Info.
Definition: MuonHitTestToolBase.h:41
MuonHitTestToolBase::m_phiResid
TH1 * m_phiResid
Definition: MuonHitTestToolBase.h:53
MMHitsTestTool::m_MM_SmallWedge1_TransverseView_negativeZ
TH2 * m_MM_SmallWedge1_TransverseView_negativeZ
Definition: MMHitsTestTool.h:44
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
MMHitsTestTool::m_MM_LargeWedge2_TransverseView_positiveZ
TH2 * m_MM_LargeWedge2_TransverseView_positiveZ
Definition: MMHitsTestTool.h:54
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
MuonHitTestToolBase::executeFillHistos
StatusCode executeFillHistos(const Amg::Vector3D &)
Definition: MuonHitTestToolBase.cxx:70
MicromegasHitIdHelper::GetHelper
static const MicromegasHitIdHelper * GetHelper()
Definition: MicromegasHitIdHelper.cxx:25
DataVector::end
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
MuonHitTestToolBase::initialize
virtual StatusCode initialize() override
Definition: MuonHitTestToolBase.cxx:111
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
MuonHitTestToolBase::m_muonrun
TH1 * m_muonrun
Definition: MuonHitTestToolBase.h:47
MMHitsTestTool::m_MM_LargeWedge1_TransverseView_negativeZ
TH2 * m_MM_LargeWedge1_TransverseView_negativeZ
Definition: MMHitsTestTool.h:46
MuonHitTestToolBase::m_zResid
TH1 * m_zResid
Definition: MuonHitTestToolBase.h:53
MMHitsTestTool::m_MM_LargeWedge1_rZview_negativeZ
TH2 * m_MM_LargeWedge1_rZview_negativeZ
Definition: MMHitsTestTool.h:50
MuonHitTestToolBase::m_muondetBarrel
TH2 * m_muondetBarrel
Definition: MuonHitTestToolBase.h:50
MMHitsTestTool::m_MM_SmallWedge2_TransverseView_negativeZ
TH2 * m_MM_SmallWedge2_TransverseView_negativeZ
Definition: MMHitsTestTool.h:53
SimTestToolBase::m_key
std::string m_key
The MC truth key.
Definition: SimTestToolBase.h:34
MMHitsTestTool::m_MM_LargeWedge2_rZview_negativeZ
TH2 * m_MM_LargeWedge2_rZview_negativeZ
Definition: MMHitsTestTool.h:59
DataVector::size
size_type size() const noexcept
Returns the number of elements in the collection.
MMHitsTestTool::m_MM_LargeWedge1_rZview_positiveZ
TH2 * m_MM_LargeWedge1_rZview_positiveZ
Definition: MMHitsTestTool.h:49
python.SystemOfUnits.rad
int rad
Definition: SystemOfUnits.py:111
DataVector::begin
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
MMHitsTestTool::m_MMTransverseEta2SmallWedge2
TH2 * m_MMTransverseEta2SmallWedge2
Definition: MMHitsTestTool.h:39