CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Attributes
CosmicTrackingParticleSelector Class Reference

#include <CosmicTrackingParticleSelector.h>

Public Types

typedef TrackingParticleCollection collection
 
typedef container::const_iterator const_iterator
 
typedef std::vector< const
TrackingParticle * > 
container
 

Public Member Functions

const_iterator begin () const
 
 CosmicTrackingParticleSelector ()
 
 CosmicTrackingParticleSelector (double ptMin, double minRapidity, double maxRapidity, double tip, double lip, int minHit, bool chargedOnly, const std::vector< int > &pdgId=std::vector< int >())
 
 CosmicTrackingParticleSelector (const edm::ParameterSet &cfg, edm::ConsumesCollector &&iC)
 
const_iterator end () const
 
void initEvent (edm::Handle< SimHitTPAssociationProducer::SimHitTPAssociationList > simHitsTPAssocToSet) const
 
bool operator() (const TrackingParticleRef tpr, const reco::BeamSpot *bs, const edm::Event &iEvent, const edm::EventSetup &iSetup) const
 
void select (const edm::Handle< collection > &c, const edm::Event &event, const edm::EventSetup &setup)
 
size_t size () const
 

Private Attributes

edm::EDGetTokenT< reco::BeamSpotbeamSpotToken_
 
bool chargedOnly_
 
double lip_
 
double maxRapidity_
 
int minHit_
 
double minRapidity_
 
std::vector< int > pdgId_
 
double ptMin_
 
container selected_
 
edm::Handle
< SimHitTPAssociationProducer::SimHitTPAssociationList
simHitsTPAssoc
 
double tip_
 

Detailed Description

Definition at line 39 of file CosmicTrackingParticleSelector.h.

Member Typedef Documentation

Definition at line 42 of file CosmicTrackingParticleSelector.h.

typedef container::const_iterator CosmicTrackingParticleSelector::const_iterator

Definition at line 44 of file CosmicTrackingParticleSelector.h.

Definition at line 43 of file CosmicTrackingParticleSelector.h.

Constructor & Destructor Documentation

CosmicTrackingParticleSelector::CosmicTrackingParticleSelector ( )
inline

Definition at line 46 of file CosmicTrackingParticleSelector.h.

CosmicTrackingParticleSelector::CosmicTrackingParticleSelector ( double  ptMin,
double  minRapidity,
double  maxRapidity,
double  tip,
double  lip,
int  minHit,
bool  chargedOnly,
const std::vector< int > &  pdgId = std::vector<int>() 
)
inline

Definition at line 48 of file CosmicTrackingParticleSelector.h.

CosmicTrackingParticleSelector::CosmicTrackingParticleSelector ( const edm::ParameterSet cfg,
edm::ConsumesCollector &&  iC 
)
inline

Definition at line 55 of file CosmicTrackingParticleSelector.h.

Member Function Documentation

const_iterator CosmicTrackingParticleSelector::begin ( void  ) const
inline

Definition at line 78 of file CosmicTrackingParticleSelector.h.

const_iterator CosmicTrackingParticleSelector::end ( void  ) const
inline

Definition at line 79 of file CosmicTrackingParticleSelector.h.

void CosmicTrackingParticleSelector::initEvent ( edm::Handle< SimHitTPAssociationProducer::SimHitTPAssociationList simHitsTPAssocToSet) const
inline

Definition at line 81 of file CosmicTrackingParticleSelector.h.

bool CosmicTrackingParticleSelector::operator() ( const TrackingParticleRef  tpr,
const reco::BeamSpot bs,
const edm::Event iEvent,
const edm::EventSetup iSetup 
) const
inline

Definition at line 86 of file CosmicTrackingParticleSelector.h.

void CosmicTrackingParticleSelector::select ( const edm::Handle< collection > &  c,
const edm::Event event,
const edm::EventSetup setup 
)
inline
size_t CosmicTrackingParticleSelector::size ( void  ) const
inline

Definition at line 194 of file CosmicTrackingParticleSelector.h.

Member Data Documentation

edm::EDGetTokenT<reco::BeamSpot> CosmicTrackingParticleSelector::beamSpotToken_
private

Definition at line 207 of file CosmicTrackingParticleSelector.h.

bool CosmicTrackingParticleSelector::chargedOnly_
private

Definition at line 204 of file CosmicTrackingParticleSelector.h.

double CosmicTrackingParticleSelector::lip_
private

Definition at line 202 of file CosmicTrackingParticleSelector.h.

double CosmicTrackingParticleSelector::maxRapidity_
private

Definition at line 200 of file CosmicTrackingParticleSelector.h.

int CosmicTrackingParticleSelector::minHit_
private

Definition at line 203 of file CosmicTrackingParticleSelector.h.

double CosmicTrackingParticleSelector::minRapidity_
private

Definition at line 199 of file CosmicTrackingParticleSelector.h.

std::vector<int> CosmicTrackingParticleSelector::pdgId_
private

Definition at line 205 of file CosmicTrackingParticleSelector.h.

double CosmicTrackingParticleSelector::ptMin_
private

Definition at line 198 of file CosmicTrackingParticleSelector.h.

container CosmicTrackingParticleSelector::selected_
private

Definition at line 206 of file CosmicTrackingParticleSelector.h.

edm::Handle<SimHitTPAssociationProducer::SimHitTPAssociationList> CosmicTrackingParticleSelector::simHitsTPAssoc
mutableprivate

Definition at line 209 of file CosmicTrackingParticleSelector.h.

double CosmicTrackingParticleSelector::tip_
private

Definition at line 201 of file CosmicTrackingParticleSelector.h.