#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_ |
Definition at line 24 of file BSvsPVHistogramMaker.h.
BSvsPVHistogramMaker::BSvsPVHistogramMaker | ( | edm::ConsumesCollector && | iC | ) |
Definition at line 13 of file BSvsPVHistogramMaker.cc.
BSvsPVHistogramMaker::BSvsPVHistogramMaker | ( | const edm::ParameterSet & | iConfig, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 25 of file BSvsPVHistogramMaker.cc.
BSvsPVHistogramMaker::~BSvsPVHistogramMaker | ( | ) |
void BSvsPVHistogramMaker::beginRun | ( | const unsigned int | nrun | ) |
Definition at line 163 of file BSvsPVHistogramMaker.cc.
References _currdir, _rhm, _runHisto, _runHistoBX2D, _runHistoBXProfile, _runHistoProfile, RunHistogramManager::beginRun(), and TFileService::tFileDirectory().
Referenced by BSvsPVAnalyzer::beginRun().
void BSvsPVHistogramMaker::book | ( | const std::string | dirname = "" | ) |
Definition at line 39 of file BSvsPVHistogramMaker.cc.
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().
void BSvsPVHistogramMaker::fill | ( | const edm::Event & | iEvent, |
const reco::VertexCollection & | vertices, | ||
const reco::BeamSpot & | bs | ||
) |
Definition at line 278 of file BSvsPVHistogramMaker.cc.
References cms::cuda::bs, fill(), iEvent, and AlignmentTracksFromVertexSelector_cfi::vertices.
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.
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().
double BSvsPVHistogramMaker::x | ( | const reco::BeamSpot & | bs, |
const double | z | ||
) | const |
Definition at line 284 of file BSvsPVHistogramMaker.cc.
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().
double BSvsPVHistogramMaker::y | ( | const reco::BeamSpot & | bs, |
const double | z | ||
) | const |
Definition at line 296 of file BSvsPVHistogramMaker.cc.
References cms::cuda::bs, useSlope_, and z.
Referenced by svgfig.Ellipse::__repr__(), fill(), geometryXMLparser.Alignable::pos(), ntupleDataFormat._HitObject::r(), and ntupleDataFormat._HitObject::r3D().
|
private |
Definition at line 40 of file BSvsPVHistogramMaker.h.
Referenced by beginRun(), book(), and ~BSvsPVHistogramMaker().
|
private |
Definition at line 51 of file BSvsPVHistogramMaker.h.
|
private |
Definition at line 56 of file BSvsPVHistogramMaker.h.
|
private |
Definition at line 69 of file BSvsPVHistogramMaker.h.
|
private |
Definition at line 65 of file BSvsPVHistogramMaker.h.
|
private |
Definition at line 61 of file BSvsPVHistogramMaker.h.
|
private |
Definition at line 54 of file BSvsPVHistogramMaker.h.
|
private |
Definition at line 59 of file BSvsPVHistogramMaker.h.
|
private |
Definition at line 52 of file BSvsPVHistogramMaker.h.
|
private |
Definition at line 57 of file BSvsPVHistogramMaker.h.
|
private |
Definition at line 70 of file BSvsPVHistogramMaker.h.
|
private |
Definition at line 66 of file BSvsPVHistogramMaker.h.
|
private |
Definition at line 62 of file BSvsPVHistogramMaker.h.
|
private |
Definition at line 55 of file BSvsPVHistogramMaker.h.
|
private |
Definition at line 60 of file BSvsPVHistogramMaker.h.
|
private |
Definition at line 53 of file BSvsPVHistogramMaker.h.
|
private |
Definition at line 58 of file BSvsPVHistogramMaker.h.
|
private |
Definition at line 71 of file BSvsPVHistogramMaker.h.
|
private |
Definition at line 67 of file BSvsPVHistogramMaker.h.
|
private |
Definition at line 63 of file BSvsPVHistogramMaker.h.
|
private |
Definition at line 48 of file BSvsPVHistogramMaker.h.
Referenced by book().
|
private |
Definition at line 50 of file BSvsPVHistogramMaker.h.
Referenced by beginRun(), and book().
|
private |
Definition at line 44 of file BSvsPVHistogramMaker.h.
Referenced by beginRun(), book(), and fill().
|
private |
Definition at line 47 of file BSvsPVHistogramMaker.h.
Referenced by beginRun(), book(), and fill().
|
private |
Definition at line 46 of file BSvsPVHistogramMaker.h.
Referenced by beginRun(), book(), and fill().
|
private |
Definition at line 45 of file BSvsPVHistogramMaker.h.
Referenced by beginRun(), book(), and fill().
|
private |
Definition at line 43 of file BSvsPVHistogramMaker.h.
Referenced by fill().
|
private |
Definition at line 41 of file BSvsPVHistogramMaker.h.
Referenced by book().
|
private |
Definition at line 42 of file BSvsPVHistogramMaker.h.