27 outputFile_(ps.getUntrackedParameter<
std::
string>(
"outputFile",
"pixeldigihisto.root")),
30 edmDetSetVector_PixelDigi_Token_(consumes<
edm::DetSetVector<
PixelDigi>>(ps.getParameter<
edm::
InputTag>(
"src"))) {}
151 ibooker.
bookProfile(
"digi_layer1_ladders",
"Digi Num. per ladder", 22, 0.0, 21.0, 100, 0.0, 100);
153 ibooker.
bookProfile(
"digi_layer2_ladders",
"Digi Num. per ladder", 34, 0.0, 32.0, 100, 0.0, 100);
155 ibooker.
bookProfile(
"digi_layer3_ladders",
"Digi Num. per ladder", 46, 0.0, 45.0, 100, 0.0, 100);
183 ibooker.
book1D(
"digi_zm_disk1_panel1",
"Digi Num. Panel1 Of 1st Disk In ZMinus Side ", 30, 0., 30.);
185 ibooker.
book1D(
"digi_zm_disk1_panel2",
"Digi Num. Panel2 Of 1st Disk In ZMinus Side ", 30, 0., 30.);
212 ibooker.
book1D(
"digi_zm_disk2_panel1",
"Digi Num. Panel1 Of 2nd Disk In ZMinus Side ", 30, 0., 30.);
214 ibooker.
book1D(
"digi_zm_disk2_panel2",
"Digi Num. Panel2 Of 2nd Disk In ZMinus Side ", 30, 0., 30.);
241 ibooker.
book1D(
"digi_zp_disk1_panel1",
"Digi Num. Panel1 Of 1st Disk In ZPlus Side ", 30, 0., 30.);
243 ibooker.
book1D(
"digi_zp_disk1_panel2",
"Digi Num. Panel2 Of 1st Disk In ZPlus Side ", 30, 0., 30.);
270 ibooker.
book1D(
"digi_zp_disk2_panel1",
"Digi Num. Panel1 Of 2nd Disk In ZPlus Side ", 30, 0., 30.);
272 ibooker.
book1D(
"digi_zp_disk2_panel2",
"Digi Num. Panel2 Of 2nd Disk In ZPlus Side ", 30, 0., 30.);
286 int ndigiperRingLayer1[8];
287 int ndigiperRingLayer2[8];
288 int ndigiperRingLayer3[8];
289 for (
int i = 0;
i < 8;
i++) {
290 ndigiperRingLayer1[
i] = 0;
291 ndigiperRingLayer2[
i] = 0;
292 ndigiperRingLayer3[
i] = 0;
295 int ndigiZpDisk1PerPanel1[nblades];
296 int ndigiZpDisk1PerPanel2[nblades];
297 int ndigiZpDisk2PerPanel1[nblades];
298 int ndigiZpDisk2PerPanel2[nblades];
299 int ndigiZmDisk1PerPanel1[nblades];
300 int ndigiZmDisk1PerPanel2[nblades];
301 int ndigiZmDisk2PerPanel1[nblades];
302 int ndigiZmDisk2PerPanel2[nblades];
304 for (
int i = 0;
i < nblades;
i++) {
305 ndigiZpDisk1PerPanel1[
i] = 0;
306 ndigiZpDisk1PerPanel2[
i] = 0;
307 ndigiZpDisk2PerPanel1[
i] = 0;
308 ndigiZpDisk2PerPanel2[
i] = 0;
309 ndigiZmDisk1PerPanel1[
i] = 0;
310 ndigiZmDisk1PerPanel2[
i] = 0;
311 ndigiZmDisk2PerPanel1[
i] = 0;
312 ndigiZmDisk2PerPanel2[
i] = 0;
315 int ndigilayer1ladders[nladders1];
316 int ndigilayer2ladders[nladders2];
317 int ndigilayer3ladders[nladders3];
319 for (
int i = 0;
i < nladders1;
i++) {
320 ndigilayer1ladders[
i] = 0;
323 for (
int i = 0;
i < nladders2;
i++) {
324 ndigilayer2ladders[
i] = 0;
327 for (
int i = 0;
i < nladders3;
i++) {
328 ndigilayer3ladders[
i] = 0;
339 for (; DSViter != pixelDigis->end(); DSViter++) {
340 unsigned int id = DSViter->id;
349 unsigned int zindex = tTopo->
pxbModule(
id);
352 for (iter = begin; iter !=
end; iter++) {
354 ++ndigilayer1ladders[
ladder - 1];
355 ++ndigiperRingLayer1[zindex - 1];
403 ++ndigilayer2ladders[
ladder - 1];
404 ++ndigiperRingLayer2[zindex - 1];
452 ++ndigilayer3ladders[
ladder - 1];
453 ++ndigiperRingLayer3[zindex - 1];
505 unsigned int side = tTopo->
pxfSide(
id);
506 unsigned int disk = tTopo->
pxfDisk(
id);
507 unsigned int blade = tTopo->
pxfBlade(
id);
508 unsigned int panel = tTopo->
pxfPanel(
id);
512 for (iter = begin; iter !=
end; iter++) {
513 if (side == 1 && disk == 1 && panel == 1) {
518 }
else if (
mod == 2) {
522 }
else if (
mod == 3) {
526 }
else if (
mod == 4) {
533 ++ndigiZmDisk1PerPanel1[blade - 1];
536 if (side == 1 && disk == 1 && panel == 2) {
541 }
else if (
mod == 2) {
545 }
else if (
mod == 3) {
552 ++ndigiZmDisk1PerPanel2[blade - 1];
555 if (side == 1 && disk == 2 && panel == 1) {
560 }
else if (
mod == 2) {
564 }
else if (
mod == 3) {
568 }
else if (
mod == 4) {
575 ++ndigiZmDisk2PerPanel1[blade - 1];
578 if (side == 1 && disk == 2 && panel == 2) {
583 }
else if (
mod == 2) {
587 }
else if (
mod == 3) {
594 ++ndigiZmDisk2PerPanel2[blade - 1];
597 if (side == 2 && disk == 1 && panel == 1) {
602 }
else if (
mod == 2) {
606 }
else if (
mod == 3) {
610 }
else if (
mod == 4) {
617 ++ndigiZpDisk1PerPanel1[blade - 1];
620 if (side == 2 && disk == 1 && panel == 2) {
625 }
else if (
mod == 2) {
629 }
else if (
mod == 3) {
636 ++ndigiZpDisk1PerPanel2[blade - 1];
639 if (side == 2 && disk == 2 && panel == 1) {
644 }
else if (
mod == 2) {
648 }
else if (
mod == 3) {
652 }
else if (
mod == 4) {
659 ++ndigiZpDisk2PerPanel1[blade - 1];
662 if (side == 2 && disk == 2 && panel == 2) {
667 }
else if (
mod == 2) {
671 }
else if (
mod == 3) {
678 ++ndigiZpDisk2PerPanel2[blade - 1];
713 for (
int i = 0;
i < nblades;
i++) {
724 for (
int i = 0;
i < nladders1;
i++) {
728 for (
int i = 0;
i < nladders2;
i++) {
732 for (
int i = 0;
i < nladders3;
i++) {
MonitorElement * meColZpDisk1Panel1Plaq3_
edm::EDGetTokenT< edm::DetSetVector< PixelDigi > > edmDetSetVector_PixelDigi_Token_
MonitorElement * meColLayer3Ring7_
MonitorElement * meAdcLayer3Ring4_
MonitorElement * meRowZpDisk2Panel1Plaq1_
MonitorElement * meAdcLayer2Ring6_
MonitorElement * meColZmDisk2Panel2Plaq2_
MonitorElement * meRowZpDisk2Panel1Plaq3_
MonitorElement * meRowZmDisk2Panel2Plaq3_
MonitorElement * meAdcLayer3Ring5_
MonitorElement * meDigiMultiLayer3Ring7_
MonitorElement * meDigiMultiLayer1Ring3_
MonitorElement * meAdcZpDisk2Panel1Plaq1_
MonitorElement * meDigiMultiLayer2Ring1_
MonitorElement * meColLayer2Ring2_
MonitorElement * meDigiMultiLayer1Ring5_
MonitorElement * meAdcLayer1Ring2_
MonitorElement * meColLayer1Ring2_
MonitorElement * meNdigiZpDisk2PerPanel1_
unsigned int pxbLayer(const DetId &id) const
MonitorElement * meAdcZmDisk2Panel1Plaq3_
MonitorElement * meColZmDisk2Panel1Plaq2_
MonitorElement * meAdcLayer1Ring8_
void analyze(const edm::Event &e, const edm::EventSetup &c) override
MonitorElement * meRowZpDisk2Panel1Plaq4_
MonitorElement * meRowZpDisk2Panel2Plaq1_
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
MonitorElement * meAdcLayer3Ring2_
MonitorElement * meRowLayer3Ring8_
MonitorElement * meColLayer2Ring3_
MonitorElement * meRowZpDisk1Panel1Plaq4_
MonitorElement * meAdcLayer2Ring3_
MonitorElement * meRowZpDisk1Panel2Plaq2_
virtual void setCurrentFolder(std::string const &fullpath)
unsigned int pxfBlade(const DetId &id) const
MonitorElement * meAdcZmDisk1Panel2Plaq1_
MonitorElement * meRowZmDisk2Panel1Plaq1_
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > m_topoToken
MonitorElement * meColLayer1Ring4_
MonitorElement * meRowZmDisk1Panel1Plaq3_
MonitorElement * meDigiMultiLayer1Ring7_
MonitorElement * meRowZpDisk2Panel2Plaq3_
MonitorElement * meDigiMultiLayer3Ring6_
MonitorElement * meColZmDisk1Panel1Plaq3_
MonitorElement * meAdcZmDisk1Panel1Plaq3_
unsigned int pxfModule(const DetId &id) const
MonitorElement * meDigiMultiLayer1Ring4_
MonitorElement * meRowZpDisk2Panel1Plaq2_
MonitorElement * meRowLayer3Ring7_
const edm::ESGetToken< GeometricSearchTracker, TrackerRecoGeometryRecord > m_geomToken
MonitorElement * meDigiMultiLayer3Ring3_
MonitorElement * meAdcZmDisk2Panel2Plaq2_
MonitorElement * meColLayer2Ring4_
MonitorElement * meDigiMultiLayer3Ring8_
MonitorElement * meColZmDisk2Panel2Plaq3_
MonitorElement * meColZmDisk2Panel2Plaq1_
MonitorElement * meColLayer3Ring5_
MonitorElement * meColZmDisk1Panel2Plaq1_
const GeometricSearchTracker * tracker
MonitorElement * meRowLayer1Ring5_
MonitorElement * meColLayer1Ring7_
MonitorElement * meColLayer3Ring1_
MonitorElement * meAdcZpDisk2Panel1Plaq4_
MonitorElement * meRowZmDisk1Panel1Plaq4_
MonitorElement * meRowZmDisk1Panel1Plaq1_
MonitorElement * meRowLayer2Ring3_
MonitorElement * meDigiMultiLayer2Ring7_
MonitorElement * meDigiMultiLayer3Ring1_
MonitorElement * meColZpDisk1Panel2Plaq1_
MonitorElement * meColLayer1Ring1_
unsigned int pxbLadder(const DetId &id) const
MonitorElement * meColLayer2Ring7_
MonitorElement * meColLayer1Ring3_
MonitorElement * meAdcZmDisk1Panel1Plaq4_
MonitorElement * meRowZpDisk1Panel1Plaq1_
std::vector< ForwardDetLayer const * > const & posPixelForwardLayers() const
MonitorElement * meAdcZpDisk1Panel2Plaq1_
MonitorElement * meColZpDisk1Panel2Plaq2_
MonitorElement * meAdcLayer1Ring4_
MonitorElement * meAdcLayer1Ring5_
MonitorElement * meRowLayer1Ring2_
MonitorElement * meAdcZmDisk2Panel1Plaq4_
MonitorElement * meAdcLayer1Ring1_
MonitorElement * meDigiMultiLayer1Ring2_
MonitorElement * meRowZmDisk1Panel2Plaq3_
MonitorElement * meColZpDisk1Panel1Plaq2_
MonitorElement * meRowZpDisk2Panel2Plaq2_
~SiPixelDigiValid() override
MonitorElement * meAdcLayer3Ring6_
MonitorElement * meRowLayer3Ring3_
MonitorElement * meAdcZpDisk2Panel2Plaq3_
MonitorElement * meColZmDisk1Panel2Plaq2_
MonitorElement * meAdcZpDisk2Panel1Plaq3_
MonitorElement * meDigiMultiLayer2Ring5_
MonitorElement * meColLayer2Ring5_
MonitorElement * meRowZpDisk1Panel1Plaq3_
SiPixelDigiValid(const edm::ParameterSet &ps)
MonitorElement * meColLayer1Ring6_
MonitorElement * meNdigiZmDisk1PerPanel1_
MonitorElement * meAdcZmDisk1Panel1Plaq2_
MonitorElement * meColZpDisk1Panel1Plaq1_
MonitorElement * bookProfile(TString const &name, TString const &title, int nchX, double lowX, double highX, int, double lowY, double highY, char const *option="s", FUNC onbooking=NOOP())
MonitorElement * meAdcZmDisk2Panel1Plaq1_
MonitorElement * meDigiMultiLayer3Ring2_
MonitorElement * meAdcZmDisk1Panel1Plaq1_
MonitorElement * meColZpDisk2Panel2Plaq1_
MonitorElement * meDigiMultiLayer2Ring2_
MonitorElement * meColZpDisk2Panel1Plaq1_
MonitorElement * meDigiMultiLayer2Ring4_
MonitorElement * meDigiMultiLayer2Ring6_
MonitorElement * meAdcZmDisk1Panel2Plaq3_
MonitorElement * meRowZmDisk2Panel2Plaq2_
MonitorElement * meColLayer1Ring8_
MonitorElement * meColZpDisk1Panel2Plaq3_
unsigned int pxfDisk(const DetId &id) const
MonitorElement * meAdcZmDisk2Panel2Plaq1_
MonitorElement * meRowLayer1Ring4_
MonitorElement * meRowZmDisk2Panel1Plaq4_
MonitorElement * meAdcLayer2Ring7_
MonitorElement * meRowZmDisk2Panel1Plaq2_
MonitorElement * meColZpDisk2Panel2Plaq3_
MonitorElement * meRowLayer3Ring6_
MonitorElement * meColLayer2Ring6_
MonitorElement * meColLayer3Ring8_
MonitorElement * meColZmDisk2Panel1Plaq3_
MonitorElement * meDigiMultiLayer2Ring8_
MonitorElement * meAdcLayer2Ring5_
MonitorElement * meAdcLayer3Ring7_
MonitorElement * meDigiMultiLayer1Ladders_
MonitorElement * meAdcZmDisk1Panel2Plaq2_
MonitorElement * meRowZmDisk2Panel2Plaq1_
iterator end()
Return the off-the-end iterator.
MonitorElement * meRowLayer3Ring1_
MonitorElement * meRowLayer2Ring7_
MonitorElement * meAdcZpDisk2Panel2Plaq2_
MonitorElement * meColLayer1Ring5_
MonitorElement * meAdcZpDisk1Panel1Plaq1_
Forwar Pixel.
MonitorElement * meDigiMultiLayer1Ring1_
MonitorElement * meColZmDisk1Panel1Plaq1_
MonitorElement * meAdcLayer2Ring8_
MonitorElement * meRowLayer1Ring6_
MonitorElement * meRowZmDisk1Panel1Plaq2_
MonitorElement * meAdcZpDisk1Panel2Plaq2_
unsigned int pxfPanel(const DetId &id) const
MonitorElement * meDigiMultiLayer3Ring5_
std::vector< BarrelDetLayer const * > const & pixelBarrelLayers() const
unsigned int pxfSide(const DetId &id) const
MonitorElement * meRowZmDisk2Panel1Plaq3_
MonitorElement * meAdcZpDisk2Panel1Plaq2_
MonitorElement * meColLayer3Ring3_
MonitorElement * meRowLayer2Ring5_
MonitorElement * meAdcZpDisk1Panel1Plaq4_
MonitorElement * meAdcLayer1Ring7_
MonitorElement * meColZpDisk2Panel1Plaq4_
MonitorElement * meRowLayer2Ring1_
MonitorElement * meColLayer2Ring8_
MonitorElement * meAdcLayer2Ring1_
MonitorElement * meAdcZmDisk2Panel1Plaq2_
MonitorElement * meDigiMultiLayer3Ladders_
MonitorElement * meRowLayer3Ring4_
MonitorElement * meAdcLayer1Ring3_
MonitorElement * meNdigiZmDisk1PerPanel2_
MonitorElement * meDigiMultiLayer2Ladders_
MonitorElement * meNdigiZmDisk2PerPanel1_
MonitorElement * meDigiMultiLayer1Ring6_
MonitorElement * meRowLayer2Ring8_
MonitorElement * meRowLayer3Ring2_
MonitorElement * meAdcLayer3Ring8_
MonitorElement * meAdcZpDisk1Panel1Plaq2_
MonitorElement * meNdigiZpDisk1PerPanel2_
MonitorElement * meRowZmDisk1Panel2Plaq1_
void bookHistograms(DQMStore::IBooker &ibooker, const edm::Run &run, const edm::EventSetup &es) override
MonitorElement * meColZmDisk1Panel1Plaq4_
MonitorElement * meAdcLayer3Ring3_
MonitorElement * meRowLayer1Ring3_
MonitorElement * meDigiMultiLayer2Ring3_
MonitorElement * meColZpDisk2Panel1Plaq3_
MonitorElement * meColZmDisk1Panel1Plaq2_
iterator begin()
Return an iterator to the first DetSet.
MonitorElement * meColZmDisk2Panel1Plaq4_
MonitorElement * meDigiMultiLayer1Ring8_
MonitorElement * meRowZpDisk1Panel1Plaq2_
MonitorElement * meColLayer3Ring2_
MonitorElement * meAdcZpDisk1Panel2Plaq3_
MonitorElement * meRowLayer2Ring6_
unsigned int pxbModule(const DetId &id) const
MonitorElement * meRowLayer1Ring1_
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
collection_type::const_iterator const_iterator
collection_type::const_iterator const_iterator
MonitorElement * meColZpDisk1Panel1Plaq4_
MonitorElement * meRowLayer2Ring4_
MonitorElement * meAdcLayer1Ring6_
MonitorElement * meRowLayer1Ring8_
T mod(const T &a, const T &b)
MonitorElement * meRowZpDisk1Panel2Plaq1_
MonitorElement * meColZpDisk2Panel1Plaq2_
MonitorElement * meNdigiZpDisk2PerPanel2_
MonitorElement * meDigiMultiLayer3Ring4_
MonitorElement * meColLayer2Ring1_
MonitorElement * meAdcLayer3Ring1_
MonitorElement * meColLayer3Ring6_
MonitorElement * meNdigiZmDisk2PerPanel2_
MonitorElement * meRowLayer1Ring7_
MonitorElement * meColZpDisk2Panel2Plaq2_
MonitorElement * meAdcLayer2Ring2_
MonitorElement * meAdcZpDisk1Panel1Plaq3_
MonitorElement * meColLayer3Ring4_
MonitorElement * meRowLayer3Ring5_
MonitorElement * meRowZmDisk1Panel2Plaq2_
MonitorElement * meAdcLayer2Ring4_
MonitorElement * meColZmDisk1Panel2Plaq3_
MonitorElement * meAdcZmDisk2Panel2Plaq3_
MonitorElement * meColZmDisk2Panel1Plaq1_
MonitorElement * meRowLayer2Ring2_
MonitorElement * meNdigiZpDisk1PerPanel1_
MonitorElement * meRowZpDisk1Panel2Plaq3_
MonitorElement * meAdcZpDisk2Panel2Plaq1_