CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
BSvsPVHistogramMaker Class Reference

#include <BSvsPVHistogramMaker.h>

Public Member Functions

void beginRun (const unsigned int nrun)
 
void book (const std::string dirname="")
 
 BSvsPVHistogramMaker (const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC)
 
 BSvsPVHistogramMaker (edm::ConsumesCollector &&iC)
 
void fill (const edm::Event &iEvent, const reco::VertexCollection &vertices, const reco::BeamSpot &bs)
 
void fill (const unsigned int orbit, const int bx, const reco::VertexCollection &vertices, const reco::BeamSpot &bs)
 
double x (const reco::BeamSpot &bs, const double z) const
 
double y (const reco::BeamSpot &bs, const double z) const
 
 ~BSvsPVHistogramMaker ()
 

Private Attributes

TFileDirectory_currdir
 
TH1F * _hdeltax
 
TH1F ** _hdeltaxrun
 
TH2F ** _hdeltaxvsbx2drun
 
TProfile ** _hdeltaxvsbxrun
 
TProfile ** _hdeltaxvsorbrun
 
TProfile * _hdeltaxvsz
 
TProfile ** _hdeltaxvszrun
 
TH1F * _hdeltay
 
TH1F ** _hdeltayrun
 
TH2F ** _hdeltayvsbx2drun
 
TProfile ** _hdeltayvsbxrun
 
TProfile ** _hdeltayvsorbrun
 
TProfile * _hdeltayvsz
 
TProfile ** _hdeltayvszrun
 
TH1F * _hdeltaz
 
TH1F ** _hdeltazrun
 
TH2F ** _hdeltazvsbx2drun
 
TProfile ** _hdeltazvsbxrun
 
TProfile ** _hdeltazvsorbrun
 
const edm::ParameterSet _histoParameters
 
RunHistogramManager _rhm
 
const bool _runHisto
 
const bool _runHistoBX2D
 
const bool _runHistoBXProfile
 
const bool _runHistoProfile
 
const bool _trueOnly
 
const unsigned int m_maxLS
 
const bool useSlope_
 

Detailed Description

Definition at line 24 of file BSvsPVHistogramMaker.h.

Constructor & Destructor Documentation

◆ BSvsPVHistogramMaker() [1/2]

BSvsPVHistogramMaker::BSvsPVHistogramMaker ( edm::ConsumesCollector &&  iC)

Definition at line 13 of file BSvsPVHistogramMaker.cc.

14  : _currdir(nullptr),
15  m_maxLS(100),
16  useSlope_(true),
17  _trueOnly(true),
18  _runHisto(true),
19  _runHistoProfile(true),
20  _runHistoBXProfile(true),
21  _runHistoBX2D(false),
23  _rhm(iC) {}

◆ BSvsPVHistogramMaker() [2/2]

BSvsPVHistogramMaker::BSvsPVHistogramMaker ( const edm::ParameterSet iConfig,
edm::ConsumesCollector &&  iC 
)

Definition at line 25 of file BSvsPVHistogramMaker.cc.

26  : _currdir(nullptr),
27  m_maxLS(iConfig.getParameter<unsigned int>("maxLSBeforeRebin")),
28  useSlope_(iConfig.getParameter<bool>("useSlope")),
29  _trueOnly(iConfig.getUntrackedParameter<bool>("trueOnly", true)),
30  _runHisto(iConfig.getUntrackedParameter<bool>("runHisto", true)),
31  _runHistoProfile(iConfig.getUntrackedParameter<bool>("runHistoProfile", true)),
32  _runHistoBXProfile(iConfig.getUntrackedParameter<bool>("runHistoBXProfile", true)),
33  _runHistoBX2D(iConfig.getUntrackedParameter<bool>("runHistoBX2D", false)),
35  _rhm(iC) {}

◆ ~BSvsPVHistogramMaker()

BSvsPVHistogramMaker::~BSvsPVHistogramMaker ( )

Definition at line 37 of file BSvsPVHistogramMaker.cc.

37 { delete _currdir; }

References _currdir.

Member Function Documentation

◆ beginRun()

void BSvsPVHistogramMaker::beginRun ( const unsigned int  nrun)

Definition at line 163 of file BSvsPVHistogramMaker.cc.

