CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 //
17 //
18 // Original Author:
19 // Created: Tue Nov 29 12:26:39 EST 2005
20 //
21 
22 // system include files
23 #include <string>
24 
25 // user include files
29 
30 // forward declarations
31 namespace edm {
32  class ParameterSet;
33 }
34 
35 namespace simwatcher {
37  public Observer<const BeginOfTrack*>
38 {
39 
40  public:
42 
43  // ---------- const member functions ---------------------
44 
45  // ---------- static member functions --------------------
46 
47  // ---------- member functions ---------------------------
48  void produce(edm::Event&, const edm::EventSetup&);
49 
50  private:
51  BeginOfTrackCounter(const BeginOfTrackCounter&); // stop default
52 
53  const BeginOfTrackCounter& operator=(const BeginOfTrackCounter&); // stop default
54 
55  void update(const BeginOfTrack*);
56  // ---------- member data --------------------------------
57  int m_count;
59 };
60 
61 }
62 #endif
void produce(edm::Event &, const edm::EventSetup &)
const BeginOfTrackCounter & operator=(const BeginOfTrackCounter &)
BeginOfTrackCounter(const edm::ParameterSet &)
void update(const BeginOfTrack *)
This routine will be called when the appropriate signal arrives.