Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 10 of file DQMHOAlCaRecoStream.h.
Definition at line 96 of file DQMHOAlCaRecoStream.cc.
References funct::abs(), runTauDisplay::dr, MonitorElement::Fill(), edm::Event::getByToken(), hDirCosine, hHOTime, hMuonEta, hMuonMom, hMuonMultipl, hMuonPhi, hoCalibVariableCollectionTag, hPedRing, hSignal3x3, hSigRing, createfilelist::int, edm::HandleBase::isValid(), gen::k, cmsBatch::log, LogDebug, m_highRadPosInMuch, Nevents, Nmuons, funct::pow(), mathSSE::return(), and funct::tan().
108 LogDebug(
"") <<
"DQMHOAlCaRecoStream:: Error! can't get HOCalib product!" << std::endl;
115 if (!(*HOCalib).empty() ) {
116 for (HOCalibVariableCollection::const_iterator hoC=(*HOCalib).begin(); hoC!=(*HOCalib).end(); hoC++){
124 if ((*hoC).isect <0)
continue;
125 if (fabs((*hoC).trkth-acos(-1.)/2)<0.000001)
continue;
126 int ieta =
int((
std::abs((*hoC).isect)%10000)/100.)-30;
139 double energy = (*hoC).hosig[4];
140 double pedval = (*hoC).hocro;
142 if (ieta >=-15 && ieta <=-11) {iring = -2;}
143 else if (ieta >=-10 && ieta <=-5) {iring = -1;}
144 else if (ieta >= 5 && ieta <= 10) {iring = 1;}
145 else if (ieta >= 11 && ieta <= 15) {iring = 2;}
150 for (
int k=0;
k<9;
k++) {
edm::EDGetTokenT< HOCalibVariableCollection > hoCalibVariableCollectionTag
MonitorElement * hMuonMultipl
MonitorElement * hPedRing[5]
MonitorElement * hMuonEta
bool getByToken(EDGetToken token, Handle< PROD > &result) const
MonitorElement * hSigRing[5]
Tan< T >::type tan(const T &t)
Abs< T >::type abs(const T &t)
MonitorElement * hSignal3x3[9]
MonitorElement * hMuonMom
MonitorElement * hMuonPhi
double m_highRadPosInMuch
Power< A, B >::type pow(const A &a, const B &b)
MonitorElement * hDirCosine
Definition at line 161 of file DQMHOAlCaRecoStream.cc.
References DQMStore::IBooker::book1D(), folderName_, hDirCosine, hHOTime, hMuonEta, hMuonMom, hMuonMultipl, hMuonPhi, hPedRing, hSignal3x3, hSigRing, mps_fire::i, gen::k, m_highEdge, m_lowEdge, m_nbins, dataset::name, Nevents, Nmuons, MonitorElement::setAxisTitle(), DQMStore::IBooker::setCurrentFolder(), and fftjetcommon_cfi::title.
168 hMuonMom = ibooker.
book1D(
"hMuonMom",
"Muon momentum (GeV)", 50, -100, 100);
171 hMuonEta = ibooker.
book1D(
"hMuonEta",
"Pseudo-rapidity of muon", 50, -1.5, 1.5);
174 hMuonPhi = ibooker.
book1D(
"hMuonPhi",
"Azimuthal angle of muon", 24, -acos(-1), acos(-1));
180 hDirCosine = ibooker.
book1D(
"hDirCosine",
"Direction Cosine of muon at HO tower", 50, -1., 1.);
183 hHOTime = ibooker.
book1D(
"hHOTime",
"HO time distribution", 60, -20, 100.);
186 for (
int i=0;
i<5;
i++) {
187 sprintf(name,
"hSigRing_%i",
i-2);
188 sprintf(title,
"HO signal in Ring_%i",
i-2);
192 sprintf(name,
"hPedRing_%i",
i-2);
193 sprintf(title,
"HO Pedestal in Ring_%i",
i-2);
216 for (
int i=-1;
i<=1;
i++) {
217 for (
int j=-1; j<=1; j++) {
220 sprintf(title,
"hSignal3x3_deta%i_dphi%i",
i, j);
MonitorElement * hMuonMultipl
MonitorElement * hPedRing[5]
MonitorElement * hMuonEta
MonitorElement * hSigRing[5]
void setCurrentFolder(std::string const &fullpath)
MonitorElement * book1D(Args &&...args)
MonitorElement * hSignal3x3[9]
MonitorElement * hMuonMom
MonitorElement * hMuonPhi
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
MonitorElement * hDirCosine