#include <PPSAssociationCuts.h>
|
static double | evaluateExpression (std::shared_ptr< TF1 > expression, double x_near, double y_near, double xangle) |
|
|
template<class Archive > |
void | serialize (Archive &ar, const unsigned int version) |
|
Definition at line 24 of file PPSAssociationCuts.h.
◆ Quantities
◆ CutsPerArm() [1/2]
PPSAssociationCuts::CutsPerArm::CutsPerArm |
( |
| ) |
|
|
inline |
◆ CutsPerArm() [2/2]
PPSAssociationCuts::CutsPerArm::CutsPerArm |
( |
const edm::ParameterSet & |
iConfig, |
|
|
int |
sector |
|
) |
| |
Definition at line 16 of file PPSAssociationCuts.cc.
References edm::ParameterSet::getParameterSet(), mps_fire::i, SiStripPI::mean, names, s_means_, s_thresholds_, hgcalTBTopologyTester_cfi::sector, AlCaHLTBitMon_QueryRunRegistry::string, remoteMonitoring_LASER_era2018_cfg::threshold, ti_tr_max_, ti_tr_min_, and cond::impl::to_string().
19 const std::vector<std::string>
names{
"x",
"y",
"xi",
"th_y"};
20 for (std::size_t
i = 0;
i <
names.size(); ++
i) {
28 ti_tr_min_ = association_cuts.getParameter<
double>(
"ti_tr_min");
29 ti_tr_max_ = association_cuts.getParameter<
double>(
"ti_tr_max");
ParameterSet const & getParameterSet(std::string const &) const
std::string to_string(const V &value)
const std::string names[nVars_]
std::vector< std::string > s_thresholds_
std::vector< std::string > s_means_
◆ ~CutsPerArm()
PPSAssociationCuts::CutsPerArm::~CutsPerArm |
( |
| ) |
|
|
inline |
◆ buildFunctions()
void PPSAssociationCuts::CutsPerArm::buildFunctions |
( |
| ) |
|
Definition at line 34 of file PPSAssociationCuts.cc.
References alignCSCRings::s.
37 f_means_.push_back(std::make_shared<TF1>(
"f",
s.c_str()));
std::vector< std::string > s_thresholds_
std::vector< std::shared_ptr< TF1 > > f_means_
std::vector< std::shared_ptr< TF1 > > f_thresholds_
std::vector< std::string > s_means_
◆ evaluateExpression()
double PPSAssociationCuts::CutsPerArm::evaluateExpression |
( |
std::shared_ptr< TF1 > |
expression, |
|
|
double |
x_near, |
|
|
double |
y_near, |
|
|
double |
xangle |
|
) |
| |
|
staticprotected |
Definition at line 68 of file PPSAssociationCuts.cc.
References profile_base_cff::xangle.
72 expression->SetParameter(
"x_near", x_near);
73 expression->SetParameter(
"y_near", y_near);
74 expression->SetParameter(
"xangle",
xangle);
75 return expression->EvalPar(
nullptr);
◆ getMeans()
const std::vector<std::string>& PPSAssociationCuts::CutsPerArm::getMeans |
( |
| ) |
const |
|
inline |
◆ getThresholds()
const std::vector<std::string>& PPSAssociationCuts::CutsPerArm::getThresholds |
( |
| ) |
const |
|
inline |
◆ getTiTrMax()
double PPSAssociationCuts::CutsPerArm::getTiTrMax |
( |
| ) |
const |
|
inline |
◆ getTiTrMin()
double PPSAssociationCuts::CutsPerArm::getTiTrMin |
( |
| ) |
const |
|
inline |
◆ isApplied()
bool PPSAssociationCuts::CutsPerArm::isApplied |
( |
Quantities |
quantity | ) |
const |
◆ isSatisfied()
bool PPSAssociationCuts::CutsPerArm::isSatisfied |
( |
Quantities |
quantity, |
|
|
double |
x_near, |
|
|
double |
y_near, |
|
|
double |
xangle, |
|
|
double |
q_NF_diff |
|
) |
| const |
◆ serialize()
template<class Archive >
void PPSAssociationCuts::CutsPerArm::serialize |
( |
Archive & |
ar, |
|
|
const unsigned int |
version |
|
) |
| |
|
private |
◆ boost::serialization::access
friend class boost::serialization::access |
|
friend |
◆ cond::serialization::access
template<typename CondSerializationT , typename Enabled >
◆ f_means_
std::vector<std::shared_ptr<TF1> > PPSAssociationCuts::CutsPerArm::f_means_ |
|
protected |
◆ f_thresholds_
std::vector<std::shared_ptr<TF1> > PPSAssociationCuts::CutsPerArm::f_thresholds_ |
|
protected |
◆ s_means_
std::vector<std::string> PPSAssociationCuts::CutsPerArm::s_means_ |
|
protected |
◆ s_thresholds_
std::vector<std::string> PPSAssociationCuts::CutsPerArm::s_thresholds_ |
|
protected |
◆ ti_tr_max_
double PPSAssociationCuts::CutsPerArm::ti_tr_max_ |
|
protected |
◆ ti_tr_min_
double PPSAssociationCuts::CutsPerArm::ti_tr_min_ |
|
protected |