Main Page
Namespaces
Classes
Package Documentation
HeavyFlavorAnalysis
Onia2MuMu
interface
OniaAddV0TracksProducer.h
Go to the documentation of this file.
1
#ifndef __OniaAddV0TracksProducer_h_
2
#define __OniaAddV0TracksProducer_h_
3
4
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
5
#include "
FWCore/Framework/interface/EDProducer.h
"
6
#include "
FWCore/Framework/interface/Event.h
"
7
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
8
#include "
FWCore/Utilities/interface/InputTag.h
"
9
10
#include "
FWCore/Framework/interface/MakerMacros.h
"
11
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
12
13
#include "
DataFormats/Candidate/interface/VertexCompositeCandidate.h
"
14
15
#include <vector>
16
22
class
OniaAddV0TracksProducer
:
public
edm::EDProducer
{
23
24
public
:
25
explicit
OniaAddV0TracksProducer
(
const
edm::ParameterSet
& ps);
26
27
private
:
28
29
void
produce
(
edm::Event
&
event
,
const
edm::EventSetup
& esetup)
override
;
30
void
endJob
()
override
;
31
32
edm::EDGetTokenT<reco::VertexCompositeCandidateCollection>
LambdaCollectionToken_
;
33
edm::EDGetTokenT<reco::VertexCompositeCandidateCollection>
KShortCollectionToken_
;
34
35
int
events_v0
;
36
int
total_v0
;
37
int
total_lambda
;
38
int
total_kshort
;
39
40
};
41
42
#endif
VertexCompositeCandidate.h
OniaAddV0TracksProducer::total_v0
int total_v0
Definition:
OniaAddV0TracksProducer.h:36
OniaAddV0TracksProducer::total_kshort
int total_kshort
Definition:
OniaAddV0TracksProducer.h:38
OniaAddV0TracksProducer::endJob
void endJob() override
Definition:
OniaAddV0TracksProducer.cc:68
OniaAddV0TracksProducer::KShortCollectionToken_
edm::EDGetTokenT< reco::VertexCompositeCandidateCollection > KShortCollectionToken_
Definition:
OniaAddV0TracksProducer.h:33
Event.h
MakerMacros.h
OniaAddV0TracksProducer
Definition:
OniaAddV0TracksProducer.h:22
OniaAddV0TracksProducer::events_v0
int events_v0
Definition:
OniaAddV0TracksProducer.h:35
edm::EDGetTokenT< reco::VertexCompositeCandidateCollection >
Frameworkfwd.h
edm::EDProducer
Definition:
EDProducer.h:35
ParameterSet.h
OniaAddV0TracksProducer::produce
void produce(edm::Event &event, const edm::EventSetup &esetup) override
Definition:
OniaAddV0TracksProducer.cc:22
OniaAddV0TracksProducer::total_lambda
int total_lambda
Definition:
OniaAddV0TracksProducer.h:37
edm::EventSetup
Definition:
EventSetup.h:52
EDProducer.h
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:36
OniaAddV0TracksProducer::LambdaCollectionToken_
edm::EDGetTokenT< reco::VertexCompositeCandidateCollection > LambdaCollectionToken_
Definition:
OniaAddV0TracksProducer.h:32
edm::Event
Definition:
Event.h:70
OniaAddV0TracksProducer::OniaAddV0TracksProducer
OniaAddV0TracksProducer(const edm::ParameterSet &ps)
Definition:
OniaAddV0TracksProducer.cc:7
ConsumesCollector.h
event
Definition:
event.py:1
Generated for CMSSW Reference Manual by
1.8.11