163  {
164  char runname[100];
165  sprintf(runname, "run_%d", nrun);
166 
167  TFileDirectory* currdir = _currdir;
168  if (currdir == nullptr) {
170  currdir = &(tfserv->tFileDirectory());
171  }
172 
173  _rhm.beginRun(nrun, *currdir);
174 
175  if (_runHisto) {
176  (*_hdeltaxrun)->GetXaxis()->SetTitle("#Delta(X) [cm]");
177  (*_hdeltaxrun)->GetYaxis()->SetTitle("Vertices");
178  (*_hdeltayrun)->GetXaxis()->SetTitle("#Delta(Y) [cm]");
179  (*_hdeltayrun)->GetYaxis()->SetTitle("Vertices");
180  (*_hdeltazrun)->GetXaxis()->SetTitle("#Delta(Z) [cm]");
181  (*_hdeltazrun)->GetYaxis()->SetTitle("Vertices");
182  (*_hdeltaxvszrun)->GetXaxis()->SetTitle("Z [cm]");
183  (*_hdeltaxvszrun)->GetYaxis()->SetTitle("#Delta(X) [cm]");
184  (*_hdeltayvszrun)->GetXaxis()->SetTitle("Z [cm]");
185  (*_hdeltayvszrun)->GetYaxis()->SetTitle("#Delta(Y) [cm]");
186 
187  if (_runHistoProfile) {
188  (*_hdeltaxvsorbrun)->GetXaxis()->SetTitle("time [orbit#]");
189  (*_hdeltaxvsorbrun)->GetYaxis()->SetTitle("#Delta(X) [cm]");
190  (*_hdeltaxvsorbrun)->SetCanExtend(TH1::kAllAxes);
191  (*_hdeltayvsorbrun)->GetXaxis()->SetTitle("time [orbit#]");
192  (*_hdeltayvsorbrun)->GetYaxis()->SetTitle("#Delta(Y) [cm]");
193  (*_hdeltayvsorbrun)->SetCanExtend(TH1::kAllAxes);
194  (*_hdeltazvsorbrun)->GetXaxis()->SetTitle("time [orbit#]");
195  (*_hdeltazvsorbrun)->GetYaxis()->SetTitle("#Delta(Z) [cm]");
196  (*_hdeltazvsorbrun)->SetCanExtend(TH1::kAllAxes);
197  }
198  if (_runHistoBXProfile) {
199  (*_hdeltaxvsbxrun)->GetXaxis()->SetTitle("BX");
200  (*_hdeltaxvsbxrun)->GetYaxis()->SetTitle("#Delta(X) [cm]");
201  (*_hdeltayvsbxrun)->GetXaxis()->SetTitle("BX");
202  (*_hdeltayvsbxrun)->GetYaxis()->SetTitle("#Delta(Y) [cm]");
203  (*_hdeltazvsbxrun)->GetXaxis()->SetTitle("BX");
204  (*_hdeltazvsbxrun)->GetYaxis()->SetTitle("#Delta(Z) [cm]");
205  if (_runHistoBX2D) {
206  (*_hdeltaxvsbx2drun)->GetXaxis()->SetTitle("BX");
207  (*_hdeltaxvsbx2drun)->GetYaxis()->SetTitle("#Delta(X) [cm]");
208  (*_hdeltayvsbx2drun)->GetXaxis()->SetTitle("BX");
209  (*_hdeltayvsbx2drun)->GetYaxis()->SetTitle("#Delta(Y) [cm]");
210  (*_hdeltazvsbx2drun)->GetXaxis()->SetTitle("BX");
211  (*_hdeltazvsbx2drun)->GetYaxis()->SetTitle("#Delta(Z) [cm]");
212  }
213  }
214  }
215 }

References _currdir, _rhm, _runHisto, _runHistoBX2D, _runHistoBXProfile, _runHistoProfile, RunHistogramManager::beginRun(), and TFileService::tFileDirectory().

Referenced by BSvsPVAnalyzer::beginRun().

◆ book()

void BSvsPVHistogramMaker::book ( const std::string  dirname = "")

Definition at line 39 of file BSvsPVHistogramMaker.cc.

