#include <BSvsPVHistogramMaker.h>
Public Member Functions | |
void | beginRun (const unsigned int nrun) |
void | book (const std::string dirname="") |
BSvsPVHistogramMaker (edm::ConsumesCollector &&iC) | |
BSvsPVHistogramMaker (const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC) | |
void | fill (const unsigned int orbit, const int bx, const reco::VertexCollection &vertices, const reco::BeamSpot &bs) |
void | fill (const edm::Event &iEvent, 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 25 of file BSvsPVHistogramMaker.h.
BSvsPVHistogramMaker::BSvsPVHistogramMaker | ( | edm::ConsumesCollector && | iC | ) |
Definition at line 14 of file BSvsPVHistogramMaker.cc.
BSvsPVHistogramMaker::BSvsPVHistogramMaker | ( | const edm::ParameterSet & | iConfig, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 18 of file BSvsPVHistogramMaker.cc.
BSvsPVHistogramMaker::~BSvsPVHistogramMaker | ( | ) |
void BSvsPVHistogramMaker::beginRun | ( | const unsigned int | nrun | ) |
Definition at line 145 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, HILowLumiHLTOfflineSource_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 unsigned int | orbit, |
const int | bx, | ||
const reco::VertexCollection & | vertices, | ||
const reco::BeamSpot & | bs | ||
) |
Definition at line 187 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, x(), y(), and reco::BeamSpot::z0().
Referenced by BSvsPVAnalyzer::analyze(), and fill().
void BSvsPVHistogramMaker::fill | ( | const edm::Event & | iEvent, |
const reco::VertexCollection & | vertices, | ||
const reco::BeamSpot & | bs | ||
) |
Definition at line 234 of file BSvsPVHistogramMaker.cc.
References edm::EventBase::bunchCrossing(), fill(), edm::EventBase::orbitNumber(), and HLT_25ns10e33_v2_cff::vertices.
double BSvsPVHistogramMaker::x | ( | const reco::BeamSpot & | bs, |
const double | z | ||
) | const |
Definition at line 240 of file BSvsPVHistogramMaker.cc.
References reco::BeamSpot::dxdz(), useSlope_, reco::BeamSpot::x0(), and reco::BeamSpot::z0().
Referenced by svgfig.Curve.Sample::__repr__(), svgfig.Ellipse::__repr__(), Vispa.Gui.WidgetContainer.WidgetContainer::autosize(), Vispa.Gui.VispaWidget.VispaWidget::boundingRect(), fill(), geometryXMLparser.Alignable::pos(), and Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget().
double BSvsPVHistogramMaker::y | ( | const reco::BeamSpot & | bs, |
const double | z | ||
) | const |
Definition at line 253 of file BSvsPVHistogramMaker.cc.
References reco::BeamSpot::dydz(), useSlope_, reco::BeamSpot::y0(), and reco::BeamSpot::z0().
Referenced by svgfig.Ellipse::__repr__(), Vispa.Gui.WidgetContainer.WidgetContainer::autosize(), Vispa.Gui.VispaWidget.VispaWidget::boundingRect(), fill(), geometryXMLparser.Alignable::pos(), and Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget().
|
private |
Definition at line 43 of file BSvsPVHistogramMaker.h.
Referenced by beginRun(), book(), and ~BSvsPVHistogramMaker().
|
private |
Definition at line 54 of file BSvsPVHistogramMaker.h.
|
private |
Definition at line 59 of file BSvsPVHistogramMaker.h.
|
private |
Definition at line 72 of file BSvsPVHistogramMaker.h.
|
private |
Definition at line 68 of file BSvsPVHistogramMaker.h.
|
private |
Definition at line 64 of file BSvsPVHistogramMaker.h.
|
private |
Definition at line 57 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 73 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 58 of file BSvsPVHistogramMaker.h.
|
private |
Definition at line 63 of file BSvsPVHistogramMaker.h.
|
private |
Definition at line 56 of file BSvsPVHistogramMaker.h.
|
private |
Definition at line 61 of file BSvsPVHistogramMaker.h.
|
private |
Definition at line 74 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 51 of file BSvsPVHistogramMaker.h.
Referenced by book().
|
private |
Definition at line 53 of file BSvsPVHistogramMaker.h.
Referenced by beginRun(), and book().
|
private |
Definition at line 47 of file BSvsPVHistogramMaker.h.
Referenced by beginRun(), book(), and fill().
|
private |
Definition at line 50 of file BSvsPVHistogramMaker.h.
Referenced by beginRun(), book(), and fill().
|
private |
Definition at line 49 of file BSvsPVHistogramMaker.h.
Referenced by beginRun(), book(), and fill().
|
private |
Definition at line 48 of file BSvsPVHistogramMaker.h.
Referenced by beginRun(), book(), and fill().
|
private |
Definition at line 46 of file BSvsPVHistogramMaker.h.
Referenced by fill().
|
private |
Definition at line 44 of file BSvsPVHistogramMaker.h.
Referenced by book().
|
private |
Definition at line 45 of file BSvsPVHistogramMaker.h.