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 // $Id: BeginOfTrackCounter.h,v 1.1 2005/11/29 18:42:56 chrjones Exp $
21 //
22 
23 // system include files
24 #include <string>
25 
26 // user include files
30 
31 // forward declarations
32 namespace simwatcher {
34  public Observer<const BeginOfTrack*>
35 {
36 
37  public:
39 
40  // ---------- const member functions ---------------------
41 
42  // ---------- static member functions --------------------
43 
44  // ---------- member functions ---------------------------
45  void produce(edm::Event&, const edm::EventSetup&);
46 
47  private:
48  BeginOfTrackCounter(const BeginOfTrackCounter&); // stop default
49 
50  const BeginOfTrackCounter& operator=(const BeginOfTrackCounter&); // stop default
51 
52  void update(const BeginOfTrack*);
53  // ---------- member data --------------------------------
54  int m_count;
55  std::string m_label;
56 };
57 
58 }
59 #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.