39  {
41  TFileDirectory* currdir = &(tfserv->tFileDirectory());
42 
43  if (!dirname.empty()) {
44  currdir = new TFileDirectory(tfserv->mkdir(dirname));
45  _currdir = currdir;
46  }
47 
48  edm::LogInfo("HistogramBooking") << "Vertex histogram booking in directory " << dirname;
49 
50  _hdeltax = currdir->make<TH1F>("deltax",
51  "(PV-BS) X position",
52  _histoParameters.getUntrackedParameter<unsigned int>("nBinX", 200),
53  _histoParameters.getUntrackedParameter<double>("xMin", -1.),
54  _histoParameters.getUntrackedParameter<double>("xMax", 1.));
55  _hdeltax->GetXaxis()->SetTitle("#Delta(X) [cm]");
56  _hdeltax->GetYaxis()->SetTitle("Vertices");
57 
58  _hdeltay = currdir->make<TH1F>("deltay",
59  "(PV-BS) Y position",
60  _histoParameters.getUntrackedParameter<unsigned int>("nBinY", 200),
61  _histoParameters.getUntrackedParameter<double>("yMin", -1.),
62  _histoParameters.getUntrackedParameter<double>("yMax", 1.));
63  _hdeltay->GetXaxis()->SetTitle("#Delta(Y) [cm]");
64  _hdeltay->GetYaxis()->SetTitle("Vertices");
65 
66  _hdeltaz = currdir->make<TH1F>("deltaz",
67  "(PV-BS) Z position",
68  _histoParameters.getUntrackedParameter<unsigned int>("nBinZ", 200),
69  _histoParameters.getUntrackedParameter<double>("zMin", -20.),
70  _histoParameters.getUntrackedParameter<double>("zMax", 20.));
71  _hdeltaz->GetXaxis()->SetTitle("#Delta(Z) [cm]");
72  _hdeltaz->GetYaxis()->SetTitle("Vertices");
73 
74  _hdeltaxvsz = currdir->make<TProfile>("deltaxvsz",
75  "(PV-BS) X position vs Z",
76  _histoParameters.getUntrackedParameter<unsigned int>("nBinZProfile", 40),
77  _histoParameters.getUntrackedParameter<double>("zMinProfile", -20.),
78  _histoParameters.getUntrackedParameter<double>("zMaxProfile", 20.));
79  _hdeltaxvsz->GetXaxis()->SetTitle("Z [cm]");
80  _hdeltaxvsz->GetYaxis()->SetTitle("#Delta(X) [cm]");
81 
82  _hdeltayvsz = currdir->make<TProfile>("deltayvsz",
83  "(PV-BS) Y position vs Z",
84  _histoParameters.getUntrackedParameter<unsigned int>("nBinZProfile", 40),
85  _histoParameters.getUntrackedParameter<double>("zMinProfile", -20.),
86  _histoParameters.getUntrackedParameter<double>("zMaxProfile", 20.));
87  _hdeltayvsz->GetXaxis()->SetTitle("Z [cm]");
88  _hdeltayvsz->GetYaxis()->SetTitle("#Delta(Y) [cm]");
89 
90  if (_runHisto) {
91  _hdeltaxrun = _rhm.makeTH1F("deltaxrun",
92  "(PV-BS) X position",
93  _histoParameters.getUntrackedParameter<unsigned int>("nBinX", 200),
94  _histoParameters.getUntrackedParameter<double>("xMin", -1.),
95  _histoParameters.getUntrackedParameter<double>("xMax", 1.));
96 
97  _hdeltayrun = _rhm.makeTH1F("deltayrun",
98  "(PV-BS) Y position",
99  _histoParameters.getUntrackedParameter<unsigned int>("nBinY", 200),
100  _histoParameters.getUntrackedParameter<double>("yMin", -1.),
101  _histoParameters.getUntrackedParameter<double>("yMax", 1.));
102 
103  _hdeltazrun = _rhm.makeTH1F("deltazrun",
104  "(PV-BS) Z position",
105  _histoParameters.getUntrackedParameter<unsigned int>("nBinZ", 200),
106  _histoParameters.getUntrackedParameter<double>("zMin", -20.),
107  _histoParameters.getUntrackedParameter<double>("zMax", 20.));
108 
109  _hdeltaxvszrun = _rhm.makeTProfile("deltaxvszrun",
110  "(PV-BS) X position vs Z",
111  _histoParameters.getUntrackedParameter<unsigned int>("nBinZProfile", 40),
112  _histoParameters.getUntrackedParameter<double>("zMinProfile", -20.),
113  _histoParameters.getUntrackedParameter<double>("zMaxProfile", 20.));
114 
115  _hdeltayvszrun = _rhm.makeTProfile("deltayvszrun",
116  "(PV-BS) Y position vs Z",
117  _histoParameters.getUntrackedParameter<unsigned int>("nBinZProfile", 40),
118  _histoParameters.getUntrackedParameter<double>("zMinProfile", -20.),
119  _histoParameters.getUntrackedParameter<double>("zMaxProfile", 20.));
120 
121  if (_runHistoProfile) {
123  "deltaxvsorbrun", "(PV-BS) X position vs orbit number", 4 * m_maxLS, 0.5, m_maxLS * 262144 + 0.5);
125  "deltayvsorbrun", "(PV-BS) Y position vs orbit number", 4 * m_maxLS, 0.5, m_maxLS * 262144 + 0.5);
127  "deltazvsorbrun", "(PV-BS) Z position vs orbit number", 4 * m_maxLS, 0.5, m_maxLS * 262144 + 0.5);
128  }
129  if (_runHistoBXProfile) {
130  _hdeltaxvsbxrun = _rhm.makeTProfile("deltaxvsbxrun", "(PV-BS) X position vs BX number", 3564, -0.5, 3563.5);
131  _hdeltayvsbxrun = _rhm.makeTProfile("deltayvsbxrun", "(PV-BS) Y position vs BX number", 3564, -0.5, 3563.5);
132  _hdeltazvsbxrun = _rhm.makeTProfile("deltazvsbxrun", "(PV-BS) Z position vs BX number", 3564, -0.5, 3563.5);
133  if (_runHistoBX2D) {
134  _hdeltaxvsbx2drun = _rhm.makeTH2F("deltaxvsbx2drun",
135  "(PV-BS) X position vs BX number",
136  3564,
137  -0.5,
138  3563.5,
139  _histoParameters.getUntrackedParameter<unsigned int>("nBinX", 200),
140  _histoParameters.getUntrackedParameter<double>("xMin", -1.),
141  _histoParameters.getUntrackedParameter<double>("xMax", 1.));
142  _hdeltayvsbx2drun = _rhm.makeTH2F("deltayvsbx2drun",
143  "(PV-BS) Y position vs BX number",
144  3564,
145  -0.5,
146  3563.5,
147  _histoParameters.getUntrackedParameter<unsigned int>("nBinY", 200),
148  _histoParameters.getUntrackedParameter<double>("yMin", -1.),
149  _histoParameters.getUntrackedParameter<double>("yMax", 1.));
150  _hdeltazvsbx2drun = _rhm.makeTH2F("deltazvsbx2drun",
151  "(PV-BS) Z position vs BX number",
152  3564,
153  -0.5,
154  3563.5,
155  _histoParameters.getUntrackedParameter<unsigned int>("nBinZ", 200),
156  _histoParameters.getUntrackedParameter<double>("zMin", -20.),
157  _histoParameters.getUntrackedParameter<double>("zMax", 20.));
158  }
159  }
160  }
161 }

