Validation
RecoVertex
interface
TrackParameterAnalyzer.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: TrackParameterAnalyzer
4
// Class: TrackParameterAnalyzer
5
//
13
//
14
// Original Author: Wolfram Erdmann
15
// Created: Fri Jun 2 10:54:05 CEST 2006
16
//
17
//
18
19
// system include files
20
#include <string>
21
22
// user include files
23
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
24
#include "
FWCore/Framework/interface/one/EDAnalyzer.h
"
25
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
26
27
// simulated vertex
28
#include "
SimDataFormats/Vertex/interface/SimVertexContainer.h
"
29
30
// simulated track
31
#include "
SimDataFormats/Track/interface/SimTrackContainer.h
"
32
33
// track
34
#include "
DataFormats/TrackReco/interface/TrackBase.h
"
35
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
36
37
// ROOT forward declarations
38
class
TFile;
39
class
TH1;
40
class
TH2;
41
42
// class declaration
43
//
44
typedef
reco::TrackBase::ParameterVector
ParameterVector
;
45
46
class
TrackParameterAnalyzer
:
public
edm::one::EDAnalyzer
<> {
47
public
:
48
explicit
TrackParameterAnalyzer
(
const
edm::ParameterSet
&);
49
~TrackParameterAnalyzer
()
override
;
50
51
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
;
52
void
beginJob
()
override
;
53
void
endJob
()
override
;
54
55
private
:
56
bool
match
(
const
ParameterVector
&
a
,
const
ParameterVector
&
b
);
57
// ----------member data ---------------------------
58
edm::EDGetTokenT<edm::SimVertexContainer>
edmSimVertexContainerToken_
;
59
edm::EDGetTokenT<edm::SimTrackContainer>
edmSimTrackContainerToken_
;
60
edm::EDGetTokenT<reco::TrackCollection>
recoTrackCollectionToken_
;
61
// root file to store histograms
62
std::string
outputFile_
;
// output file
63
TFile*
rootFile_
;
64
TH1*
h1_pull0_
;
65
TH1*
h1_pull1_
;
66
TH1*
h1_pull2_
;
67
TH1*
h1_pull3_
;
68
TH1*
h1_pull4_
;
69
TH1*
h1_res0_
;
70
TH1*
h1_res1_
;
71
TH1*
h1_res2_
;
72
TH1*
h1_res3_
;
73
TH1*
h1_res4_
;
74
TH1*
h1_Beff_
;
75
TH2*
h2_dvsphi_
;
76
TH1*
h1_par0_
;
77
TH1*
h1_par1_
;
78
TH1*
h1_par2_
;
79
TH1*
h1_par3_
;
80
TH1*
h1_par4_
;
81
double
simUnit_
;
82
bool
verbose_
;
83
};
TrackParameterAnalyzer::h1_pull2_
TH1 * h1_pull2_
Definition:
TrackParameterAnalyzer.h:66
TrackParameterAnalyzer::edmSimTrackContainerToken_
edm::EDGetTokenT< edm::SimTrackContainer > edmSimTrackContainerToken_
Definition:
TrackParameterAnalyzer.h:59
EDAnalyzer.h
TrackParameterAnalyzer::h1_res2_
TH1 * h1_res2_
Definition:
TrackParameterAnalyzer.h:71
TrackParameterAnalyzer::~TrackParameterAnalyzer
~TrackParameterAnalyzer() override
Definition:
TrackParameterAnalyzer.cc:56
edm::EDGetTokenT< edm::SimVertexContainer >
TrackBase.h
TrackParameterAnalyzer::h1_pull4_
TH1 * h1_pull4_
Definition:
TrackParameterAnalyzer.h:68
TrackParameterAnalyzer::beginJob
void beginJob() override
Definition:
TrackParameterAnalyzer.cc:65
TrackParameterAnalyzer::h1_par4_
TH1 * h1_par4_
Definition:
TrackParameterAnalyzer.h:80
TrackParameterAnalyzer::h1_par2_
TH1 * h1_par2_
Definition:
TrackParameterAnalyzer.h:78
TrackParameterAnalyzer::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
TrackParameterAnalyzer.cc:126
edm::one::EDAnalyzer
Definition:
EDAnalyzer.h:30
TrackParameterAnalyzer::h1_pull0_
TH1 * h1_pull0_
Definition:
TrackParameterAnalyzer.h:64
ParameterVector
reco::TrackBase::ParameterVector ParameterVector
Definition:
TrackParameterAnalyzer.h:40
TrackParameterAnalyzer::edmSimVertexContainerToken_
edm::EDGetTokenT< edm::SimVertexContainer > edmSimVertexContainerToken_
Definition:
TrackParameterAnalyzer.h:58
TrackParameterAnalyzer::h1_par0_
TH1 * h1_par0_
Definition:
TrackParameterAnalyzer.h:76
TrackParameterAnalyzer::h1_res3_
TH1 * h1_res3_
Definition:
TrackParameterAnalyzer.h:72
TrackFwd.h
TrackParameterAnalyzer::verbose_
bool verbose_
Definition:
TrackParameterAnalyzer.h:82
TrackParameterAnalyzer::h1_par3_
TH1 * h1_par3_
Definition:
TrackParameterAnalyzer.h:79
reco::TrackBase::ParameterVector
math::Vector< dimension >::type ParameterVector
parameter vector
Definition:
TrackBase.h:71
b
double b
Definition:
hdecay.h:118
TrackParameterAnalyzer::h2_dvsphi_
TH2 * h2_dvsphi_
Definition:
TrackParameterAnalyzer.h:75
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
TrackParameterAnalyzer::h1_res1_
TH1 * h1_res1_
Definition:
TrackParameterAnalyzer.h:70
edm::ParameterSet
Definition:
ParameterSet.h:47
TrackParameterAnalyzer::h1_Beff_
TH1 * h1_Beff_
Definition:
TrackParameterAnalyzer.h:74
a
double a
Definition:
hdecay.h:119
TrackParameterAnalyzer::match
bool match(const ParameterVector &a, const ParameterVector &b)
Definition:
TrackParameterAnalyzer.cc:114
TrackParameterAnalyzer
Definition:
TrackParameterAnalyzer.h:46
edm::EventSetup
Definition:
EventSetup.h:58
TrackParameterAnalyzer::rootFile_
TFile * rootFile_
Definition:
TrackParameterAnalyzer.h:63
TrackParameterAnalyzer::endJob
void endJob() override
Definition:
TrackParameterAnalyzer.cc:90
TrackParameterAnalyzer::recoTrackCollectionToken_
edm::EDGetTokenT< reco::TrackCollection > recoTrackCollectionToken_
Definition:
TrackParameterAnalyzer.h:60
TrackParameterAnalyzer::TrackParameterAnalyzer
TrackParameterAnalyzer(const edm::ParameterSet &)
Definition:
TrackParameterAnalyzer.cc:36
Frameworkfwd.h
TrackParameterAnalyzer::h1_par1_
TH1 * h1_par1_
Definition:
TrackParameterAnalyzer.h:77
TrackParameterAnalyzer::h1_res0_
TH1 * h1_res0_
Definition:
TrackParameterAnalyzer.h:69
TrackParameterAnalyzer::outputFile_
std::string outputFile_
Definition:
TrackParameterAnalyzer.h:62
ParameterSet.h
TrackParameterAnalyzer::h1_pull1_
TH1 * h1_pull1_
Definition:
TrackParameterAnalyzer.h:65
edm::Event
Definition:
Event.h:73
TrackParameterAnalyzer::h1_pull3_
TH1 * h1_pull3_
Definition:
TrackParameterAnalyzer.h:67
SimTrackContainer.h
TrackParameterAnalyzer::simUnit_
double simUnit_
Definition:
TrackParameterAnalyzer.h:81
SimVertexContainer.h
TrackParameterAnalyzer::h1_res4_
TH1 * h1_res4_
Definition:
TrackParameterAnalyzer.h:73
Generated for CMSSW Reference Manual by
1.8.16