#include <BeamSpotHistogramMaker.h>
Public Member Functions | |
BeamSpotHistogramMaker (edm::ConsumesCollector &&iC) | |
BeamSpotHistogramMaker (const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC) | |
void | beginRun (const unsigned int nrun) |
void | book (const std::string dirname="") |
void | fill (const unsigned int orbit, const reco::BeamSpot &bs) |
~BeamSpotHistogramMaker () | |
Private Attributes | |
TFileDirectory * | _currdir |
TH1F ** | _hbssigmaxrun |
TProfile ** | _hbssigmaxvsorbrun |
TH1F ** | _hbssigmayrun |
TProfile ** | _hbssigmayvsorbrun |
TH1F ** | _hbssigmazrun |
TProfile ** | _hbssigmazvsorbrun |
TH1F ** | _hbsxrun |
TProfile ** | _hbsxvsorbrun |
TH1F ** | _hbsyrun |
TProfile ** | _hbsyvsorbrun |
TH1F ** | _hbszrun |
TProfile ** | _hbszvsorbrun |
const edm::ParameterSet | _histoParameters |
RunHistogramManager | _rhm |
Definition at line 21 of file BeamSpotHistogramMaker.h.
BeamSpotHistogramMaker::BeamSpotHistogramMaker | ( | edm::ConsumesCollector && | iC | ) |
Definition at line 11 of file BeamSpotHistogramMaker.cc.
BeamSpotHistogramMaker::BeamSpotHistogramMaker | ( | const edm::ParameterSet & | iConfig, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 14 of file BeamSpotHistogramMaker.cc.
BeamSpotHistogramMaker::~BeamSpotHistogramMaker | ( | ) |
void BeamSpotHistogramMaker::beginRun | ( | const unsigned int | nrun | ) |
Definition at line 82 of file BeamSpotHistogramMaker.cc.
References _currdir, _rhm, RunHistogramManager::beginRun(), and TFileService::tFileDirectory().
Referenced by AnotherBeamSpotAnalyzer::beginRun().
void BeamSpotHistogramMaker::book | ( | const std::string | dirname = "" | ) |
Definition at line 21 of file BeamSpotHistogramMaker.cc.
References _currdir, _hbssigmaxrun, _hbssigmaxvsorbrun, _hbssigmayrun, _hbssigmayvsorbrun, _hbssigmazrun, _hbssigmazvsorbrun, _hbsxrun, _hbsxvsorbrun, _hbsyrun, _hbsyvsorbrun, _hbszrun, _hbszvsorbrun, _histoParameters, _rhm, BTVHLTOfflineSource_cfi::dirname, edm::ParameterSet::getUntrackedParameter(), RunHistogramManager::makeTH1F(), RunHistogramManager::makeTProfile(), TFileService::mkdir(), and TFileService::tFileDirectory().
Referenced by AnotherBeamSpotAnalyzer::AnotherBeamSpotAnalyzer().
void BeamSpotHistogramMaker::fill | ( | const unsigned int | orbit, |
const reco::BeamSpot & | bs | ||
) |
Definition at line 127 of file BeamSpotHistogramMaker.cc.
References _hbssigmaxrun, _hbssigmaxvsorbrun, _hbssigmayrun, _hbssigmayvsorbrun, _hbssigmazrun, _hbssigmazvsorbrun, _hbsxrun, _hbsxvsorbrun, _hbsyrun, _hbsyvsorbrun, _hbszrun, _hbszvsorbrun, reco::BeamSpot::BeamWidthX(), reco::BeamSpot::BeamWidthY(), reco::BeamSpot::sigmaZ(), reco::BeamSpot::x0(), reco::BeamSpot::y0(), and reco::BeamSpot::z0().
Referenced by AnotherBeamSpotAnalyzer::analyze().
|
private |
Definition at line 33 of file BeamSpotHistogramMaker.h.
Referenced by beginRun(), book(), and ~BeamSpotHistogramMaker().
|
private |
Definition at line 40 of file BeamSpotHistogramMaker.h.
|
private |
Definition at line 46 of file BeamSpotHistogramMaker.h.
|
private |
Definition at line 41 of file BeamSpotHistogramMaker.h.
|
private |
Definition at line 47 of file BeamSpotHistogramMaker.h.
|
private |
Definition at line 42 of file BeamSpotHistogramMaker.h.
|
private |
Definition at line 48 of file BeamSpotHistogramMaker.h.
|
private |
Definition at line 37 of file BeamSpotHistogramMaker.h.
|
private |
Definition at line 43 of file BeamSpotHistogramMaker.h.
|
private |
Definition at line 38 of file BeamSpotHistogramMaker.h.
|
private |
Definition at line 44 of file BeamSpotHistogramMaker.h.
|
private |
Definition at line 39 of file BeamSpotHistogramMaker.h.
|
private |
Definition at line 45 of file BeamSpotHistogramMaker.h.
|
private |
Definition at line 34 of file BeamSpotHistogramMaker.h.
Referenced by book().
|
private |
Definition at line 36 of file BeamSpotHistogramMaker.h.
Referenced by beginRun(), and book().