|
|
Go to the documentation of this file.
26 : outputFile_(ps.getUntrackedParameter<
std::
string>(
"outputFile",
"pixeldigihisto.root")),
29 edmDetSetVector_PixelDigi_Token_(consumes<
edm::DetSetVector<
PixelDigi>>(ps.getParameter<
edm::
InputTag>(
"src"))) {}
150 ibooker.
bookProfile(
"digi_layer1_ladders",
"Digi Num. per ladder", 22, 0.0, 21.0, 100, 0.0, 100);
152 ibooker.
bookProfile(
"digi_layer2_ladders",
"Digi Num. per ladder", 34, 0.0, 32.0, 100, 0.0, 100);
154 ibooker.
bookProfile(
"digi_layer3_ladders",
"Digi Num. per ladder", 46, 0.0, 45.0, 100, 0.0, 100);
182 ibooker.
book1D(
"digi_zm_disk1_panel1",
"Digi Num. Panel1 Of 1st Disk In ZMinus Side ", 30, 0., 30.);
184 ibooker.
book1D(
"digi_zm_disk1_panel2",
"Digi Num. Panel2 Of 1st Disk In ZMinus Side ", 30, 0., 30.);
211 ibooker.
book1D(
"digi_zm_disk2_panel1",
"Digi Num. Panel1 Of 2nd Disk In ZMinus Side ", 30, 0., 30.);
213 ibooker.
book1D(
"digi_zm_disk2_panel2",
"Digi Num. Panel2 Of 2nd Disk In ZMinus Side ", 30, 0., 30.);
240 ibooker.
book1D(
"digi_zp_disk1_panel1",
"Digi Num. Panel1 Of 1st Disk In ZPlus Side ", 30, 0., 30.);
242 ibooker.
book1D(
"digi_zp_disk1_panel2",
"Digi Num. Panel2 Of 1st Disk In ZPlus Side ", 30, 0., 30.);
269 ibooker.
book1D(
"digi_zp_disk2_panel1",
"Digi Num. Panel1 Of 2nd Disk In ZPlus Side ", 30, 0., 30.);
271 ibooker.
book1D(
"digi_zp_disk2_panel2",
"Digi Num. Panel2 Of 2nd Disk In ZPlus Side ", 30, 0., 30.);
287 int ndigiperRingLayer1[8];
288 int ndigiperRingLayer2[8];
289 int ndigiperRingLayer3[8];
290 for (
int i = 0;
i < 8;
i++) {
291 ndigiperRingLayer1[
i] = 0;
292 ndigiperRingLayer2[
i] = 0;
293 ndigiperRingLayer3[
i] = 0;
296 int ndigiZpDisk1PerPanel1[nblades];
297 int ndigiZpDisk1PerPanel2[nblades];
298 int ndigiZpDisk2PerPanel1[nblades];
299 int ndigiZpDisk2PerPanel2[nblades];
300 int ndigiZmDisk1PerPanel1[nblades];
301 int ndigiZmDisk1PerPanel2[nblades];
302 int ndigiZmDisk2PerPanel1[nblades];
303 int ndigiZmDisk2PerPanel2[nblades];
305 for (
int i = 0;
i < nblades;
i++) {
306 ndigiZpDisk1PerPanel1[
i] = 0;
307 ndigiZpDisk1PerPanel2[
i] = 0;
308 ndigiZpDisk2PerPanel1[
i] = 0;
309 ndigiZpDisk2PerPanel2[
i] = 0;
310 ndigiZmDisk1PerPanel1[
i] = 0;
311 ndigiZmDisk1PerPanel2[
i] = 0;
312 ndigiZmDisk2PerPanel1[
i] = 0;
313 ndigiZmDisk2PerPanel2[
i] = 0;
316 int ndigilayer1ladders[nladders1];
317 int ndigilayer2ladders[nladders2];
318 int ndigilayer3ladders[nladders3];
320 for (
int i = 0;
i < nladders1;
i++) {
321 ndigilayer1ladders[
i] = 0;
324 for (
int i = 0;
i < nladders2;
i++) {
325 ndigilayer2ladders[
i] = 0;
328 for (
int i = 0;
i < nladders3;
i++) {
329 ndigilayer3ladders[
i] = 0;
343 for (; DSViter != pixelDigis->end(); DSViter++) {
344 unsigned int id = DSViter->id;
351 unsigned int layer = tTopo->
pxbLayer(
id);
353 unsigned int zindex = tTopo->
pxbModule(
id);
356 for (iter = begin; iter !=
end; iter++) {
358 ++ndigilayer1ladders[
ladder - 1];
359 ++ndigiperRingLayer1[zindex - 1];
407 ++ndigilayer2ladders[
ladder - 1];
408 ++ndigiperRingLayer2[zindex - 1];
456 ++ndigilayer3ladders[
ladder - 1];
457 ++ndigiperRingLayer3[zindex - 1];
509 unsigned int side = tTopo->
pxfSide(
id);
510 unsigned int disk = tTopo->
pxfDisk(
id);
511 unsigned int blade = tTopo->
pxfBlade(
id);
512 unsigned int panel = tTopo->
pxfPanel(
id);
516 for (iter = begin; iter !=
end; iter++) {
517 if (side == 1 && disk == 1 && panel == 1) {
522 }
else if (
mod == 2) {
526 }
else if (
mod == 3) {
530 }
else if (
mod == 4) {
537 ++ndigiZmDisk1PerPanel1[blade - 1];
540 if (side == 1 && disk == 1 && panel == 2) {
545 }
else if (
mod == 2) {
549 }
else if (
mod == 3) {
556 ++ndigiZmDisk1PerPanel2[blade - 1];
559 if (side == 1 && disk == 2 && panel == 1) {
564 }
else if (
mod == 2) {
568 }
else if (
mod == 3) {
572 }
else if (
mod == 4) {
579 ++ndigiZmDisk2PerPanel1[blade - 1];
582 if (side == 1 && disk == 2 && panel == 2) {
587 }
else if (
mod == 2) {
591 }
else if (
mod == 3) {
598 ++ndigiZmDisk2PerPanel2[blade - 1];
601 if (side == 2 && disk == 1 && panel == 1) {
606 }
else if (
mod == 2) {
610 }
else if (
mod == 3) {
614 }
else if (
mod == 4) {
621 ++ndigiZpDisk1PerPanel1[blade - 1];
624 if (side == 2 && disk == 1 && panel == 2) {
629 }
else if (
mod == 2) {
633 }
else if (
mod == 3) {
640 ++ndigiZpDisk1PerPanel2[blade - 1];
643 if (side == 2 && disk == 2 && panel == 1) {
648 }
else if (
mod == 2) {
652 }
else if (
mod == 3) {
656 }
else if (
mod == 4) {
663 ++ndigiZpDisk2PerPanel1[blade - 1];
666 if (side == 2 && disk == 2 && panel == 2) {
671 }
else if (
mod == 2) {
675 }
else if (
mod == 3) {
682 ++ndigiZpDisk2PerPanel2[blade - 1];
717 for (
int i = 0;
i < nblades;
i++) {
728 for (
int i = 0;
i < nladders1;
i++) {
732 for (
int i = 0;
i < nladders2;
i++) {
736 for (
int i = 0;
i < nladders3;
i++) {
MonitorElement * meColZpDisk2Panel2Plaq3_
T const * product() const
MonitorElement * meColZmDisk2Panel1Plaq3_
MonitorElement * meColLayer1Ring3_
MonitorElement * meColZpDisk1Panel2Plaq3_
MonitorElement * meColLayer2Ring5_
MonitorElement * meDigiMultiLayer2Ring5_
MonitorElement * meAdcZpDisk1Panel1Plaq1_
Forwar Pixel.
MonitorElement * meColZmDisk1Panel1Plaq1_
MonitorElement * meColZpDisk1Panel1Plaq4_
MonitorElement * meRowLayer1Ring2_
MonitorElement * meRowZmDisk1Panel2Plaq1_
iterator end()
Return the off-the-end iterator.
unsigned int pxfSide(const DetId &id) const
MonitorElement * meRowLayer3Ring6_
MonitorElement * meColZpDisk2Panel2Plaq1_
MonitorElement * meRowLayer3Ring5_
MonitorElement * meDigiMultiLayer1Ring6_
MonitorElement * meAdcLayer1Ring7_
MonitorElement * meRowZpDisk1Panel1Plaq1_
MonitorElement * meColLayer1Ring8_
MonitorElement * meAdcZmDisk1Panel2Plaq2_
MonitorElement * meColZmDisk1Panel2Plaq3_
MonitorElement * meColZpDisk2Panel1Plaq4_
MonitorElement * meAdcZpDisk2Panel2Plaq2_
MonitorElement * meAdcZpDisk1Panel2Plaq1_
unsigned int pxbLadder(const DetId &id) const
T mod(const T &a, const T &b)
MonitorElement * meRowLayer2Ring4_
virtual void setCurrentFolder(std::string const &fullpath)
MonitorElement * meColZpDisk2Panel1Plaq2_
MonitorElement * meRowZpDisk2Panel1Plaq3_
MonitorElement * meRowZmDisk2Panel2Plaq3_
MonitorElement * meNdigiZmDisk2PerPanel2_
MonitorElement * meAdcLayer3Ring1_
MonitorElement * meColLayer2Ring6_
MonitorElement * meDigiMultiLayer3Ring7_
MonitorElement * meColZpDisk2Panel1Plaq1_
iterator begin()
Return an iterator to the first DetSet.
MonitorElement * meRowZmDisk2Panel1Plaq3_
MonitorElement * meNdigiZpDisk2PerPanel1_
MonitorElement * meAdcLayer2Ring5_
MonitorElement * meAdcLayer2Ring4_
MonitorElement * meColZpDisk1Panel1Plaq3_
MonitorElement * meColLayer2Ring3_
MonitorElement * meAdcLayer2Ring8_
MonitorElement * meNdigiZpDisk1PerPanel2_
MonitorElement * meRowZpDisk1Panel2Plaq1_
MonitorElement * meAdcLayer3Ring4_
MonitorElement * meAdcLayer2Ring6_
MonitorElement * meAdcLayer1Ring3_
MonitorElement * meDigiMultiLayer3Ring2_
MonitorElement * meAdcZpDisk2Panel1Plaq2_
unsigned int pxbLayer(const DetId &id) const
MonitorElement * meDigiMultiLayer2Ring4_
MonitorElement * meColZmDisk1Panel1Plaq2_
MonitorElement * meAdcZmDisk2Panel1Plaq3_
MonitorElement * meColLayer1Ring4_
MonitorElement * meNdigiZmDisk2PerPanel1_
unsigned int pxfPanel(const DetId &id) const
MonitorElement * meAdcLayer1Ring8_
MonitorElement * meAdcZmDisk2Panel2Plaq3_
MonitorElement * meColLayer3Ring2_
MonitorElement * meRowZpDisk2Panel2Plaq3_
MonitorElement * meDigiMultiLayer1Ring4_
MonitorElement * meAdcZmDisk2Panel2Plaq1_
MonitorElement * meNdigiZpDisk1PerPanel1_
MonitorElement * meRowLayer1Ring6_
MonitorElement * meColLayer2Ring4_
MonitorElement * meRowLayer1Ring8_
MonitorElement * meNdigiZpDisk2PerPanel2_
MonitorElement * meAdcLayer3Ring5_
MonitorElement * meColZmDisk2Panel2Plaq1_
MonitorElement * meColZpDisk2Panel2Plaq2_
MonitorElement * meAdcLayer1Ring2_
MonitorElement * meRowZmDisk1Panel2Plaq2_
MonitorElement * meRowLayer2Ring5_
MonitorElement * meAdcZpDisk2Panel1Plaq4_
MonitorElement * meColZmDisk2Panel1Plaq1_
MonitorElement * meColZpDisk1Panel2Plaq1_
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 * meDigiMultiLayer3Ring1_
MonitorElement * meAdcZpDisk1Panel2Plaq3_
MonitorElement * meColLayer1Ring5_
MonitorElement * meRowZpDisk2Panel2Plaq1_
MonitorElement * meRowLayer2Ring7_
MonitorElement * meRowZpDisk2Panel1Plaq2_
dqm::legacy::DQMStore * dbe_
MonitorElement * meAdcZpDisk1Panel1Plaq2_
MonitorElement * meAdcZmDisk1Panel1Plaq4_
MonitorElement * meAdcZmDisk2Panel2Plaq2_
MonitorElement * meDigiMultiLayer3Ring5_
MonitorElement * meAdcLayer3Ring3_
MonitorElement * meAdcZpDisk1Panel2Plaq2_
void bookHistograms(DQMStore::IBooker &ibooker, const edm::Run &run, const edm::EventSetup &es) override
MonitorElement * meRowZpDisk2Panel1Plaq1_
MonitorElement * meColLayer3Ring6_
MonitorElement * meColZpDisk1Panel2Plaq2_
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum)
MonitorElement * meColLayer2Ring2_
MonitorElement * meRowZmDisk2Panel1Plaq1_
MonitorElement * meColLayer1Ring7_
MonitorElement * meAdcLayer2Ring2_
MonitorElement * meColZmDisk2Panel1Plaq2_
MonitorElement * meColZmDisk2Panel1Plaq4_
MonitorElement * meDigiMultiLayer1Ring8_
MonitorElement * meRowZpDisk2Panel2Plaq2_
MonitorElement * meAdcZpDisk1Panel1Plaq4_
MonitorElement * meRowLayer2Ring2_
MonitorElement * meAdcLayer3Ring8_
MonitorElement * meColLayer1Ring1_
MonitorElement * meAdcLayer2Ring1_
MonitorElement * meDigiMultiLayer3Ladders_
edm::EDGetTokenT< edm::DetSetVector< PixelDigi > > edmDetSetVector_PixelDigi_Token_
MonitorElement * meColLayer3Ring7_
std::vector< ForwardDetLayer const * > const & posPixelForwardLayers() const
MonitorElement * meRowLayer1Ring3_
MonitorElement * meRowZpDisk1Panel1Plaq3_
MonitorElement * meDigiMultiLayer2Ring3_
MonitorElement * meColZmDisk1Panel2Plaq1_
collection_type::const_iterator const_iterator
MonitorElement * meNdigiZmDisk1PerPanel2_
MonitorElement * meDigiMultiLayer2Ring1_
MonitorElement * meAdcZpDisk1Panel1Plaq3_
MonitorElement * meColZpDisk2Panel1Plaq3_
MonitorElement * meColLayer3Ring4_
MonitorElement * meDigiMultiLayer2Ladders_
MonitorElement * meAdcLayer1Ring1_
MonitorElement * meRowLayer2Ring8_
MonitorElement * meDigiMultiLayer1Ring2_
MonitorElement * meRowZpDisk1Panel1Plaq2_
MonitorElement * meRowZmDisk1Panel1Plaq4_
unsigned int pxfModule(const DetId &id) const
unsigned int pxfDisk(const DetId &id) const
MonitorElement * meRowLayer2Ring6_
MonitorElement * meDigiMultiLayer3Ring6_
~SiPixelDigiValid() override
MonitorElement * meColLayer2Ring7_
MonitorElement * meRowZpDisk1Panel2Plaq3_
MonitorElement * meRowLayer3Ring3_
MonitorElement * meColZmDisk1Panel2Plaq2_
MonitorElement * meRowZpDisk1Panel1Plaq4_
MonitorElement * meAdcLayer1Ring6_
MonitorElement * meDigiMultiLayer3Ring8_
MonitorElement * meColLayer2Ring1_
MonitorElement * meColZmDisk1Panel1Plaq4_
MonitorElement * meDigiMultiLayer3Ring4_
MonitorElement * meAdcZmDisk1Panel2Plaq1_
SiPixelDigiValid(const edm::ParameterSet &ps)
MonitorElement * meDigiMultiLayer1Ring5_
MonitorElement * meNdigiZmDisk1PerPanel1_
MonitorElement * meRowZmDisk2Panel1Plaq4_
MonitorElement * meRowZmDisk1Panel1Plaq1_
MonitorElement * meColZpDisk1Panel1Plaq1_
MonitorElement * meRowLayer2Ring3_
MonitorElement * meAdcZmDisk2Panel1Plaq1_
MonitorElement * meRowZmDisk2Panel1Plaq2_
MonitorElement * meDigiMultiLayer2Ring7_
MonitorElement * meRowLayer1Ring1_
edm::ESHandle< GeometricSearchTracker > tracker
MonitorElement * meAdcZmDisk1Panel2Plaq3_
MonitorElement * meAdcLayer3Ring6_
MonitorElement * meDigiMultiLayer2Ring6_
MonitorElement * meDigiMultiLayer2Ring8_
MonitorElement * meAdcLayer3Ring7_
MonitorElement * meDigiMultiLayer1Ladders_
MonitorElement * meAdcLayer2Ring3_
MonitorElement * meAdcZpDisk2Panel1Plaq3_
MonitorElement * meRowZpDisk1Panel2Plaq2_
MonitorElement * meColZmDisk2Panel2Plaq2_
MonitorElement * meColLayer3Ring5_
unsigned int pxbModule(const DetId &id) const
MonitorElement * meRowLayer1Ring7_
MonitorElement * meAdcZmDisk2Panel1Plaq4_
MonitorElement * meColLayer3Ring1_
MonitorElement * meRowZmDisk1Panel2Plaq3_
void analyze(const edm::Event &e, const edm::EventSetup &c) override
MonitorElement * meAdcZmDisk1Panel1Plaq2_
MonitorElement * meAdcZmDisk1Panel1Plaq3_
MonitorElement * meDigiMultiLayer2Ring2_
MonitorElement * meRowZpDisk2Panel1Plaq4_
MonitorElement * meColLayer3Ring3_
MonitorElement * meRowLayer3Ring7_
MonitorElement * meAdcLayer3Ring2_
MonitorElement * meAdcZpDisk2Panel2Plaq1_
MonitorElement * meRowLayer3Ring8_
MonitorElement * meRowZmDisk2Panel2Plaq1_
MonitorElement * meColLayer2Ring8_
MonitorElement * meRowLayer2Ring1_
unsigned int pxfBlade(const DetId &id) const
MonitorElement * meColLayer1Ring6_
MonitorElement * meDigiMultiLayer1Ring3_
MonitorElement * meAdcZmDisk2Panel1Plaq2_
MonitorElement * meAdcZpDisk2Panel1Plaq1_
MonitorElement * meRowLayer1Ring4_
MonitorElement * meDigiMultiLayer1Ring1_
MonitorElement * meAdcLayer1Ring5_
MonitorElement * meRowLayer1Ring5_
MonitorElement * meColLayer1Ring2_
MonitorElement * meRowZmDisk1Panel1Plaq2_
MonitorElement * meAdcLayer2Ring7_
MonitorElement * meRowZmDisk1Panel1Plaq3_
MonitorElement * meDigiMultiLayer1Ring7_
MonitorElement * meAdcZmDisk1Panel1Plaq1_
MonitorElement * meColLayer3Ring8_
MonitorElement * meColZmDisk1Panel1Plaq3_
MonitorElement * meRowZmDisk2Panel2Plaq2_
MonitorElement * meAdcZpDisk2Panel2Plaq3_
MonitorElement * meDigiMultiLayer3Ring3_
MonitorElement * meRowLayer3Ring1_
MonitorElement * meRowLayer3Ring2_
MonitorElement * meColZmDisk2Panel2Plaq3_
MonitorElement * meAdcLayer1Ring4_
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
MonitorElement * meRowLayer3Ring4_
std::vector< BarrelDetLayer const * > const & pixelBarrelLayers() const
collection_type::const_iterator const_iterator
MonitorElement * meColZpDisk1Panel1Plaq2_