64 nVertices_ = fs->
make<TH1F>(
"nVertices",
"number of reconstructed primary vertices", 50, 0, 50);
65 nTracks_ = fs->
make<TH1F>(
"nTracks",
"number of tracks at primary vertex", 100, 0, 300);
66 x_ = fs->
make<TH1F>(
"pvX",
"primary vertex x", 100, -0.1, 0.1);
67 y_ = fs->
make<TH1F>(
"pvY",
"primary vertex y", 100, -0.1, 0.1);
68 z_ = fs->
make<TH1F>(
"pvZ",
"primary vertex z", 100, -30, 30);
69 xErr_ = fs->
make<TH1F>(
"pvErrorX",
"primary vertex x error", 100, 0, 0.005);
70 yErr_ = fs->
make<TH1F>(
"pvErrorY",
"primary vertex y error", 100, 0, 0.005);
71 zErr_ = fs->
make<TH1F>(
"pvErrorZ",
"primary vertex z error", 100, 0, 0.01);
72 xDelta_ = fs->
make<TH1F>(
"pvDeltaX",
"x shift wrt simulated vertex", 100, -0.01, 0.01);
73 yDelta_ = fs->
make<TH1F>(
"pvDeltaY",
"y shift wrt simulated vertex", 100, -0.01, 0.01);
74 zDelta_ = fs->
make<TH1F>(
"pvDeltaZ",
"z shift wrt simulated vertex", 100, -0.02, 0.02);
75 xPull_ = fs->
make<TH1F>(
"pvPullX",
"primary vertex x pull", 100, -5, 5);
76 yPull_ = fs->
make<TH1F>(
"pvPullY",
"primary vertex y pull", 100, -5, 5);
77 zPull_ = fs->
make<TH1F>(
"pvPullZ",
"primary vertex z pull", 100, -5, 5);
97 if (!pvHandle->empty()) {
std::vector< GenParticle > GenParticleCollection
collection of GenParticles
edm::EDGetTokenT< reco::GenParticleCollection > genParticlesToken_
double zError() const
error on z
#define DEFINE_FWK_MODULE(type)
double y() const
y coordinate
std::vector< Vertex > VertexCollection
collection of Vertex objects
T * make(const Args &...args) const
make new ROOT object
edm::EDGetTokenT< reco::VertexCollection > srcToken_
virtual void beginJob() override
virtual void analyze(const edm::Event &event, const edm::EventSetup &es) override
double z() const
y coordinate
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
double x() const
x coordinate
double xError() const
error on x
XYZPointD XYZPoint
point in space with cartesian internal representation
PatVertexAnalyzer(const edm::ParameterSet ¶ms)
constructor and destructor
double yError() const
error on y
size_t tracksSize() const
number of tracks