CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
IMASelector Struct Reference

#include <IMASelector.h>

Public Member Functions

 IMASelector (double ESCOPinMin, double ESeedOPoutMin, double PinMPoutOPinMin, double ESCOPinMax, double ESeedOPoutMax, double PinMPoutOPinMax, double EMPoutMin, double EMPoutMax)
 
template<typename T >
bool operator() (const T &t) const
 

Private Attributes

double EMPoutMax_
 
double EMPoutMin_
 
double ESCOPinMax_
 
double ESCOPinMin_
 
double ESeedOPoutMax_
 
double ESeedOPoutMin_
 
double PinMPoutOPinMax_
 
double PinMPoutOPinMin_
 

Detailed Description

Definition at line 7 of file IMASelector.h.

Constructor & Destructor Documentation

◆ IMASelector()

IMASelector::IMASelector ( double  ESCOPinMin,
double  ESeedOPoutMin,
double  PinMPoutOPinMin,
double  ESCOPinMax,
double  ESeedOPoutMax,
double  PinMPoutOPinMax,
double  EMPoutMin,
double  EMPoutMax 
)
inline

Definition at line 8 of file IMASelector.h.

16  : ESCOPinMin_(ESCOPinMin),
17  ESeedOPoutMin_(ESeedOPoutMin),
18  PinMPoutOPinMin_(PinMPoutOPinMin),
19  ESCOPinMax_(ESCOPinMax),
20  ESeedOPoutMax_(ESeedOPoutMax),
21  PinMPoutOPinMax_(PinMPoutOPinMax),
22  EMPoutMin_(EMPoutMin),
23  EMPoutMax_(EMPoutMax) {}

Member Function Documentation

◆ operator()()

template<typename T >
bool IMASelector::operator() ( const T t) const
inline

Definition at line 26 of file IMASelector.h.

26  {
27  double pin = t.trackMomentumAtVtx().R();
28  double poMpiOpi = (pin - t.trackMomentumOut().R()) / pin;
29  double ESC = t.energy();
30  double pOut = t.trackMomentumOut().R();
31  double EseedOPout = t.eSeedClusterOverPout();
32  double EoPin = t.eSuperClusterOverP();
33  double EoPout = (ESC) / pOut;
34  return (poMpiOpi > PinMPoutOPinMin_ && poMpiOpi < PinMPoutOPinMax_ && EseedOPout > ESeedOPoutMin_ &&
35  EseedOPout < ESeedOPoutMax_ && EoPin > ESCOPinMin_ && EoPin < ESCOPinMax_ && EoPout > EMPoutMin_ &&
36  EoPout < EMPoutMax_);
37  }

References EMPoutMax_, EMPoutMin_, ESCOPinMin_, ESeedOPoutMin_, PinMPoutOPinMin_, and submitPVValidationJobs::t.

Member Data Documentation

◆ EMPoutMax_

double IMASelector::EMPoutMax_
private

Definition at line 42 of file IMASelector.h.

Referenced by operator()().

◆ EMPoutMin_

double IMASelector::EMPoutMin_
private

Definition at line 42 of file IMASelector.h.

Referenced by operator()().

◆ ESCOPinMax_

double IMASelector::ESCOPinMax_
private

Definition at line 41 of file IMASelector.h.

◆ ESCOPinMin_

double IMASelector::ESCOPinMin_
private

Definition at line 40 of file IMASelector.h.

Referenced by operator()().

◆ ESeedOPoutMax_

double IMASelector::ESeedOPoutMax_
private

Definition at line 41 of file IMASelector.h.

◆ ESeedOPoutMin_

double IMASelector::ESeedOPoutMin_
private

Definition at line 40 of file IMASelector.h.

Referenced by operator()().

◆ PinMPoutOPinMax_

double IMASelector::PinMPoutOPinMax_
private

Definition at line 41 of file IMASelector.h.

◆ PinMPoutOPinMin_

double IMASelector::PinMPoutOPinMin_
private

Definition at line 40 of file IMASelector.h.

Referenced by operator()().

IMASelector::ESeedOPoutMin_
double ESeedOPoutMin_
Definition: IMASelector.h:40
IMASelector::ESCOPinMin_
double ESCOPinMin_
Definition: IMASelector.h:40
IMASelector::EMPoutMin_
double EMPoutMin_
Definition: IMASelector.h:42
IMASelector::PinMPoutOPinMin_
double PinMPoutOPinMin_
Definition: IMASelector.h:40
IMASelector::ESeedOPoutMax_
double ESeedOPoutMax_
Definition: IMASelector.h:41
IMASelector::EMPoutMax_
double EMPoutMax_
Definition: IMASelector.h:42
IMASelector::PinMPoutOPinMax_
double PinMPoutOPinMax_
Definition: IMASelector.h:41
submitPVValidationJobs.t
string t
Definition: submitPVValidationJobs.py:644
IMASelector::ESCOPinMax_
double ESCOPinMax_
Definition: IMASelector.h:41