References _currdir, _hdeltax, _hdeltaxrun, _hdeltaxvsbx2drun, _hdeltaxvsbxrun, _hdeltaxvsorbrun, _hdeltaxvsz, _hdeltaxvszrun, _hdeltay, _hdeltayrun, _hdeltayvsbx2drun, _hdeltayvsbxrun, _hdeltayvsorbrun, _hdeltayvsz, _hdeltayvszrun, _hdeltaz, _hdeltazrun, _hdeltazvsbx2drun, _hdeltazvsbxrun, _hdeltazvsorbrun, _histoParameters, _rhm, _runHisto, _runHistoBX2D, _runHistoBXProfile, _runHistoProfile, BTVHLTOfflineSource_cfi::dirname, edm::ParameterSet::getUntrackedParameter(), m_maxLS, TFileDirectory::make(), RunHistogramManager::makeTH1F(), RunHistogramManager::makeTH2F(), RunHistogramManager::makeTProfile(), TFileService::mkdir(), and TFileService::tFileDirectory().

Referenced by BSvsPVAnalyzer::BSvsPVAnalyzer().

◆ fill() [1/2]

void BSvsPVHistogramMaker::fill ( const edm::Event iEvent,
const reco::VertexCollection vertices,
const reco::BeamSpot bs 
)

Definition at line 278 of file BSvsPVHistogramMaker.cc.

280  {
281  fill(iEvent.orbitNumber(), iEvent.bunchCrossing(), vertices, bs);
282 }

References cms::cuda::bs, fill(), iEvent, and AlignmentTracksFromVertexSelector_cfi::vertices.

◆ fill() [2/2]

void BSvsPVHistogramMaker::fill ( const unsigned int  orbit,
const int  bx,
const reco::VertexCollection vertices,
const reco::BeamSpot bs 
)

Definition at line 217 of file BSvsPVHistogramMaker.cc.

