#include <xxxEventHypothesis.h>
Public Member Functions | |
virtual const char * | getCandidateRole (int i=0) const |
virtual bool | getIsVector (int i=0) const |
virtual int | getNCandidateRoles () const |
virtual int | getSize (int i=0) const |
xxxEventHypothesis () | |
virtual | ~xxxEventHypothesis () |
Public Attributes | |
PutMyEventHypothesisInterfaceHere | |
Static Public Attributes | |
static const char * | candidateRoles [N_ROLES] |
static const bool | isVector [N_ROLES] |
static const int | N_ROLES = 0 |
Protected Member Functions | |
virtual Candidate & | getCandidate (std::string name, int index=-1) |
Protected Attributes | |
PutMyEventHypothesisDataMembersHere |
Definition at line 34 of file xxxEventHypothesis.h.
pat::xxxEventHypothesis::xxxEventHypothesis | ( | ) | [inline] |
Definition at line 47 of file xxxEventHypothesis.h.
{}
virtual pat::xxxEventHypothesis::~xxxEventHypothesis | ( | ) | [inline, virtual] |
Definition at line 48 of file xxxEventHypothesis.h.
{}
Candidate & xxxEventHypothesis::getCandidate | ( | std::string | name, |
int | index = -1 |
||
) | [protected, virtual] |
Implements pat::HardEventHypothesis.
Definition at line 35 of file xxxEventHypothesis.cc.
References ExpressReco_HICollisions_FallBack::cerr.
const char * xxxEventHypothesis::getCandidateRole | ( | int | i = 0 | ) | const [virtual] |
Implements pat::HardEventHypothesis.
Definition at line 25 of file xxxEventHypothesis.cc.
References candidateRoles, ExpressReco_HICollisions_FallBack::cerr, i, and N_ROLES.
bool xxxEventHypothesis::getIsVector | ( | int | i = 0 | ) | const [virtual] |
Implements pat::HardEventHypothesis.
Definition at line 15 of file xxxEventHypothesis.cc.
References ExpressReco_HICollisions_FallBack::cerr, i, isVector, and N_ROLES.
virtual int pat::xxxEventHypothesis::getNCandidateRoles | ( | ) | const [inline, virtual] |
int xxxEventHypothesis::getSize | ( | int | i = 0 | ) | const [virtual] |
Definition at line 44 of file xxxEventHypothesis.cc.
References candidateRoles, ExpressReco_HICollisions_FallBack::cerr, and AlCaRecoCosmics_cfg::name.
{ std::string name( candidateRoles[i] ); PutMySizesHere; std::cerr << "xxxEventHypothesis: Unknown role " << name << ", returning first member" << std::endl; return -1; }
const char * xxxEventHypothesis::candidateRoles [static] |
{ PutMyListOfCandidateRolesHere }
Definition at line 39 of file xxxEventHypothesis.h.
Referenced by getCandidateRole(), and getSize().
const bool xxxEventHypothesis::isVector [static] |
{ PutMyListOfVectorBoolsHere }
Definition at line 40 of file xxxEventHypothesis.h.
Referenced by getIsVector().
const int pat::xxxEventHypothesis::N_ROLES = 0 [static] |
Definition at line 38 of file xxxEventHypothesis.h.
Referenced by getCandidateRole(), getIsVector(), and getNCandidateRoles().
Definition at line 61 of file xxxEventHypothesis.h.
Definition at line 51 of file xxxEventHypothesis.h.