13 _currdir(0), _histoParameters(), _rhm() { }
39 edm::LogInfo(
"HistogramBooking") <<
"BeamSpot histogram booking in directory " << dirname;
83 sprintf(runname,
"run_%d",nrun);
93 (*_hbsxrun)->GetXaxis()->SetTitle(
"X [cm]"); (*_hbsxrun)->GetYaxis()->SetTitle(
"Events");
94 (*_hbsyrun)->GetXaxis()->SetTitle(
"Y [cm]"); (*_hbsyrun)->GetYaxis()->SetTitle(
"Events");
95 (*_hbszrun)->GetXaxis()->SetTitle(
"Z [cm]"); (*_hbszrun)->GetYaxis()->SetTitle(
"Events");
96 (*_hbssigmaxrun)->GetXaxis()->SetTitle(
"sigmaX [cm]"); (*_hbssigmaxrun)->GetYaxis()->SetTitle(
"Events");
97 (*_hbssigmayrun)->GetXaxis()->SetTitle(
"sigmaY [cm]"); (*_hbssigmayrun)->GetYaxis()->SetTitle(
"Events");
98 (*_hbssigmazrun)->GetXaxis()->SetTitle(
"sigmaZ [cm]"); (*_hbssigmazrun)->GetYaxis()->SetTitle(
"Events");
100 (*_hbsxvsorbrun)->GetXaxis()->SetTitle(
"time [orbit#]"); (*_hbsxvsorbrun)->GetYaxis()->SetTitle(
"X [cm]");
101 (*_hbsxvsorbrun)->SetBit(TH1::kCanRebin);
102 (*_hbsyvsorbrun)->GetXaxis()->SetTitle(
"time [orbit#]"); (*_hbsyvsorbrun)->GetYaxis()->SetTitle(
"Y [cm]");
103 (*_hbsyvsorbrun)->SetBit(TH1::kCanRebin);
104 (*_hbszvsorbrun)->GetXaxis()->SetTitle(
"time [orbit#]"); (*_hbszvsorbrun)->GetYaxis()->SetTitle(
"Z [cm]");
105 (*_hbszvsorbrun)->SetBit(TH1::kCanRebin);
106 (*_hbssigmaxvsorbrun)->GetXaxis()->SetTitle(
"time [orbit#]"); (*_hbssigmaxvsorbrun)->GetYaxis()->SetTitle(
"sigmaX [cm]");
107 (*_hbssigmaxvsorbrun)->SetBit(TH1::kCanRebin);
108 (*_hbssigmayvsorbrun)->GetXaxis()->SetTitle(
"time [orbit#]"); (*_hbssigmayvsorbrun)->GetYaxis()->SetTitle(
"sigmaY [cm]");
109 (*_hbssigmayvsorbrun)->SetBit(TH1::kCanRebin);
110 (*_hbssigmazvsorbrun)->GetXaxis()->SetTitle(
"time [orbit#]"); (*_hbssigmazvsorbrun)->GetYaxis()->SetTitle(
"sigmaZ [cm]");
111 (*_hbssigmazvsorbrun)->SetBit(TH1::kCanRebin);
TProfile ** _hbssigmaxvsorbrun
double z0() const
z coordinate
T getUntrackedParameter(std::string const &, T const &) const
TProfile ** _hbsxvsorbrun
TFileDirectory * _currdir
void book(const std::string dirname="")
TProfile ** _hbssigmayvsorbrun
void beginRun(const unsigned int nrun)
TH1F ** makeTH1F(const char *name, const char *title, const unsigned int nbinx, const double xmin, const double xmax)
TProfile ** _hbsyvsorbrun
TProfile ** _hbszvsorbrun
void fill(const unsigned int orbit, const reco::BeamSpot &bs)
TProfile ** makeTProfile(const char *name, const char *title, const unsigned int nbinx, const double xmin, const double xmax)
double BeamWidthX() const
beam width X
~BeamSpotHistogramMaker()
TFileDirectory mkdir(const std::string &dir, const std::string &descr="")
create a new subdirectory
void beginRun(const edm::Run &iRun)
double sigmaZ() const
sigma z
double BeamWidthY() const
beam width Y
double y0() const
y coordinate
const edm::ParameterSet _histoParameters
TProfile ** _hbssigmazvsorbrun
double x0() const
x coordinate