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
public
:
24
explicit
OniaAddV0TracksProducer
(
const
edm::ParameterSet
& ps);
25
26
private
:
27
void
produce
(
edm::Event
&
event
,
const
edm::EventSetup
& esetup)
override
;
28
void
endJob
()
override
;
29
30
edm::EDGetTokenT<reco::VertexCompositeCandidateCollection>
LambdaCollectionToken_
;
31
edm::EDGetTokenT<reco::VertexCompositeCandidateCollection>
KShortCollectionToken_
;
32
33
int
events_v0
;
34
int
total_v0
;
35
int
total_lambda
;
36
int
total_kshort
;
37
};
38
39
#endif
OniaAddV0TracksProducer::LambdaCollectionToken_
edm::EDGetTokenT< reco::VertexCompositeCandidateCollection > LambdaCollectionToken_
Definition:
OniaAddV0TracksProducer.h:30
EDProducer.h
edm::EDGetTokenT< reco::VertexCompositeCandidateCollection >
OniaAddV0TracksProducer::KShortCollectionToken_
edm::EDGetTokenT< reco::VertexCompositeCandidateCollection > KShortCollectionToken_
Definition:
OniaAddV0TracksProducer.h:31
MakerMacros.h
OniaAddV0TracksProducer
Definition:
OniaAddV0TracksProducer.h:22
VertexCompositeCandidate.h
OniaAddV0TracksProducer::events_v0
int events_v0
Definition:
OniaAddV0TracksProducer.h:33
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
OniaAddV0TracksProducer::produce
void produce(edm::Event &event, const edm::EventSetup &esetup) override
Definition:
OniaAddV0TracksProducer.cc:23
OniaAddV0TracksProducer::OniaAddV0TracksProducer
OniaAddV0TracksProducer(const edm::ParameterSet &ps)
Definition:
OniaAddV0TracksProducer.cc:7
edm::EventSetup
Definition:
EventSetup.h:57
InputTag.h
OniaAddV0TracksProducer::total_lambda
int total_lambda
Definition:
OniaAddV0TracksProducer.h:35
Frameworkfwd.h
edm::EDProducer
Definition:
EDProducer.h:36
OniaAddV0TracksProducer::total_v0
int total_v0
Definition:
OniaAddV0TracksProducer.h:34
ConsumesCollector.h
ParameterSet.h
OniaAddV0TracksProducer::total_kshort
int total_kshort
Definition:
OniaAddV0TracksProducer.h:36
event
Definition:
event.py:1
edm::Event
Definition:
Event.h:73
OniaAddV0TracksProducer::endJob
void endJob() override
Definition:
OniaAddV0TracksProducer.cc:71
Generated for CMSSW Reference Manual by
1.8.16