220  {
221  for (reco::VertexCollection::const_iterator vtx = vertices.begin(); vtx != vertices.end(); ++vtx) {
222  if (!(_trueOnly && vtx->isFake())) {
223  /*
224  double deltax = vtx->x()-bs.x0();
225  double deltay = vtx->y()-bs.y0();
226  double deltaz = vtx->z()-bs.z0();
227  */
228  double deltax = vtx->x() - x(bs, vtx->z());
229  double deltay = vtx->y() - y(bs, vtx->z());
230  double deltaz = vtx->z() - bs.z0();
231 
232  _hdeltax->Fill(deltax);
233  _hdeltay->Fill(deltay);
234  _hdeltaz->Fill(deltaz);
235  _hdeltaxvsz->Fill(vtx->z(), deltax);
236  _hdeltayvsz->Fill(vtx->z(), deltay);
237 
238  if (_runHisto) {
239  if (_hdeltaxrun && *_hdeltaxrun)
240  (*_hdeltaxrun)->Fill(deltax);
241  if (_hdeltayrun && *_hdeltayrun)
242  (*_hdeltayrun)->Fill(deltay);
243  if (_hdeltazrun && *_hdeltazrun)
244  (*_hdeltazrun)->Fill(deltaz);
246  (*_hdeltaxvszrun)->Fill(vtx->z(), deltax);
248  (*_hdeltayvszrun)->Fill(vtx->z(), deltay);
249  if (_runHistoProfile) {
251  (*_hdeltaxvsorbrun)->Fill(orbit, deltax);
253  (*_hdeltayvsorbrun)->Fill(orbit, deltay);
255  (*_hdeltazvsorbrun)->Fill(orbit, deltaz);
256  }
257  if (_runHistoBXProfile) {
259  (*_hdeltaxvsbxrun)->Fill(bx % 3564, deltax);
261  (*_hdeltayvsbxrun)->Fill(bx % 3564, deltay);
263  (*_hdeltazvsbxrun)->Fill(bx % 3564, deltaz);
264  if (_runHistoBX2D) {
266  (*_hdeltaxvsbx2drun)->Fill(bx % 3564, deltax);
268  (*_hdeltayvsbx2drun)->Fill(bx % 3564, deltay);
270  (*_hdeltazvsbx2drun)->Fill(bx % 3564, deltaz);
271  }
272  }
273  }
274  }
275  }
276 }

References _hdeltax, _hdeltaxrun, _hdeltaxvsbx2drun, _hdeltaxvsbxrun, _hdeltaxvsorbrun, _hdeltaxvsz, _hdeltaxvszrun, _hdeltay, _hdeltayrun, _hdeltayvsbx2drun, _hdeltayvsbxrun, _hdeltayvsorbrun, _hdeltayvsz, _hdeltayvszrun, _hdeltaz, _hdeltazrun, _hdeltazvsbx2drun, _hdeltazvsbxrun, _hdeltazvsorbrun, _runHisto, _runHistoBX2D, _runHistoBXProfile, _runHistoProfile, _trueOnly, cms::cuda::bs, l1GtPatternGenerator_cfi::bx, AlignmentTracksFromVertexSelector_cfi::vertices, extraflags_cff::vtx, x(), and y().

Referenced by BSvsPVAnalyzer::analyze(), and fill().

◆ x()

double BSvsPVHistogramMaker::x ( const reco::BeamSpot bs,
const double  z 
) const

Definition at line 284 of file BSvsPVHistogramMaker.cc.

284  {
285  double x = bs.x0();
286 
287  // if(useSlope_) x += bs.dxdz()*z;
288  if (useSlope_)
289  x += bs.dxdz() * (z - bs.z0());
290 
291  // if(useSlope_) x = bs.x(z);
292 
293  return x;
294 }

References cms::cuda::bs, useSlope_, and z.

Referenced by svgfig.Curve.Sample::__repr__(), svgfig.Ellipse::__repr__(), fill(), geometryXMLparser.Alignable::pos(), ntupleDataFormat._HitObject::r(), and ntupleDataFormat._HitObject::r3D().

◆ y()

double BSvsPVHistogramMaker::y ( const reco::BeamSpot bs,
const double  z 
) const

Definition at line 296 of file BSvsPVHistogramMaker.cc.

296  {
297  double y = bs.y0();
298 
299  // if(useSlope_) y += bs.dydz()*z;
300  if (useSlope_)
301  y += bs.dydz() * (z - bs.z0());
302 
303  // if(useSlope_) y = bs.y(z);
304 
305  return y;
306 }

References cms::cuda::bs, useSlope_, and z.

