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 86 of file GEDPhotonProducer.cc.

Member Enumeration Documentation

Enumerator
kOOT 
kFinal 

Definition at line 88 of file GEDPhotonProducer.cc.

Constructor & Destructor Documentation

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

Definition at line 245 of file GEDPhotonProducer.cc.

References Exception, flags_, kFinal, and kOOT.

245  : flags_(0) {
246  if (step == "final")
247  flags_ = kFinal;
248  else if (step == "oot")
249  flags_ = kOOT;
250  else if (step == "ootfinal")
251  flags_ = (kOOT | kFinal);
252  else if (step == "tmp")
253  flags_ = 0;
254  else {
255  throw cms::Exception("InvalidConfig")
256  << " reconstructStep " << step << " is invalid, the options are: tmp, final,oot or ootfinal" << std::endl;
257  }
258 }
step
Definition: StallMonitor.cc:94

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 95 of file GEDPhotonProducer.cc.

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