CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
xxxEventHypothesis.h
Go to the documentation of this file.
1 #ifndef xxxEventHypothesis_h
2 #define xxxEventHypothesis_h
3 // -*- C++ -*-
5 //
6 // Package: xxxEventHypothesis
7 // Class: xxxEventHypothesis
8 //
13 //-------------------------------------------------------------------------------------
21 //-------------------------------------------------------------------------------------
22 //
23 //
24 // Original Author: John Doe
25 // Created: day-mon-xx
26 // RCS(Id)
27 //
28 
30 
31 
32 namespace pat {
33 
35  public:
36 
37  // This will return static event-wide definitions of the candidate roles.
38  static const int N_ROLES = 0;
39  static const char * candidateRoles[N_ROLES];
40  static const bool isVector[N_ROLES];
41  virtual int getNCandidateRoles () const { return N_ROLES; }
42  virtual const char * getCandidateRole (int i = 0) const;
43  virtual bool getIsVector( int i = 0 ) const;
44  virtual int getSize( int i = 0 ) const;
45 
46 
48  virtual ~xxxEventHypothesis() {}
49 
50  // This is where the event-specific interface will go
52 
53  protected:
54 
55  // These must be implemented so that this class can be used by the StarterKit to
56  // automatically make plots.
57  virtual Candidate & getCandidate (std::string name, int index = -1);
58 
59 
60  // This is where the event-specific data members will go
62  };
63 
64 }
65 
66 #endif
int i
Definition: DBlmapReader.cc:9
HardEventHypothesis is a pure virtual base class to implement a "hard" event hypothesis class...
static const char * candidateRoles[N_ROLES]
virtual int getSize(int i=0) const
virtual Candidate & getCandidate(std::string name, int index=-1)
virtual const char * getCandidateRole(int i=0) const
static const bool isVector[N_ROLES]
virtual bool getIsVector(int i=0) const
virtual int getNCandidateRoles() const