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
edm::EDGetTokenT< reco::VertexCompositeCandidateCollection > KShortCollectionToken_
void produce(edm::StreamID, edm::Event &event, const edm::EventSetup &esetup) const override
edm::EDGetTokenT< reco::VertexCompositeCandidateCollection > LambdaCollectionToken_
OniaAddV0TracksProducer(const edm::ParameterSet &ps)
Definition: event.py:1