CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Private Attributes
GEDPhotonProducer::RecoStepInfo Class Reference

Public Types

enum  FlagBits { kOOT = 0x1, kFinal = 0x2 }
 

Public Member Functions

bool isFinal () const
 
bool isOOT () const
 
 RecoStepInfo (const std::string &recoStep)
 

Private Attributes

unsigned int flags_
 

Detailed Description

Definition at line 97 of file GEDPhotonProducer.cc.

Member Enumeration Documentation

Enumerator
kOOT 
kFinal 

Definition at line 99 of file GEDPhotonProducer.cc.

Constructor & Destructor Documentation

GEDPhotonProducer::RecoStepInfo::RecoStepInfo ( const std::string &  recoStep)
explicit

Definition at line 259 of file GEDPhotonProducer.cc.

References Exception, flags_, kFinal, and kOOT.

259  : flags_(0) {
260  if (step == "final")
261  flags_ = kFinal;
262  else if (step == "oot")
263  flags_ = kOOT;
264  else if (step == "ootfinal")
265  flags_ = (kOOT | kFinal);
266  else if (step == "tmp")
267  flags_ = 0;
268  else {
269  throw cms::Exception("InvalidConfig")
270  << " reconstructStep " << step << " is invalid, the options are: tmp, final,oot or ootfinal" << std::endl;
271  }
272 }
step
Definition: StallMonitor.cc:98

Member Function Documentation

bool GEDPhotonProducer::RecoStepInfo::isFinal ( ) const
inline
bool GEDPhotonProducer::RecoStepInfo::isOOT ( ) const
inline

Member Data Documentation

unsigned int GEDPhotonProducer::RecoStepInfo::flags_
private

Definition at line 106 of file GEDPhotonProducer.cc.

Referenced by isFinal(), isOOT(), and RecoStepInfo().