7 #include "Identifier/Identifier.h"
20 #include "CLHEP/Vector/LorentzVector.h"
22 #include "GaudiKernel/NTuple.h"
23 #include "GaudiKernel/SmartDataPtr.h"
24 #include "GaudiKernel/IDataProviderSvc.h"
25 #include "GaudiKernel/ITHistSvc.h"
26 #include "GaudiKernel/INTupleSvc.h"
40 CHECK(executeCheckEventInfo());
47 CHECK(executeFillHistos(
u));
51 int simId = hit.sTGCId();
54 static const std::string QS1C(
"QS1C");
55 static const std::string QS2C(
"QS2C");
56 static const std::string QS3C(
"QS3C");
57 static const std::string QL1P(
"QL1P");
58 static const std::string QL2P(
"QL2P");
59 static const std::string QL3P(
"QL3P");
61 if (sim_stationName==QS1C &&
u.z()>0){
62 m_sTgc_TransverseView_QS1C_posZ->Fill(
u.x(),
u.y());
66 if (sim_stationName==QS2C &&
u.z()>0){
67 m_sTgc_TransverseView_QS2C_posZ->Fill(
u.x(),
u.y());
71 if (sim_stationName==QS3C &&
u.z()>0){
72 m_sTgc_TransverseView_QS3C_posZ->Fill(
u.x(),
u.y());
75 if (sim_stationName==QL1P &&
u.z()>0){
76 m_sTgc_TransverseView_QL1P_posZ->Fill(
u.x(),
u.y());
80 if (sim_stationName==QL2P &&
u.z()>0){
81 m_sTgc_TransverseView_QL2P_posZ->Fill(
u.x(),
u.y());
84 if (sim_stationName==QL3P &&
u.z()>0){
85 m_sTgc_TransverseView_QL3P_posZ->Fill(
u.x(),
u.y());
88 double r_sTGc = sqrt(
u.x()*
u.x()+
u.y()*
u.y());
91 m_sTgc_rZview_positiveZ->Fill(
u.z(), r_sTGc);
102 return StatusCode::SUCCESS;
108 _TH2D( m_sTgc_TransverseView_QS1C_posZ,
"sTGC_TransverseView_QS1C_posZ",1200,-6000.,6000.,1200,-6000.,6000.);
109 _TH2D( m_sTgc_TransverseView_QS2C_posZ,
"sTGC_TransverseView_QS2C_posZ",1200,-6000.,6000.,1200,-6000.,6000.);
110 _TH2D( m_sTgc_TransverseView_QS3C_posZ,
"sTGC_TransverseView_QS3C_posZ",1200,-6000.,6000.,1200,-6000.,6000.);
112 _TH2D( m_sTgc_TransverseView_QL1P_posZ,
"sTGC_TransverseView_QL1P_posZ",1200,-6000.,6000.,1200,-6000.,6000.);
113 _TH2D( m_sTgc_TransverseView_QL2P_posZ,
"sTGC_TransverseView_QL2P_posZ",1200,-6000.,6000.,1200,-6000.,6000.);
114 _TH2D( m_sTgc_TransverseView_QL3P_posZ,
"sTGC_TransverseView_QL3P_posZ",1200,-6000.,6000.,1200,-6000.,6000.);
116 _TH2D(m_sTgc_rZview_positiveZ,
"sTGC_rZView_posZ",2000,6500.,8500.,5000,0.,5000.);
117 return StatusCode::SUCCESS;