CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Public Attributes
CTPPSProtonProducer::AssociationCuts Struct Reference

Public Member Functions

void load (const edm::ParameterSet &ps)
 

Static Public Member Functions

static edm::ParameterSetDescription getDefaultParameters ()
 

Public Attributes

bool th_y_cut_apply
 
double th_y_cut_value
 
bool x_cut_apply
 
double x_cut_value
 
bool xi_cut_apply
 
double xi_cut_value
 
bool y_cut_apply
 
double y_cut_value
 

Detailed Description

Definition at line 60 of file CTPPSProtonProducer.cc.

Member Function Documentation

static edm::ParameterSetDescription CTPPSProtonProducer::AssociationCuts::getDefaultParameters ( )
inlinestatic

Definition at line 83 of file CTPPSProtonProducer.cc.

References edm::ParameterSetDescription::add(), and edm::ParameterDescriptionNode::setComment().

Referenced by CTPPSProtonProducer::fillDescriptions().

84  {
86 
87  desc.add<bool>("x_cut_apply", false)->setComment("whether to apply track-association cut in x");
88  desc.add<double>("x_cut_value", 800E-6)->setComment("threshold of track-association cut in x, mm");
89  desc.add<bool>("y_cut_apply", false)->setComment("whether to apply track-association cut in y");
90  desc.add<double>("y_cut_value", 600E-6)->setComment("threshold of track-association cut in y, mm");
91  desc.add<bool>("xi_cut_apply", true)->setComment("whether to apply track-association cut in xi");
92  desc.add<double>("xi_cut_value", 0.013)->setComment("threshold of track-association cut in xi");
93  desc.add<bool>("th_y_cut_apply", true)->setComment("whether to apply track-association cut in th_y");
94  desc.add<double>("th_y_cut_value", 20E-6)->setComment("threshold of track-association cut in th_y, rad");
95 
96  return desc;
97  }
void setComment(std::string const &value)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void CTPPSProtonProducer::AssociationCuts::load ( const edm::ParameterSet ps)
inline

Definition at line 71 of file CTPPSProtonProducer.cc.

References edm::ParameterSet::getParameter().

72  {
73  x_cut_apply = ps.getParameter<bool> ("x_cut_apply");
74  x_cut_value = ps.getParameter<double>("x_cut_value");
75  y_cut_apply = ps.getParameter<bool> ("y_cut_apply");
76  y_cut_value = ps.getParameter<double>("y_cut_value");
77  xi_cut_apply = ps.getParameter<bool> ("xi_cut_apply");
78  xi_cut_value = ps.getParameter<double>("xi_cut_value");
79  th_y_cut_apply = ps.getParameter<bool> ("th_y_cut_apply");
80  th_y_cut_value = ps.getParameter<double>("th_y_cut_value");
81  }
T getParameter(std::string const &) const

Member Data Documentation

bool CTPPSProtonProducer::AssociationCuts::th_y_cut_apply

Definition at line 68 of file CTPPSProtonProducer.cc.

double CTPPSProtonProducer::AssociationCuts::th_y_cut_value

Definition at line 69 of file CTPPSProtonProducer.cc.

bool CTPPSProtonProducer::AssociationCuts::x_cut_apply

Definition at line 62 of file CTPPSProtonProducer.cc.

double CTPPSProtonProducer::AssociationCuts::x_cut_value

Definition at line 63 of file CTPPSProtonProducer.cc.

bool CTPPSProtonProducer::AssociationCuts::xi_cut_apply

Definition at line 66 of file CTPPSProtonProducer.cc.

double CTPPSProtonProducer::AssociationCuts::xi_cut_value

Definition at line 67 of file CTPPSProtonProducer.cc.

bool CTPPSProtonProducer::AssociationCuts::y_cut_apply

Definition at line 64 of file CTPPSProtonProducer.cc.

double CTPPSProtonProducer::AssociationCuts::y_cut_value

Definition at line 65 of file CTPPSProtonProducer.cc.