CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
BSvsPVHistogramMaker.h
Go to the documentation of this file.
1 #ifndef Validation_RecoVertex_BSvsPVHistogramMaker_H
2 #define Validation_RecoVertex_BSvsPVHistogramMaker_H
3 
4 #include <string>
8 
9 namespace edm {
10  class ParameterSet;
11  class Event;
12 }
13 
14 namespace reco {
15  class BeamSpot;
16 }
17 
18 
19 class TH1F;
20 class TH2F;
21 class TProfile;
22 class TFileDirectory;
23 
25 
26  public:
29 
31 
32  void book(const std::string dirname="");
33  void beginRun(const unsigned int nrun);
34  void fill(const unsigned int orbit, const int bx, const reco::VertexCollection& vertices, const reco::BeamSpot& bs);
35  void fill(const edm::Event& iEvent, const reco::VertexCollection& vertices, const reco::BeamSpot& bs);
36 
37  double x(const reco::BeamSpot& bs, const double z) const;
38  double y(const reco::BeamSpot& bs, const double z) const;
39 
40  private:
41 
43  const unsigned int m_maxLS;
44  const bool useSlope_;
45  const bool _trueOnly;
46  const bool _runHisto;
47  const bool _runHistoProfile;
48  const bool _runHistoBXProfile;
49  const bool _runHistoBX2D;
51 
53  TH1F* _hdeltax;
54  TH1F* _hdeltay;
55  TH1F* _hdeltaz;
56  TProfile* _hdeltaxvsz;
57  TProfile* _hdeltayvsz;
58  TH1F** _hdeltaxrun;
59  TH1F** _hdeltayrun;
60  TH1F** _hdeltazrun;
61  TProfile** _hdeltaxvszrun;
62  TProfile** _hdeltayvszrun;
63  TProfile** _hdeltaxvsorbrun;
64  TProfile** _hdeltayvsorbrun;
65  TProfile** _hdeltazvsorbrun;
66 
67  TProfile** _hdeltaxvsbxrun;
68  TProfile** _hdeltayvsbxrun;
69  TProfile** _hdeltazvsbxrun;
70 
74 
75 };
76 
77 
78 #endif // Validation_RecoVertex_BSvsPVHistogramMaker_H
TFileDirectory * _currdir
const unsigned int m_maxLS
const edm::ParameterSet _histoParameters
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
RunHistogramManager _rhm
float float float z
int iEvent
Definition: GenABIO.cc:243
void book(const std::string dirname="")
double y(const reco::BeamSpot &bs, const double z) const
void beginRun(const unsigned int nrun)
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