CMS 3D CMS Logo

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

Member Enumeration Documentation

◆ FlagBits

Enumerator
kOOT 
kFinal 

Definition at line 106 of file GEDPhotonProducer.cc.

Constructor & Destructor Documentation

◆ RecoStepInfo()

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

Definition at line 266 of file GEDPhotonProducer.cc.

References Exception, flags_, kFinal, and kOOT.

266  : flags_(0) {
267  if (step == "final")
268  flags_ = kFinal;
269  else if (step == "oot")
270  flags_ = kOOT;
271  else if (step == "ootfinal")
272  flags_ = (kOOT | kFinal);
273  else if (step == "tmp")
274  flags_ = 0;
275  else {
276  throw cms::Exception("InvalidConfig")
277  << " reconstructStep " << step << " is invalid, the options are: tmp, final,oot or ootfinal" << std::endl;
278  }
279 }
step
Definition: StallMonitor.cc:83

Member Function Documentation

◆ isFinal()

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

◆ isOOT()

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

Member Data Documentation

◆ flags_

unsigned int GEDPhotonProducer::RecoStepInfo::flags_
private

Definition at line 113 of file GEDPhotonProducer.cc.

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