Referenced by svgfig.Ellipse::__repr__(), fill(), geometryXMLparser.Alignable::pos(), ntupleDataFormat._HitObject::r(), and ntupleDataFormat._HitObject::r3D().

Member Data Documentation

◆ _currdir

TFileDirectory* BSvsPVHistogramMaker::_currdir
private

Definition at line 40 of file BSvsPVHistogramMaker.h.

Referenced by beginRun(), book(), and ~BSvsPVHistogramMaker().

◆ _hdeltax

TH1F* BSvsPVHistogramMaker::_hdeltax
private

Definition at line 51 of file BSvsPVHistogramMaker.h.

Referenced by book(), and fill().

◆ _hdeltaxrun

TH1F** BSvsPVHistogramMaker::_hdeltaxrun
private

Definition at line 56 of file BSvsPVHistogramMaker.h.

Referenced by book(), and fill().

◆ _hdeltaxvsbx2drun

TH2F** BSvsPVHistogramMaker::_hdeltaxvsbx2drun
private

Definition at line 69 of file BSvsPVHistogramMaker.h.

Referenced by book(), and fill().

◆ _hdeltaxvsbxrun

TProfile** BSvsPVHistogramMaker::_hdeltaxvsbxrun
private

Definition at line 65 of file BSvsPVHistogramMaker.h.

Referenced by book(), and fill().

◆ _hdeltaxvsorbrun

TProfile** BSvsPVHistogramMaker::_hdeltaxvsorbrun
private

Definition at line 61 of file BSvsPVHistogramMaker.h.

Referenced by book(), and fill().

◆ _hdeltaxvsz

TProfile* BSvsPVHistogramMaker::_hdeltaxvsz
private

Definition at line 54 of file BSvsPVHistogramMaker.h.

Referenced by book(), and fill().

◆ _hdeltaxvszrun

TProfile** BSvsPVHistogramMaker::_hdeltaxvszrun
private

Definition at line 59 of file BSvsPVHistogramMaker.h.

Referenced by book(), and fill().

◆ _hdeltay

TH1F* BSvsPVHistogramMaker::_hdeltay
private

Definition at line 52 of file BSvsPVHistogramMaker.h.

Referenced by book(), and fill().

◆ _hdeltayrun

TH1F** BSvsPVHistogramMaker::_hdeltayrun
private

Definition at line 57 of file BSvsPVHistogramMaker.h.

Referenced by book(), and fill().

◆ _hdeltayvsbx2drun

TH2F** BSvsPVHistogramMaker::_hdeltayvsbx2drun
private

Definition at line 70 of file BSvsPVHistogramMaker.h.

Referenced by book(), and fill().

◆ _hdeltayvsbxrun

TProfile** BSvsPVHistogramMaker::_hdeltayvsbxrun
private

Definition at line 66 of file BSvsPVHistogramMaker.h.

Referenced by book(), and fill().

◆ _hdeltayvsorbrun

TProfile** BSvsPVHistogramMaker::_hdeltayvsorbrun
private

Definition at line 62 of file BSvsPVHistogramMaker.h.

Referenced by book(), and fill().

◆ _hdeltayvsz

TProfile* BSvsPVHistogramMaker::_hdeltayvsz
private

Definition at line 55 of file BSvsPVHistogramMaker.h.

Referenced by book(), and fill().

◆ _hdeltayvszrun

TProfile** BSvsPVHistogramMaker::_hdeltayvszrun
private

Definition at line 60 of file BSvsPVHistogramMaker.h.

Referenced by book(), and fill().

◆ _hdeltaz

TH1F* BSvsPVHistogramMaker::_hdeltaz
private

Definition at line 53 of file BSvsPVHistogramMaker.h.

Referenced by book(), and fill().

◆ _hdeltazrun

TH1F** BSvsPVHistogramMaker::_hdeltazrun
private

Definition at line 58 of file BSvsPVHistogramMaker.h.

Referenced by book(), and fill().

◆ _hdeltazvsbx2drun

TH2F** BSvsPVHistogramMaker::_hdeltazvsbx2drun
private

Definition at line 71 of file BSvsPVHistogramMaker.h.

Referenced by book(), and fill().

◆ _hdeltazvsbxrun

TProfile** BSvsPVHistogramMaker::_hdeltazvsbxrun
private

Definition at line 67 of file BSvsPVHistogramMaker.h.

Referenced by book(), and fill().

◆ _hdeltazvsorbrun

TProfile** BSvsPVHistogramMaker::_hdeltazvsorbrun
private

