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
 
double ti_tr_max
 
double ti_tr_min
 
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 61 of file CTPPSProtonProducer.cc.

Member Function Documentation

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

Definition at line 90 of file CTPPSProtonProducer.cc.

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

Referenced by CTPPSProtonProducer::fillDescriptions().

91  {
93 
94  desc.add<bool>("x_cut_apply", false)->setComment("whether to apply track-association cut in x");
95  desc.add<double>("x_cut_value", 800E-6)->setComment("threshold of track-association cut in x, mm");
96  desc.add<bool>("y_cut_apply", false)->setComment("whether to apply track-association cut in y");
97  desc.add<double>("y_cut_value", 600E-6)->setComment("threshold of track-association cut in y, mm");
98  desc.add<bool>("xi_cut_apply", true)->setComment("whether to apply track-association cut in xi");
99  desc.add<double>("xi_cut_value", 0.013)->setComment("threshold of track-association cut in xi");
100  desc.add<bool>("th_y_cut_apply", true)->setComment("whether to apply track-association cut in th_y");
101  desc.add<double>("th_y_cut_value", 20E-6)->setComment("threshold of track-association cut in th_y, rad");
102 
103  desc.add<double>("ti_tr_min", -1.)->setComment("minimum value for timing-tracking association cut");
104  desc.add<double>("ti_tr_max", +1.)->setComment("maximum value for timing-tracking association cut");
105 
106  return desc;
107  }
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 75 of file CTPPSProtonProducer.cc.

References edm::ParameterSet::getParameter().

76  {
77  x_cut_apply = ps.getParameter<bool> ("x_cut_apply");
78  x_cut_value = ps.getParameter<double>("x_cut_value");
79  y_cut_apply = ps.getParameter<bool> ("y_cut_apply");
80  y_cut_value = ps.getParameter<double>("y_cut_value");
81  xi_cut_apply = ps.getParameter<bool> ("xi_cut_apply");
82  xi_cut_value = ps.getParameter<double>("xi_cut_value");
83  th_y_cut_apply = ps.getParameter<bool> ("th_y_cut_apply");
84  th_y_cut_value = ps.getParameter<double>("th_y_cut_value");
85 
86  ti_tr_min = ps.getParameter<double>("ti_tr_min");
87  ti_tr_max = ps.getParameter<double>("ti_tr_max");
88  }
T getParameter(std::string const &) const

Member Data Documentation

bool CTPPSProtonProducer::AssociationCuts::th_y_cut_apply

Definition at line 69 of file CTPPSProtonProducer.cc.

double CTPPSProtonProducer::AssociationCuts::th_y_cut_value

Definition at line 70 of file CTPPSProtonProducer.cc.

double CTPPSProtonProducer::AssociationCuts::ti_tr_max

Definition at line 73 of file CTPPSProtonProducer.cc.

double CTPPSProtonProducer::AssociationCuts::ti_tr_min

Definition at line 72 of file CTPPSProtonProducer.cc.

bool CTPPSProtonProducer::AssociationCuts::x_cut_apply

Definition at line 63 of file CTPPSProtonProducer.cc.

double CTPPSProtonProducer::AssociationCuts::x_cut_value

Definition at line 64 of file CTPPSProtonProducer.cc.

bool CTPPSProtonProducer::AssociationCuts::xi_cut_apply

Definition at line 67 of file CTPPSProtonProducer.cc.

double CTPPSProtonProducer::AssociationCuts::xi_cut_value

Definition at line 68 of file CTPPSProtonProducer.cc.

bool CTPPSProtonProducer::AssociationCuts::y_cut_apply

Definition at line 65 of file CTPPSProtonProducer.cc.

double CTPPSProtonProducer::AssociationCuts::y_cut_value

Definition at line 66 of file CTPPSProtonProducer.cc.