#include <TrackingParticleSelector.h>
Public Member Functions | |
bool | isCharged (const TrackingParticle *tp) const |
bool | isInTime (const TrackingParticle *tp) const |
bool | isSignal (const TrackingParticle *tp) const |
bool | isStable (const TrackingParticle *tp) const |
bool | operator() (const TrackingParticle &tp) const |
bool | operator() (const TrackingParticle *tp) const |
bool | select (const TrackingParticle *tp) const |
bool | selectKinematics (const TrackingParticle *tp) const |
bool | selectParticleType (const TrackingParticle *tp) const |
TrackingParticleSelector () | |
TrackingParticleSelector (double ptMin, double ptMax, double minRapidity, double maxRapidity, double tip, double lip, int minHit, bool signalOnly, bool intimeOnly, bool chargedOnly, bool stableOnly, const std::vector< int > &pdgId=std::vector< int >(), bool invertRapidityCut=false, double minPhi=-3.2, double maxPhi=3.2) | |
Private Attributes | |
bool | chargedOnly_ |
bool | intimeOnly_ |
bool | invertRapidityCut_ |
double | lip_ |
float | maxRapidity_ |
float | meanPhi_ |
int | minHit_ |
float | minRapidity_ |
std::vector< int > | pdgId_ |
double | ptMax2_ |
double | ptMin2_ |
float | rangePhi_ |
bool | signalOnly_ |
bool | stableOnly_ |
double | tip2_ |
Definition at line 16 of file TrackingParticleSelector.h.
|
inline |
Definition at line 18 of file TrackingParticleSelector.h.
|
inline |
Definition at line 19 of file TrackingParticleSelector.h.
References Exception, M_PI, HLT_2024v10_cff::maxPhi, and HLT_2024v10_cff::minPhi.
|
inline |
Definition at line 67 of file TrackingParticleSelector.h.
References funct::false, and cmsswSequenceInfo::tp.
Referenced by select().
|
inline |
Definition at line 69 of file TrackingParticleSelector.h.
References cmsswSequenceInfo::tp.
Referenced by select().
|
inline |
Definition at line 71 of file TrackingParticleSelector.h.
References cmsswSequenceInfo::tp.
Referenced by select().
|
inline |
Definition at line 75 of file TrackingParticleSelector.h.
References funct::abs(), dqmiolumiharvest::j, EgammaValidation_cff::pdgid, and cmsswSequenceInfo::tp.
Referenced by select().
|
inline |
Operator() performs the selection: e.g. if (tPSelector(tp)) {...} https://stackoverflow.com/questions/14466620/c-template-specialization-calling-methods-on-types-that-could-be-pointers-or/14466705
Definition at line 92 of file TrackingParticleSelector.h.
References select(), and cmsswSequenceInfo::tp.
|
inline |
Definition at line 93 of file TrackingParticleSelector.h.
References select(), and cmsswSequenceInfo::tp.
|
inline |
Definition at line 95 of file TrackingParticleSelector.h.
References chargedOnly_, intimeOnly_, isCharged(), isInTime(), isSignal(), isStable(), selectKinematics(), selectParticleType(), signalOnly_, stableOnly_, and cmsswSequenceInfo::tp.
Referenced by operator()().
|
inline |
Definition at line 120 of file TrackingParticleSelector.h.
References funct::abs(), SiPixelRawToDigiRegional_cfi::deltaPhi, PVValHelper::eta, invertRapidityCut_, lip_, maxRapidity_, meanPhi_, minHit_, minRapidity_, AlCaHLTBitMon_ParallelJobs::p, HLT_2024v10_cff::pt2, ptMax2_, ptMin2_, rangePhi_, tip2_, and cmsswSequenceInfo::tp.
Referenced by select().
|
inline |
Definition at line 142 of file TrackingParticleSelector.h.
References EgammaValidation_cff::pdgid, pdgId_, and cmsswSequenceInfo::tp.
Referenced by select().
|
private |
Definition at line 168 of file TrackingParticleSelector.h.
Referenced by select().
|
private |
Definition at line 167 of file TrackingParticleSelector.h.
Referenced by select().
|
private |
Definition at line 171 of file TrackingParticleSelector.h.
Referenced by selectKinematics().
|
private |
Definition at line 164 of file TrackingParticleSelector.h.
Referenced by selectKinematics().
|
private |
Definition at line 160 of file TrackingParticleSelector.h.
Referenced by selectKinematics().
|
private |
Definition at line 161 of file TrackingParticleSelector.h.
Referenced by selectKinematics().
|
private |
Definition at line 165 of file TrackingParticleSelector.h.
Referenced by selectKinematics().
|
private |
Definition at line 159 of file TrackingParticleSelector.h.
Referenced by selectKinematics().
|
private |
Definition at line 170 of file TrackingParticleSelector.h.
Referenced by selectParticleType().
|
private |
Definition at line 158 of file TrackingParticleSelector.h.
Referenced by selectKinematics().
|
private |
Definition at line 157 of file TrackingParticleSelector.h.
Referenced by selectKinematics().
|
private |
Definition at line 162 of file TrackingParticleSelector.h.
Referenced by selectKinematics().
|
private |
Definition at line 166 of file TrackingParticleSelector.h.
Referenced by select().
|
private |
Definition at line 169 of file TrackingParticleSelector.h.
Referenced by select().
|
private |
Definition at line 163 of file TrackingParticleSelector.h.
Referenced by selectKinematics().