Definition at line 63 of file BSvsPVHistogramMaker.h.

Referenced by book(), and fill().

◆ _histoParameters

const edm::ParameterSet BSvsPVHistogramMaker::_histoParameters
private

Definition at line 48 of file BSvsPVHistogramMaker.h.

Referenced by book().

◆ _rhm

RunHistogramManager BSvsPVHistogramMaker::_rhm
private

Definition at line 50 of file BSvsPVHistogramMaker.h.

Referenced by beginRun(), and book().

◆ _runHisto

const bool BSvsPVHistogramMaker::_runHisto
private

Definition at line 44 of file BSvsPVHistogramMaker.h.

Referenced by beginRun(), book(), and fill().

◆ _runHistoBX2D

const bool BSvsPVHistogramMaker::_runHistoBX2D
private

Definition at line 47 of file BSvsPVHistogramMaker.h.

Referenced by beginRun(), book(), and fill().

◆ _runHistoBXProfile

const bool BSvsPVHistogramMaker::_runHistoBXProfile
private

Definition at line 46 of file BSvsPVHistogramMaker.h.

Referenced by beginRun(), book(), and fill().

◆ _runHistoProfile

const bool BSvsPVHistogramMaker::_runHistoProfile
private

Definition at line 45 of file BSvsPVHistogramMaker.h.

Referenced by beginRun(), book(), and fill().

◆ _trueOnly

const bool BSvsPVHistogramMaker::_trueOnly
private

Definition at line 43 of file BSvsPVHistogramMaker.h.

Referenced by fill().

◆ m_maxLS

const unsigned int BSvsPVHistogramMaker::m_maxLS
private

Definition at line 41 of file BSvsPVHistogramMaker.h.

Referenced by book().

◆ useSlope_

const bool BSvsPVHistogramMaker::useSlope_
private

Definition at line 42 of file BSvsPVHistogramMaker.h.

Referenced by x(), and y().

