43 metname =
"muEnergyDepositAnalyzer";
45 LogTrace(
metname)<<
"[MuonEnergyDepositAnalyzer] Parameters initialization";
52 std::string histname =
"ecalDepositedEnergyBarrel_";
53 ecalDepEnergyBarrel = dbe->
book1D(histname+AlgoName,
"Energy deposited in the ECAL barrel cells", emNoBin, emNoMin, emNoMax);
55 histname =
"ecalDepositedEnergyEndcap_";
56 ecalDepEnergyEndcap = dbe->
book1D(histname+AlgoName,
"Energy deposited in the ECAL endcap cells", emNoBin, emNoMin, emNoMax);
62 histname =
"ecalS9DepositedEnergyBarrel_";
65 histname =
"ecalS9DepositedEnergyEndcap_";
68 histname =
"ecalS9PointingMuDepositedEnergy_Glb_";
71 histname =
"ecalS9PointingMuDepositedEnergy_Tk_";
74 histname =
"ecalS9PointingMuDepositedEnergy_Sta_";
81 histname =
"hadDepositedEnergyBarrel_";
84 histname =
"hadDepositedEnergyEndcap_";
91 histname =
"hadS9DepositedEnergyBarrel_";
94 histname =
"hadS9DepositedEnergyEndcap_";
97 histname =
"hadS9PointingMuDepositedEnergy_Glb_";
100 histname =
"hadS9PointingMuDepositedEnergy_Tk_";
103 histname =
"hadS9PointingMuDepositedEnergy_Sta_";
110 histname =
"hoDepositedEnergy_";
117 histname =
"hoS9DepositedEnergy_";
120 histname =
"hoS9PointingMuDepositedEnergy_Glb_";
123 histname =
"hoS9PointingMuDepositedEnergy_Tk_";
126 histname =
"hoS9PointingMuDepositedEnergy_Sta_";
143 if (fabs(recoMu.
eta()) > 1.479)
150 if (fabs(recoMu.
eta()) > 1.4)
157 if (fabs(recoMu.
eta()) < 1.26)
162 if (fabs(recoMu.
eta()) > 1.479)
169 if (fabs(recoMu.
eta()) > 1.4)
176 if (fabs(recoMu.
eta()) < 1.26)
187 TransTrack = theB->build(recoMu.
innerTrack());
189 TransTrack = theB->build(recoMu.
outerTrack());
T getParameter(std::string const &) const
MonitorElement * ecalDepEnergyEndcap
MonitorElement * hoDepEnergy
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
MuonEnergyDepositAnalyzer(const edm::ParameterSet &, MuonServiceProxy *theService)
Constructor.
virtual TrackRef innerTrack() const
bool isTrackerMuon() const
MonitorElement * hcalS9DepEnergyEndcap
edm::ParameterSet parameters
bool isGlobalMuon() const
float emS9
energy deposited in 3x3 ECAL crystal shape around central crystal
GlobalPoint globalPosition() const
void analyze(const edm::Event &, const edm::EventSetup &, const reco::Muon &recoMu)
Get the analysis.
bool isStandAloneMuon() const
MonitorElement * ecalDepEnergyBarrel
MonitorElement * hcalDepEnergyEndcap
float ho
energy deposited in crossed HO towers
MonitorElement * hoS9PointingMuDepEnergy_Sta
virtual ~MuonEnergyDepositAnalyzer()
Destructor.
MonitorElement * hcalS9DepEnergyBarrel
float hoS9
energy deposited in 3x3 HO tower shape around central tower
MonitorElement * ecalS9DepEnergyEndcap
virtual TrackRef outerTrack() const
reference to Track reconstructed in the muon detector only
virtual float eta() const GCC11_FINAL
momentum pseudorapidity
MuonEnergy calEnergy() const
get energy deposition information
MonitorElement * hcalDepEnergyBarrel
TrajectoryStateOnSurface TSOS
MonitorElement * ecalS9PointingMuDepEnergy_Sta
MonitorElement * hoS9DepEnergy
MonitorElement * hoS9PointingMuDepEnergy_Tk
MonitorElement * ecalS9PointingMuDepEnergy_Tk
MonitorElement * hcalS9PointingMuDepEnergy_Tk
MonitorElement * hoS9PointingMuDepEnergy_Glb
MonitorElement * hcalS9PointingMuDepEnergy_Glb
TrajectoryStateOnSurface impactPointState() const
MonitorElement * ecalS9PointingMuDepEnergy_Glb
MonitorElement * hcalS9PointingMuDepEnergy_Sta
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
float hadS9
energy deposited in 3x3 HCAL tower shape around central tower
void setCurrentFolder(const std::string &fullpath)
void beginJob(DQMStore *dbe)
Inizialize parameters for histo binning.
MonitorElement * ecalS9DepEnergyBarrel
virtual TrackRef globalTrack() const
reference to Track reconstructed in both tracked and muon detector