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