|
|
Go to the documentation of this file.
25 : trasientTrackToken_(
63 std::string histname =
"ecalDepositedEnergyBarrel_";
68 histname =
"ecalDepositedEnergyEndcap_";
73 histname =
"ecalS9DepositedEnergyBarrel_";
77 histname =
"ecalS9DepositedEnergyEndcap_";
81 histname =
"ecalS9PointingMuDepositedEnergy_Glb_";
83 "Pointing glb muons energy deposited in the ECAL 3*3 towers",
88 histname =
"ecalS9PointingMuDepositedEnergy_Tk_";
92 histname =
"ecalS9PointingMuDepositedEnergy_Sta_";
94 "Pointing sta muons energy deposited in the ECAL 3*3 towers",
100 histname =
"hadDepositedEnergyBarrel_";
104 histname =
"hadDepositedEnergyEndcap_";
109 histname =
"hadS9DepositedEnergyBarrel_";
113 histname =
"hadS9DepositedEnergyEndcap_";
117 histname =
"hadS9PointingMuDepositedEnergy_Glb_";
119 "Pointing glb muons energy deposited in the HCAL endcap 3*3 towers",
124 histname =
"hadS9PointingMuDepositedEnergy_Tk_";
126 "Pointing tk muons energy deposited in the HCAL endcap 3*3 towers",
131 histname =
"hadS9PointingMuDepositedEnergy_Sta_";
133 "Pointing sta muons energy deposited in the HCAL endcap 3*3 towers",
139 histname =
"hoDepositedEnergy_";
143 histname =
"hoS9DepositedEnergy_";
147 histname =
"hoS9PointingMuDepositedEnergy_Glb_";
151 histname =
"hoS9PointingMuDepositedEnergy_Tk_";
155 histname =
"hoS9PointingMuDepositedEnergy_Sta_";
167 if (!
muons.isValid())
170 for (reco::MuonCollection::const_iterator recoMu =
muons->begin(); recoMu !=
muons->end(); ++recoMu) {
176 if (fabs(recoMu->eta()) > 1.479)
183 if (fabs(recoMu->eta()) > 1.4)
190 if (fabs(recoMu->eta()) < 1.26)
195 if (fabs(recoMu->eta()) > 1.479)
202 if (fabs(recoMu->eta()) > 1.4)
209 if (fabs(recoMu->eta()) < 1.26)
218 if (recoMu->isGlobalMuon())
219 TransTrack =
theB->
build(recoMu->globalTrack());
220 else if ((recoMu->isTrackerMuon() || recoMu->isRPCMuon()))
221 TransTrack =
theB->
build(recoMu->innerTrack());
222 else if (recoMu->isStandAloneMuon())
223 TransTrack =
theB->
build(recoMu->outerTrack());
232 if (recoMu->isGlobalMuon()) {
238 else if (recoMu->isTrackerMuon()) {
244 else if (recoMu->isStandAloneMuon()) {
MonitorElement * hcalDepEnergyBarrel
MonitorElement * ecalS9PointingMuDepEnergy_Sta
edm::EDGetTokenT< reco::MuonCollection > theMuonCollectionLabel_
GlobalPoint globalPosition() const
MonitorElement * hoS9DepEnergy
virtual void setCurrentFolder(std::string const &fullpath)
void analyze(const edm::Event &, const edm::EventSetup &) override
float hadS9
energy deposited in 3x3 HCAL tower shape around central tower
MonitorElement * hcalS9PointingMuDepEnergy_Tk
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
MonitorElement * hoS9PointingMuDepEnergy_Glb
MonitorElement * hcalS9PointingMuDepEnergy_Glb
MonitorElement * hoDepEnergy
MonitorElement * ecalS9PointingMuDepEnergy_Glb
MonitorElement * ecalS9PointingMuDepEnergy_Tk
float ho
energy deposited in crossed HO towers
MonitorElement * hcalS9DepEnergyEndcap
MuonEnergyDepositAnalyzer(const edm::ParameterSet &)
Constructor.
float emS9
energy deposited in 3x3 ECAL crystal shape around central crystal
MonitorElement * ecalDepEnergyEndcap
edm::ESHandle< TransientTrackBuilder > theB
TrajectoryStateOnSurface impactPointState() const
MonitorElement * hcalS9PointingMuDepEnergy_Sta
float hoS9
energy deposited in 3x3 HO tower shape around central tower
MonitorElement * ecalDepEnergyBarrel
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
MonitorElement * ecalS9DepEnergyBarrel
~MuonEnergyDepositAnalyzer() override
Destructor.
MonitorElement * hcalDepEnergyEndcap
T getParameter(std::string const &) const
edm::ESGetToken< TransientTrackBuilder, TransientTrackRecord > trasientTrackToken_
MonitorElement * hoS9PointingMuDepEnergy_Sta
reco::TransientTrack build(const reco::Track *p) const
MonitorElement * ecalS9DepEnergyEndcap
Abs< T >::type abs(const T &t)
edm::ParameterSet parameters
MonitorElement * hcalS9DepEnergyBarrel
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
TrajectoryStateOnSurface TSOS
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
MonitorElement * hoS9PointingMuDepEnergy_Tk