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 98 of file ParticleReplacerZtautau.h.

Member Enumeration Documentation

anonymous enum

Member Function Documentation

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

Definition at line 104 of file ParticleReplacerZtautau.h.

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

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

Member Data Documentation

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