CMS 3D CMS Logo

OniaAddV0TracksProducer.h
Go to the documentation of this file.
1 #ifndef __OniaAddV0TracksProducer_h_
2 #define __OniaAddV0TracksProducer_h_
3 
9 
12 
14 
15 #include <vector>
16 #include <atomic>
17 
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 
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:57
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