CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EventHypothesis.h
Go to the documentation of this file.
1 #ifndef __class___h
2 #define __class___h
3 // -*- C++ -*-
4 //
5 // Package: __pkgname__
6 // Class: __class__
7 //
12 //-------------------------------------------------------------------------------------
13 //\class __class__ __class__.cc __subsys__/__package__/plugins/__class__.h
14 //\brief YOUR COMMENTS GO HERE
15 //
16 //
17 // A long description of the event hypothesis class should go here.
18 //
19 //
20 //-------------------------------------------------------------------------------------
21 //
22 //
23 // Original Author: __author__
24 // Created: __date__
25 //
26 
28 
29 
30 namespace pat {
31 
32  class __class__ : public HardEventHypothesis {
33  public:
34 
35  // This will return static event-wide definitions of the candidate roles.
36  static const int N_ROLES = 0;
37  static const char * candidateRoles[N_ROLES];
38  static const bool isVector[N_ROLES];
39  virtual int getNCandidateRoles () const { return N_ROLES; }
40  virtual const char * getCandidateRole (int i = 0) const;
41  virtual bool getIsVector( int i = 0 ) const;
42  virtual int getSize( int i = 0 ) const;
43 
44 
45  __class__() {}
46  virtual ~__class__() {}
47 
48  // This is where the event-specific interface will go
50 
51  protected:
52 
53  // These must be implemented so that this class can be used by the StarterKit to
54  // automatically make plots.
55  virtual Candidate & getCandidate (std::string name, int index = -1);
56 
57 
58  // This is where the event-specific data members will go
60  };
61 
62 }
63 
64 #endif
int i
Definition: DBlmapReader.cc:9
HardEventHypothesis is a pure virtual base class to implement a "hard" event hypothesis class...
virtual const char * getCandidateRole(int i=0) const
virtual int getNCandidateRoles() const
static const char * candidateRoles[N_ROLES]
virtual ~__class__()
virtual Candidate & getCandidate(std::string name, int index=-1)
static const int N_ROLES
virtual bool getIsVector(int i=0) const
static const bool isVector[N_ROLES]
virtual int getSize(int i=0) const