CMS 3D CMS Logo

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>
9 
10 namespace edm {
11  class ParameterSet;
12  class Event;
13 } // namespace edm
14 
15 namespace reco {
16  class BeamSpot;
17 }
18 
19 class TH1F;
20 class TH2F;
21 class TProfile;
22 class TFileDirectory;
23 
25 public:
28 
30 
31  void book(const std::string dirname = "");
32  void beginRun(const unsigned int nrun);
33  void fill(const unsigned int orbit, const int bx, const reco::VertexCollection& vertices, const reco::BeamSpot& bs);
35 
36  double x(const reco::BeamSpot& bs, const double z) const;
37  double y(const reco::BeamSpot& bs, const double z) const;
38 
39 private:
41  const unsigned int m_maxLS;
42  const bool useSlope_;
43  const bool _trueOnly;
44  const bool _runHisto;
45  const bool _runHistoProfile;
46  const bool _runHistoBXProfile;
47  const bool _runHistoBX2D;
49 
51  TH1F* _hdeltax;
52  TH1F* _hdeltay;
53  TH1F* _hdeltaz;
54  TProfile* _hdeltaxvsz;
55  TProfile* _hdeltayvsz;
56  TH1F** _hdeltaxrun;
57  TH1F** _hdeltayrun;
58  TH1F** _hdeltazrun;
59  TProfile** _hdeltaxvszrun;
60  TProfile** _hdeltayvszrun;
61  TProfile** _hdeltaxvsorbrun;
62  TProfile** _hdeltayvsorbrun;
63  TProfile** _hdeltazvsorbrun;
64 
65  TProfile** _hdeltaxvsbxrun;
66  TProfile** _hdeltayvsbxrun;
67  TProfile** _hdeltazvsbxrun;
68 
72 };
73 
74 #endif // Validation_RecoVertex_BSvsPVHistogramMaker_H
BSvsPVHistogramMaker(edm::ConsumesCollector &&iC)
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
int iEvent
Definition: GenABIO.cc:224
double x(const reco::BeamSpot &bs, const double z) const
void book(const std::string dirname="")
double y(const reco::BeamSpot &bs, const double z) const
fixed size matrix
HLT enums.
void beginRun(const unsigned int nrun)
void fill(const unsigned int orbit, const int bx, const reco::VertexCollection &vertices, const reco::BeamSpot &bs)