|
|
Go to the documentation of this file.
94 LogDebug(
"") <<
"DQMHOAlCaRecoStream:: Error! can't get HOCalib product!" << std::endl;
100 if (!(*HOCalib).empty()) {
101 for (HOCalibVariableCollection::const_iterator hoC = (*HOCalib).begin(); hoC != (*HOCalib).end(); hoC++) {
110 if ((*hoC).isect < 0)
112 if (fabs((*hoC).trkth - acos(-1.) / 2) < 0.000001)
127 double energy = (*hoC).hosig[4];
128 double pedval = (*hoC).hocro;
132 }
else if (
ieta >= -10 &&
ieta <= -5) {
134 }
else if (
ieta >= 5 &&
ieta <= 10) {
136 }
else if (
ieta >= 11 &&
ieta <= 15) {
143 for (
int k = 0;
k < 9;
k++) {
161 hMuonMom = ibooker.
book1D(
"hMuonMom",
"Muon momentum (GeV)", 50, -100, 100);
164 hMuonEta = ibooker.
book1D(
"hMuonEta",
"Pseudo-rapidity of muon", 50, -1.5, 1.5);
167 hMuonPhi = ibooker.
book1D(
"hMuonPhi",
"Azimuthal angle of muon", 24, -acos(-1), acos(-1));
173 hDirCosine = ibooker.
book1D(
"hDirCosine",
"Direction Cosine of muon at HO tower", 50, -1., 1.);
176 hHOTime = ibooker.
book1D(
"hHOTime",
"HO time distribution", 60, -20, 100.);
179 for (
int i = 0;
i < 5;
i++) {
180 sprintf(
name,
"hSigRing_%i",
i - 2);
181 sprintf(
title,
"HO signal in Ring_%i",
i - 2);
185 sprintf(
name,
"hPedRing_%i",
i - 2);
186 sprintf(
title,
"HO Pedestal in Ring_%i",
i - 2);
212 for (
int i = -1;
i <= 1;
i++) {
213 for (
int j = -1;
j <= 1;
j++) {
214 int k = 3 * (
i + 1) +
j + 1;
216 sprintf(
title,
"hSignal3x3_deta%i_dphi%i",
i,
j);
std::string theRootFileName
hoCalibVariableCollectionTag
MonitorElement * hMuonMom
MonitorElement * hPedRing[5]
void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * hDirCosine
std::vector< HOCalibVariables > HOCalibVariableCollection
collection of HOcalibration variabale
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
virtual void setCurrentFolder(std::string const &fullpath)
double m_highRadPosInMuch
MonitorElement * hMuonPhi
T getUntrackedParameter(std::string const &, T const &) const
DQMHOAlCaRecoStream(const edm::ParameterSet &)
~DQMHOAlCaRecoStream() override
Tan< T >::type tan(const T &t)
MonitorElement * hMuonEta
MonitorElement * hSignal3x3[9]
MonitorElement * hMuonMultipl
edm::EDGetTokenT< HOCalibVariableCollection > hoCalibVariableCollectionTag
Power< A, B >::type pow(const A &a, const B &b)
Abs< T >::type abs(const T &t)
MonitorElement * hSigRing[5]
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())