BSvsPVHistogramMaker::_hdeltaz
TH1F * _hdeltaz
Definition: BSvsPVHistogramMaker.h:53
BSvsPVHistogramMaker::_hdeltayvsbxrun
TProfile ** _hdeltayvsbxrun
Definition: BSvsPVHistogramMaker.h:66
BSvsPVHistogramMaker::_rhm
RunHistogramManager _rhm
Definition: BSvsPVHistogramMaker.h:50
BSvsPVHistogramMaker::_runHistoBX2D
const bool _runHistoBX2D
Definition: BSvsPVHistogramMaker.h:47
RunHistogramManager::makeTH2F
TH2F ** makeTH2F(const char *name, const char *title, const unsigned int nbinx, const double xmin, const double xmax, const unsigned int nbiny, const double ymin, const double ymax)
Definition: RunHistogramManager.cc:64
l1GtPatternGenerator_cfi.bx
bx
Definition: l1GtPatternGenerator_cfi.py:18
BSvsPVHistogramMaker::_hdeltayvsz
TProfile * _hdeltayvsz
Definition: BSvsPVHistogramMaker.h:55
TFileService::tFileDirectory
TFileDirectory & tFileDirectory()
Definition: TFileService.h:42
BSvsPVHistogramMaker::_runHistoBXProfile
const bool _runHistoBXProfile
Definition: BSvsPVHistogramMaker.h:46
BSvsPVHistogramMaker::_hdeltayvsorbrun
TProfile ** _hdeltayvsorbrun
Definition: BSvsPVHistogramMaker.h:62
BSvsPVHistogramMaker::y
double y(const reco::BeamSpot &bs, const double z) const
Definition: BSvsPVHistogramMaker.cc:296
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
TFileDirectory
Definition: TFileDirectory.h:24
BSvsPVHistogramMaker::_hdeltaxvszrun
TProfile ** _hdeltaxvszrun
Definition: BSvsPVHistogramMaker.h:59
edm::LogInfo
Log< level::Info, false > LogInfo
Definition: MessageLogger.h:125
BSvsPVHistogramMaker::_hdeltayvszrun
TProfile ** _hdeltayvszrun
Definition: BSvsPVHistogramMaker.h:60
BSvsPVHistogramMaker::_runHistoProfile
const bool _runHistoProfile
Definition: BSvsPVHistogramMaker.h:45
AlignmentTracksFromVertexSelector_cfi.vertices
vertices
Definition: AlignmentTracksFromVertexSelector_cfi.py:5
BTVHLTOfflineSource_cfi.dirname
dirname
Definition: BTVHLTOfflineSource_cfi.py:7
BSvsPVHistogramMaker::_hdeltaxvsbx2drun
TH2F ** _hdeltaxvsbx2drun
Definition: BSvsPVHistogramMaker.h:69
BSvsPVHistogramMaker::_trueOnly
const bool _trueOnly
Definition: BSvsPVHistogramMaker.h:43
cms::cuda::bs
bs
Definition: HistoContainer.h:76
BSvsPVHistogramMaker::_hdeltazrun
TH1F ** _hdeltazrun
Definition: BSvsPVHistogramMaker.h:58
BSvsPVHistogramMaker::_hdeltaxvsz
TProfile * _hdeltaxvsz
Definition: BSvsPVHistogramMaker.h:54
BSvsPVHistogramMaker::_hdeltaxvsbxrun
TProfile ** _hdeltaxvsbxrun
Definition: BSvsPVHistogramMaker.h:65
BSvsPVHistogramMaker::_hdeltazvsorbrun
TProfile ** _hdeltazvsorbrun
Definition: BSvsPVHistogramMaker.h:63
DDAxes::z
BSvsPVHistogramMaker::_hdeltazvsbxrun
TProfile ** _hdeltazvsbxrun
Definition: BSvsPVHistogramMaker.h:67
BSvsPVHistogramMaker::_hdeltay
TH1F * _hdeltay
Definition: BSvsPVHistogramMaker.h:52
BSvsPVHistogramMaker::m_maxLS
const unsigned int m_maxLS
Definition: BSvsPVHistogramMaker.h:41
TFileService::mkdir
TFileDirectory mkdir(const std::string &dir, const std::string &descr="")
create a new subdirectory
Definition: TFileService.h:69
RunHistogramManager::makeTH1F
TH1F ** makeTH1F(const char *name, const char *title, const unsigned int nbinx, const double xmin, const double xmax)
Definition: RunHistogramManager.cc:33
BSvsPVHistogramMaker::_hdeltayrun
TH1F ** _hdeltayrun
Definition: BSvsPVHistogramMaker.h:57
edm::ParameterSet
Definition: ParameterSet.h:47
BSvsPVHistogramMaker::_currdir
TFileDirectory * _currdir
Definition: BSvsPVHistogramMaker.h:40
RunHistogramManager::beginRun
void beginRun(const edm::Run &iRun)
Definition: RunHistogramManager.cc:101
edm::Service< TFileService >
iEvent
int iEvent
Definition: GenABIO.cc:224
BSvsPVHistogramMaker::fill
void fill(const unsigned int orbit, const int bx, const reco::VertexCollection &vertices, const reco::BeamSpot &bs)
Definition: BSvsPVHistogramMaker.cc:217
BSvsPVHistogramMaker::_hdeltaxrun
TH1F ** _hdeltaxrun
Definition: BSvsPVHistogramMaker.h:56
extraflags_cff.vtx
vtx
Definition: extraflags_cff.py:19
TFileDirectory::make
T * make(const Args &...args) const
make new ROOT object
Definition: TFileDirectory.h:53
BSvsPVHistogramMaker::_hdeltax
TH1F * _hdeltax
Definition: BSvsPVHistogramMaker.h:51
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
BSvsPVHistogramMaker::x
double x(const reco::BeamSpot &bs, const double z) const
Definition: BSvsPVHistogramMaker.cc:284
BSvsPVHistogramMaker::useSlope_
const bool useSlope_
Definition: BSvsPVHistogramMaker.h:42
BSvsPVHistogramMaker::_runHisto
const bool _runHisto
Definition: BSvsPVHistogramMaker.h:44
BSvsPVHistogramMaker::_hdeltazvsbx2drun
TH2F ** _hdeltazvsbx2drun
Definition: BSvsPVHistogramMaker.h:71
BSvsPVHistogramMaker::_hdeltaxvsorbrun
TProfile ** _hdeltaxvsorbrun
Definition: BSvsPVHistogramMaker.h:61
BSvsPVHistogramMaker::_hdeltayvsbx2drun
TH2F ** _hdeltayvsbx2drun
Definition: BSvsPVHistogramMaker.h:70
RunHistogramManager::makeTProfile
TProfile ** makeTProfile(const char *name, const char *title, const unsigned int nbinx, const double xmin, const double xmax)
Definition: RunHistogramManager.cc:52
BSvsPVHistogramMaker::_histoParameters
const edm::ParameterSet _histoParameters
Definition: BSvsPVHistogramMaker.h:48