27 Pixel(
double x = 0,
double y = 0,
double z = 0,
double eta = 0,
28 double phi = 0,
double adc = 0,
double sx = 0,
double sy = 0)
54 double x()
const {
return x_; }
55 double y()
const {
return y_; }
56 double z()
const {
return z_; }
64 Tracklet() : i1_(-1), i2_(-2), deta_(0), dphi_(0) {}
70 deta_(p1.
eta() - p2.
eta()),
72 double deta()
const {
return deta_; }
73 double dphi()
const {
return dphi_; }
74 int i1()
const {
return i1_; }
75 int i2()
const {
return i2_; }
76 double eta()
const {
return p1_.eta(); }
79 void seti1(
int i1) { i1_ = i1; }
80 void seti2(
int i2) { i2_ = i2; }
89 Vertex(
double x = 0,
double y = 0,
double z = 0,
double xs = 0,
90 double ys = 0,
double zs = 0,
int n = 0)
91 :
x_(
x),
y_(
y),
z_(
z), xs_(xs), ys_(ys), zs_(zs), n_(
n) {}
92 int n()
const {
return n_; }
93 double x()
const {
return x_; }
94 double y()
const {
return y_; }
95 double z()
const {
return z_; }
96 double xs()
const {
return xs_; }
97 double ys()
const {
return ys_; }
98 double zs()
const {
return zs_; }
99 void set(
int n,
double z,
double zs) {
104 void set(
int n,
double x,
double y,
double z,
double xs,
double ys,
133 bool sumw2 = 1,
bool sbox = 1);
136 double y1,
double y2,
bool sumw2 = 1,
bool sbox = 1);
139 bool sumw2 = 1,
bool sbox = 1);
142 double y1,
double y2,
bool sumw2 = 1,
bool sbox = 1);
143 void fill1D(std::vector<TH1F *> &hs,
double val,
double w = 1.);
144 void fill1D(std::vector<MonitorElement *> &mes,
double val,
double w = 1.);
145 void fill2D(std::vector<TH2F *> &hs,
double valx,
double valy,
double w = 1.);
146 void fill2D(std::vector<MonitorElement *> &mes,
double valx,
double valy,
148 void fill3D(std::vector<TH3F *> &hs,
int gbin,
double w = 1.);
150 const std::vector<TH3F *> &NsigTracklets,
151 const std::vector<TH3F *> &NbkgTracklets,
152 const std::vector<TH1F *> &NEvsPerEta,
153 std::vector<MonitorElement *> &hdNdEtaRawTrkl,
154 std::vector<MonitorElement *> &hdNdEtaSubTrkl,
155 std::vector<MonitorElement *> &hdNdEtaTrklets);
160 std::vector<MonitorElement *> &hClusterYSize,
161 std::vector<MonitorElement *> &hClusterADC);
164 const std::vector<Pixel> &pix1,
165 const std::vector<Pixel> &pix2,
const Vertex &trackletV);
167 const std::vector<Tracklet> &tracklets,
const std::vector<Pixel> &pixels,
168 const Vertex &trackletV,
const TH3F *AlphaTracklets,
169 std::vector<TH3F *> &NsigTracklets, std::vector<TH3F *> &NbkgTracklets,
170 std::vector<TH1F *> &eventpereta, std::vector<MonitorElement *> &detaphi,
171 std::vector<MonitorElement *> &deta, std::vector<MonitorElement *> &dphi,
172 std::vector<MonitorElement *> &etavsvtx);
173 template <
typename TYPE>
176 template <
typename TYPE>
312 template <
typename TYPE>
323 "QcdLowPtDQM::GetProduct()\n")
324 <<
"Collection with label " << name <<
" is not valid" << std::endl;
328 template <
typename TYPE>
336 if (name.size() == 0)
return false;
340 if (!prod.
isValid())
return false;
double vertexZFromClusters(const std::vector< Pixel > &pix) const
Pixel(double x=0, double y=0, double z=0, double eta=0, double phi=0, double adc=0, double sx=0, double sy=0)
std::vector< std::string > hltProcNames_
std::vector< MonitorElement * > hdNdPhiHitsL2_
QcdLowPtDQM(const edm::ParameterSet ¶meters)
std::vector< Tracklet > btracklets23_
std::vector< MonitorElement * > hNhitsL3_
std::vector< MonitorElement * > hTrkRawDetaDphi13_
HLTConfigProvider hltConfig_
std::vector< TH3F * > NbkgTracklets12_
std::vector< MonitorElement * > hdNdEtaRawTrkl13_
std::vector< MonitorElement * > hdNdEtaRawTrkl23_
void trackletVertexUnbinned(const edm::Event &iEvent, int which=12)
std::vector< bool > hltTrgDeci_
std::vector< MonitorElement * > hRawTrkEtaVtxZ12_
std::vector< TH3F * > NsigTracklets12_
void print(int level, const std::string &msg)
std::vector< TH1F * > hEvtCountsPerEta12_
std::vector< MonitorElement * > hNhitsL2z_
Pixel(const GlobalPoint &p, double adc=0, double sx=0, double sy=0)
std::vector< TH3F * > NsigTracklets23_
std::vector< MonitorElement * > hTrkRawDeta23_
std::vector< MonitorElement * > hdNdEtaHitsL1_
std::vector< MonitorElement * > hdNdEtaSubTrkl23_
std::vector< MonitorElement * > hClusterADC1_
std::vector< TH3F * > NsigTracklets13_
std::vector< MonitorElement * > hRawTrkEtaVtxZ23_
std::vector< MonitorElement * > hClusterYSize2_
MonitorElement * repSummary_
void dqmBeginRun(const edm::Run &, const edm::EventSetup &) override
std::vector< MonitorElement * > hTrkVtxZ12_
std::vector< MonitorElement * > hTrkVtxZ13_
std::vector< TH3F * > NbkgTracklets13_
std::vector< Tracklet > btracklets12_
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
std::vector< MonitorElement * > hTrkRawDeta12_
std::vector< MonitorElement * > hdNdEtaHitsL2_
std::vector< MonitorElement * > hdNdEtaSubTrkl13_
void fill3D(std::vector< TH3F * > &hs, int gbin, double w=1.)
void getProduct(const std::string name, edm::Handle< TYPE > &prod, const edm::Event &event) const
MonitorElement * repSumMap_
std::vector< MonitorElement * > hClusterVertexZ_
std::vector< std::string > hltTrgUsedNames_
std::vector< MonitorElement * > hNhitsL1_
std::vector< MonitorElement * > hTrkRawDphi23_
std::vector< Pixel > bpix3_
std::vector< MonitorElement * > hNhitsL1z_
std::vector< MonitorElement * > hTrkRawDphi12_
std::vector< MonitorElement * > hClusterYSize3_
void book2D(DQMStore::IBooker &, std::vector< MonitorElement * > &mes, const std::string &name, const std::string &title, int nx, double x1, double x2, int ny, double y1, double y2, bool sumw2=1, bool sbox=1)
void create1D(std::vector< TH1F * > &mes, const std::string &name, const std::string &title, int nx, double x1, double x2, bool sumw2=1, bool sbox=1)
void fillHltBits(const edm::Event &iEvent)
void fillPixelClusterInfos(const edm::Event &iEvent, int which=12)
std::vector< MonitorElement * > hdNdEtaTrklets23_
void fill2D(std::vector< TH2F * > &hs, double valx, double valy, double w=1.)
std::vector< MonitorElement * > hTrkRawDetaDphi12_
void fillTracklets(const edm::Event &iEvent, int which=12)
std::vector< MonitorElement * > hClusterADC3_
bool getProductSafe(const std::string name, edm::Handle< TYPE > &prod, const edm::Event &event) const
void print(int level, const char *msg)
void endLuminosityBlock(const edm::LuminosityBlock &l, const edm::EventSetup &iSetup) override
std::string clusterVtxName_
std::vector< MonitorElement * > hdNdEtaTrklets13_
std::vector< MonitorElement * > hTrkRawDetaDphi23_
std::vector< MonitorElement * > hdNdPhiHitsL1_
std::vector< MonitorElement * > hdNdEtaTrklets12_
std::vector< MonitorElement * > hRawTrkEtaVtxZ13_
MonitorElement * h2TrigCorr_
std::vector< MonitorElement * > hNhitsL3z_
std::vector< MonitorElement * > hdNdEtaRawTrkl12_
std::vector< MonitorElement * > hClusterADC2_
void endRun(const edm::Run &r, const edm::EventSetup &iSetup) override
std::vector< MonitorElement * > hdNdEtaHitsL3_
std::vector< MonitorElement * > hClusterYSize1_
void yieldAlphaHistogram(int which=12)
const TrackerGeometry * tgeo_
Tracklet(const Pixel &p1, const Pixel &p2)
std::vector< Pixel > bpix2_
void filldNdeta(const TH3F *AlphaTracklets, const std::vector< TH3F * > &NsigTracklets, const std::vector< TH3F * > &NbkgTracklets, const std::vector< TH1F * > &NEvsPerEta, std::vector< MonitorElement * > &hdNdEtaRawTrkl, std::vector< MonitorElement * > &hdNdEtaSubTrkl, std::vector< MonitorElement * > &hdNdEtaTrklets)
Vertex(double x=0, double y=0, double z=0, double xs=0, double ys=0, double zs=0, int n=0)
void create2D(std::vector< TH2F * > &mes, const std::string &name, const std::string &title, int nx, double x1, double x2, int ny, double y1, double y2, bool sumw2=1, bool sbox=1)
std::string hltUsedResName_
std::vector< Pixel > bpix1_
void book1D(DQMStore::IBooker &, std::vector< MonitorElement * > &mes, const std::string &name, const std::string &title, int nx, double x1, double x2, bool sumw2=1, bool sbox=1)
std::vector< TH1F * > hEvtCountsPerEta23_
std::vector< MonitorElement * > hTrkRawDeta13_
std::vector< MonitorElement * > hdNdPhiHitsL3_
void fill1D(std::vector< TH1F * > &hs, double val, double w=1.)
std::vector< std::string > hltTrgNames_
std::vector< MonitorElement * > hTrkRawDphi13_
std::vector< TH1F * > hEvtCountsPerEta13_
void analyze(const edm::Event &iEvent, const edm::EventSetup &iSetup) override
std::vector< Tracklet > btracklets13_
std::vector< MonitorElement * > hdNdEtaSubTrkl12_
std::vector< TH3F * > NbkgTracklets23_
std::vector< MonitorElement * > hNhitsL2_
std::vector< int > hltTrgBits_
std::vector< MonitorElement * > hTrkVtxZ23_
void reallyPrint(int level, const char *msg)
void fillPixels(const edm::Event &iEvent, const edm::EventSetup &iSetup)