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::_hdeltaz
TH1F * _hdeltaz
Definition: BSvsPVHistogramMaker.h:53
BSvsPVHistogramMaker::_hdeltayvsbxrun
TProfile ** _hdeltayvsbxrun
Definition: BSvsPVHistogramMaker.h:66
align::BeamSpot
Definition: StructureType.h:95
BSvsPVHistogramMaker::_rhm
RunHistogramManager _rhm
Definition: BSvsPVHistogramMaker.h:50
BSvsPVHistogramMaker::_runHistoBX2D
const bool _runHistoBX2D
Definition: BSvsPVHistogramMaker.h:47
edm
HLT enums.
Definition: AlignableModifier.h:19
reco::VertexCollection
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
l1GtPatternGenerator_cfi.bx
bx
Definition: l1GtPatternGenerator_cfi.py:18
BSvsPVHistogramMaker::_hdeltayvsz
TProfile * _hdeltayvsz
Definition: BSvsPVHistogramMaker.h:55
BSvsPVHistogramMaker::beginRun
void beginRun(const unsigned int nrun)
Definition: BSvsPVHistogramMaker.cc:163
BSvsPVHistogramMaker::_runHistoBXProfile
const bool _runHistoBXProfile
Definition: BSvsPVHistogramMaker.h:46
BSvsPVHistogramMaker::_hdeltayvsorbrun
TProfile ** _hdeltayvsorbrun
Definition: BSvsPVHistogramMaker.h:62
BSvsPVHistogramMaker::y
double y(const reco::BeamSpot &bs, const double z) const
Definition: BSvsPVHistogramMaker.cc:296
TFileDirectory
Definition: TFileDirectory.h:24
BSvsPVHistogramMaker::BSvsPVHistogramMaker
BSvsPVHistogramMaker(edm::ConsumesCollector &&iC)
Definition: BSvsPVHistogramMaker.cc:13
BSvsPVHistogramMaker::_hdeltaxvszrun
TProfile ** _hdeltaxvszrun
Definition: BSvsPVHistogramMaker.h:59
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
BSvsPVHistogramMaker::book
void book(const std::string dirname="")
Definition: BSvsPVHistogramMaker.cc:39
BSvsPVHistogramMaker::_hdeltayvszrun
TProfile ** _hdeltayvszrun
Definition: BSvsPVHistogramMaker.h:60
BSvsPVHistogramMaker::_runHistoProfile
const bool _runHistoProfile
Definition: BSvsPVHistogramMaker.h:45
BTVHLTOfflineSource_cfi.dirname
dirname
Definition: BTVHLTOfflineSource_cfi.py:7
BSvsPVHistogramMaker::_hdeltaxvsbx2drun
TH2F ** _hdeltaxvsbx2drun
Definition: BSvsPVHistogramMaker.h:69
BSvsPVHistogramMaker::_trueOnly
const bool _trueOnly
Definition: BSvsPVHistogramMaker.h:43
cms::cuda::bs
bs
Definition: HistoContainer.h:127
BSvsPVHistogramMaker::_hdeltazrun
TH1F ** _hdeltazrun
Definition: BSvsPVHistogramMaker.h:58
BSvsPVHistogramMaker::_hdeltaxvsz
TProfile * _hdeltaxvsz
Definition: BSvsPVHistogramMaker.h:54
RunHistogramManager
Definition: RunHistogramManager.h:210
BSvsPVHistogramMaker::_hdeltaxvsbxrun
TProfile ** _hdeltaxvsbxrun
Definition: BSvsPVHistogramMaker.h:65
RunHistogramManager.h
reco::BeamSpot
Definition: BeamSpot.h:21
BSvsPVHistogramMaker::_hdeltazvsorbrun
TProfile ** _hdeltazvsorbrun
Definition: BSvsPVHistogramMaker.h:63
DDAxes::z
Event
BSvsPVHistogramMaker::_hdeltazvsbxrun
TProfile ** _hdeltazvsbxrun
Definition: BSvsPVHistogramMaker.h:67
BSvsPVHistogramMaker::_hdeltay
TH1F * _hdeltay
Definition: BSvsPVHistogramMaker.h:52
BSvsPVHistogramMaker::m_maxLS
const unsigned int m_maxLS
Definition: BSvsPVHistogramMaker.h:41
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
BSvsPVHistogramMaker::_hdeltayrun
TH1F ** _hdeltayrun
Definition: BSvsPVHistogramMaker.h:57
edm::ParameterSet
Definition: ParameterSet.h:47
ParameterSet
Definition: Functions.h:16
BSvsPVHistogramMaker::_currdir
TFileDirectory * _currdir
Definition: BSvsPVHistogramMaker.h:40
BSvsPVHistogramMaker
Definition: BSvsPVHistogramMaker.h:24
iEvent
int iEvent
Definition: GenABIO.cc:224
BSvsPVHistogramMaker::fill
void fill(const unsigned int orbit, const int bx, const reco::VertexCollection &vertices, const reco::BeamSpot &bs)
Definition: BSvsPVHistogramMaker.cc:217
VertexFwd.h
BSvsPVHistogramMaker::_hdeltaxrun
TH1F ** _hdeltaxrun
Definition: BSvsPVHistogramMaker.h:56
BSvsPVHistogramMaker::_hdeltax
TH1F * _hdeltax
Definition: BSvsPVHistogramMaker.h:51
BSvsPVHistogramMaker::x
double x(const reco::BeamSpot &bs, const double z) const
Definition: BSvsPVHistogramMaker.cc:284
BSvsPVHistogramMaker::useSlope_
const bool useSlope_
Definition: BSvsPVHistogramMaker.h:42
BSvsPVHistogramMaker::_runHisto
const bool _runHisto
Definition: BSvsPVHistogramMaker.h:44
BSvsPVHistogramMaker::_hdeltazvsbx2drun
TH2F ** _hdeltazvsbx2drun
Definition: BSvsPVHistogramMaker.h:71
BSvsPVHistogramMaker::~BSvsPVHistogramMaker
~BSvsPVHistogramMaker()
Definition: BSvsPVHistogramMaker.cc:37
ConsumesCollector.h
ParameterSet.h
edm::Event
Definition: Event.h:73
BSvsPVHistogramMaker::_hdeltaxvsorbrun
TProfile ** _hdeltaxvsorbrun
Definition: BSvsPVHistogramMaker.h:61
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
BSvsPVHistogramMaker::_hdeltayvsbx2drun
TH2F ** _hdeltayvsbx2drun
Definition: BSvsPVHistogramMaker.h:70
pwdgSkimBPark_cfi.vertices
vertices
Definition: pwdgSkimBPark_cfi.py:7
BSvsPVHistogramMaker::_histoParameters
const edm::ParameterSet _histoParameters
Definition: BSvsPVHistogramMaker.h:48