@@ -62,9 +62,9 @@ void PrimaryVertexMonitor::bookHistograms(DQMStore::IBooker& iBooker, edm::Run c
6262 iBooker.setCurrentFolder (dqmLabel);
6363
6464 // xPos = iBooker.book1D ("xPos","x Coordinate" ,100, -0.1, 0.1);
65-
66- nbvtx = iBooker.book1D (" vtxNbr" , " Reconstructed Vertices in Event" , 80 , -0.5 , 79 .5 );
67- nbgvtx = iBooker.book1D (" goodvtxNbr" , " Reconstructed Good Vertices in Event" , 80 , -0.5 , 79 .5 );
65+ auto maxPU = conf_. getParameter < double >( " PUMax " );
66+ nbvtx = iBooker.book1D (" vtxNbr" , " Reconstructed Vertices in Event" , maxPU , -0.5 , maxPU - 0 .5 );
67+ nbgvtx = iBooker.book1D (" goodvtxNbr" , " Reconstructed Good Vertices in Event" , maxPU , -0.5 , maxPU - 0 .5 );
6868
6969 // to be configured each year...
7070 auto vposx = conf_.getParameter <double >(" Xpos" );
@@ -144,8 +144,8 @@ void PrimaryVertexMonitor::bookHistograms(DQMStore::IBooker& iBooker, edm::Run c
144144 bsSigmaZ = iBooker.book1D (" bsSigmaZ" , " BeamSpot sigmaZ" , 100 , 0 ., 10 .);
145145 bsDxdz = iBooker.book1D (" bsDxdz" , " BeamSpot dxdz" , 100 , -0.0003 , 0.0003 );
146146 bsDydz = iBooker.book1D (" bsDydz" , " BeamSpot dydz" , 100 , -0.0003 , 0.0003 );
147- bsBeamWidthX = iBooker.book1D (" bsBeamWidthX" , " BeamSpot BeamWidthX" , 100 , 0 ., 100 .);
148- bsBeamWidthY = iBooker.book1D (" bsBeamWidthY" , " BeamSpot BeamWidthY" , 100 , 0 ., 100 .);
147+ bsBeamWidthX = iBooker.book1D (" bsBeamWidthX" , " BeamSpot BeamWidthX" , 500 , 0 ., 15 .);
148+ bsBeamWidthY = iBooker.book1D (" bsBeamWidthY" , " BeamSpot BeamWidthY" , 500 , 0 ., 15 .);
149149 bsType = iBooker.book1D (" bsType" , " BeamSpot type" , 4 , -1.5 , 2.5 );
150150 bsType->setBinLabel (1 , " Unknown" );
151151 bsType->setBinLabel (2 , " Fake" );
0 commit comments