CMS 3D CMS Logo

BeginOfTrackCounter.h
Go to the documentation of this file.
1 #ifndef HelpfulWatchers_BeginOfTrackCounter_h
2 #define HelpfulWatchers_BeginOfTrackCounter_h
3 // -*- C++ -*-
4 //
5 // Package: HelpfulWatchers
6 // Class : BeginOfTrackCounter
7 //
19 //
20 // Original Author:
21 // Created: Tue Nov 29 12:26:39 EST 2005
22 //
23 
24 // system include files
25 #include <string>
26 
27 // user include files
31 
32 // forward declarations
33 namespace edm {
34  class ParameterSet;
35 }
36 
37 namespace simwatcher {
38  class BeginOfTrackCounter : public SimProducer, public Observer<const BeginOfTrack *> {
39  public:
41  BeginOfTrackCounter(const BeginOfTrackCounter &) = delete; // stop default
42  const BeginOfTrackCounter &operator=(const BeginOfTrackCounter &) = delete; // stop default
43 
44  // ---------- const member functions ---------------------
45 
46  // ---------- static member functions --------------------
47 
48  // ---------- member functions ---------------------------
49  void produce(edm::Event &, const edm::EventSetup &) override;
50 
51  private:
52  void update(const BeginOfTrack *) override;
53  // ---------- member data --------------------------------
54  int m_count;
56  };
57 
58 } // namespace simwatcher
59 #endif
void produce(edm::Event &, const edm::EventSetup &) override
void update(const BeginOfTrack *) override
This routine will be called when the appropriate signal arrives.
BeginOfTrackCounter(const edm::ParameterSet &)
const BeginOfTrackCounter & operator=(const BeginOfTrackCounter &)=delete
HLT enums.