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_mean
 
double th_y_cut_value
 
double ti_tr_max
 
double ti_tr_min
 
bool x_cut_apply
 
double x_cut_mean
 
double x_cut_value
 
bool xi_cut_apply
 
double xi_cut_mean
 
double xi_cut_value
 
bool y_cut_apply
 
double y_cut_mean
 
double y_cut_value
 

Detailed Description

Definition at line 63 of file CTPPSProtonProducer.cc.

Member Function Documentation

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

Definition at line 99 of file CTPPSProtonProducer.cc.

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

Referenced by CTPPSProtonProducer::fillDescriptions().

100  {
102 
103  desc.add<bool>("x_cut_apply", false)->setComment("whether to apply track-association cut in x");
104  desc.add<double>("x_cut_mean", 0E-6)->setComment("mean of track-association cut in x, mm");
105  desc.add<double>("x_cut_value", 800E-6)->setComment("threshold of track-association cut in x, mm");
106 
107  desc.add<bool>("y_cut_apply", false)->setComment("whether to apply track-association cut in y");
108  desc.add<double>("y_cut_mean", 0E-6)->setComment("mean of track-association cut in y, mm");
109  desc.add<double>("y_cut_value", 600E-6)->setComment("threshold of track-association cut in y, mm");
110 
111  desc.add<bool>("xi_cut_apply", true)->setComment("whether to apply track-association cut in xi");
112  desc.add<double>("xi_cut_mean", 0.)->setComment("mean of track-association cut in xi");
113  desc.add<double>("xi_cut_value", 0.013)->setComment("threshold of track-association cut in xi");
114 
115  desc.add<bool>("th_y_cut_apply", true)->setComment("whether to apply track-association cut in th_y");
116  desc.add<double>("th_y_cut_mean", 0E-6)->setComment("mean of track-association cut in th_y, rad");
117  desc.add<double>("th_y_cut_value", 20E-6)->setComment("threshold of track-association cut in th_y, rad");
118 
119  desc.add<double>("ti_tr_min", -1.)->setComment("minimum value for timing-tracking association cut");
120  desc.add<double>("ti_tr_max", +1.)->setComment("maximum value for timing-tracking association cut");
121 
122  return desc;
123  }
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 77 of file CTPPSProtonProducer.cc.

References edm::ParameterSet::getParameter().

78  {
79  x_cut_apply = ps.getParameter<bool> ("x_cut_apply");
80  x_cut_mean = ps.getParameter<double>("x_cut_mean");
81  x_cut_value = ps.getParameter<double>("x_cut_value");
82 
83  y_cut_apply = ps.getParameter<bool> ("y_cut_apply");
84  y_cut_mean = ps.getParameter<double>("y_cut_mean");
85  y_cut_value = ps.getParameter<double>("y_cut_value");
86 
87  xi_cut_apply = ps.getParameter<bool> ("xi_cut_apply");
88  xi_cut_mean = ps.getParameter<double>("xi_cut_mean");
89  xi_cut_value = ps.getParameter<double>("xi_cut_value");
90 
91  th_y_cut_apply = ps.getParameter<bool> ("th_y_cut_apply");
92  th_y_cut_mean = ps.getParameter<double>("th_y_cut_mean");
93  th_y_cut_value = ps.getParameter<double>("th_y_cut_value");
94 
95  ti_tr_min = ps.getParameter<double>("ti_tr_min");
96  ti_tr_max = ps.getParameter<double>("ti_tr_max");
97  }
T getParameter(std::string const &) const

Member Data Documentation

bool CTPPSProtonProducer::AssociationCuts::th_y_cut_apply

Definition at line 71 of file CTPPSProtonProducer.cc.

double CTPPSProtonProducer::AssociationCuts::th_y_cut_mean

Definition at line 72 of file CTPPSProtonProducer.cc.

double CTPPSProtonProducer::AssociationCuts::th_y_cut_value

Definition at line 72 of file CTPPSProtonProducer.cc.

double CTPPSProtonProducer::AssociationCuts::ti_tr_max

Definition at line 75 of file CTPPSProtonProducer.cc.

double CTPPSProtonProducer::AssociationCuts::ti_tr_min

Definition at line 74 of file CTPPSProtonProducer.cc.

bool CTPPSProtonProducer::AssociationCuts::x_cut_apply

Definition at line 65 of file CTPPSProtonProducer.cc.

double CTPPSProtonProducer::AssociationCuts::x_cut_mean

Definition at line 66 of file CTPPSProtonProducer.cc.

double CTPPSProtonProducer::AssociationCuts::x_cut_value

Definition at line 66 of file CTPPSProtonProducer.cc.

bool CTPPSProtonProducer::AssociationCuts::xi_cut_apply

Definition at line 69 of file CTPPSProtonProducer.cc.

double CTPPSProtonProducer::AssociationCuts::xi_cut_mean

Definition at line 70 of file CTPPSProtonProducer.cc.

double CTPPSProtonProducer::AssociationCuts::xi_cut_value

Definition at line 70 of file CTPPSProtonProducer.cc.

bool CTPPSProtonProducer::AssociationCuts::y_cut_apply

Definition at line 67 of file CTPPSProtonProducer.cc.

double CTPPSProtonProducer::AssociationCuts::y_cut_mean

Definition at line 68 of file CTPPSProtonProducer.cc.

double CTPPSProtonProducer::AssociationCuts::y_cut_value

Definition at line 68 of file CTPPSProtonProducer.cc.