CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Public Attributes
ParticleReplacerZtautau::MinVisPtCut Struct Reference

Public Types

enum  { kELEC, kMU, kHAD, kTAU }
 

Public Member Functions

void print (std::ostream &stream) const
 

Public Attributes

unsigned index_
 
double threshold_
 
int type_
 

Detailed Description

Definition at line 94 of file ParticleReplacerZtautau.h.

Member Enumeration Documentation

anonymous enum

Member Function Documentation

void ParticleReplacerZtautau::MinVisPtCut::print ( std::ostream &  stream) const
inline

Definition at line 100 of file ParticleReplacerZtautau.h.

References index_, kELEC, kHAD, kMU, kTAU, AlCaHLTBitMon_QueryRunRegistry::string, threshold_, and type_.

101  {
102  std::string type_string = "";
103  if ( type_ == kELEC ) type_string = "elec";
104  else if ( type_ == kMU ) type_string = "mu";
105  else if ( type_ == kHAD ) type_string = "had";
106  else if ( type_ == kTAU ) type_string = "tau";
107  stream << type_string << " #" << index_ << ": threshold = " << threshold_ << std::endl;
108  }

Member Data Documentation

unsigned ParticleReplacerZtautau::MinVisPtCut::index_
double ParticleReplacerZtautau::MinVisPtCut::threshold_
int ParticleReplacerZtautau::MinVisPtCut::type_