CMS 3D CMS Logo

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

#include <SiStripElectronSeedGenerator.h>

Classes

struct  Tokens
 

Public Types

typedef
TransientTrackingRecHit::ConstRecHitPointer 
ConstRecHitPointer
 
typedef edm::OwnVector
< TrackingRecHit
PRecHitContainer
 
typedef
TransientTrackingRecHit::RecHitContainer 
RecHitContainer
 
typedef
TransientTrackingRecHit::RecHitPointer 
RecHitPointer
 

Public Member Functions

void run (edm::Event &, const edm::EventSetup &setup, const edm::Handle< reco::SuperClusterCollection > &, reco::ElectronSeedCollection &)
 
void setupES (const edm::EventSetup &setup)
 
 SiStripElectronSeedGenerator (const edm::ParameterSet &, const Tokens &)
 
 ~SiStripElectronSeedGenerator ()
 

Private Member Functions

bool altCheckHitsAndTSOS (std::vector< const SiStripMatchedRecHit2D * >::const_iterator hit1, std::vector< const SiStripRecHit2D * >::const_iterator hit2, double scr, double scz, double pT, double scEta)
 
const SiStripRecHit2DbackupHitConverter (ConstRecHitPointer crhp)
 
bool checkHitsAndTSOS (std::vector< const SiStripMatchedRecHit2D * >::const_iterator hit1, std::vector< const SiStripMatchedRecHit2D * >::const_iterator hit2, double scr, double scz, double pT, double scEta)
 
void findSeedsFromCluster (edm::Ref< reco::SuperClusterCollection >, edm::Handle< reco::BeamSpot >, const MeasurementTrackerEvent &trackerData, reco::ElectronSeedCollection &)
 
const SiStripMatchedRecHit2DmatchedHitConverter (ConstRecHitPointer crhp)
 
double normalPhi (double phi) const
 
double phiDiff (double phi1, double phi2)
 
bool preselection (GlobalPoint position, GlobalPoint superCluster, double phiVsRSlope, int hitLayer)
 
double unwrapPhi (double phi) const
 
std::vector< bool > useDetLayer (double scEta)
 
int whichSubdetector (std::vector< const SiStripMatchedRecHit2D * >::const_iterator hit)
 

Private Attributes

std::vector< const
SiStripRecHit2D * > 
backupLayer2Hits_
 
edm::EDGetTokenT< reco::BeamSpotbeamSpotTag_
 
unsigned long long cacheIDCkfComp_
 
unsigned long long cacheIDMagField_
 
unsigned long long cacheIDTrkGeom_
 
std::vector< const
SiStripMatchedRecHit2D * > 
layer1Hits_
 
std::vector< const
SiStripMatchedRecHit2D * > 
layer2Hits_
 
int maxSeeds_
 
edm::ESHandle< MeasurementTrackermeasurementTrackerHandle
 
double monoDeltaPsiCut_
 
int monoMaxHits_
 
double monoOriginZCut_
 
double monoPhiMissHit2Cut_
 
PTrajectoryStateOnDet pts_
 
PRecHitContainer recHits_
 
double tecDeltaPsiCut_
 
int tecMaxHits_
 
double tecOriginZCut_
 
double tecPhiMissHit2Cut_
 
double tecRMissHit2Cut_
 
edm::Handle< reco::BeamSpottheBeamSpot
 
Chi2MeasurementEstimatortheEstimator
 
edm::ESHandle< MagneticFieldtheMagField
 
const SiStripRecHitMatchertheMatcher_
 
const MeasurementTrackertheMeasurementTracker
 
edm::EDGetTokenT
< MeasurementTrackerEvent
theMeasurementTrackerEventTag
 
std::string theMeasurementTrackerName
 
PropagatorWithMaterialthePropagator
 
const edm::EventSetuptheSetup
 
KFUpdatortheUpdator
 
double tibDeltaPsiCut_
 
double tibOriginZCut_
 
double tibPhiMissHit2Cut_
 
double tibZMissHit2Cut_
 
double tidDeltaPsiCut_
 
double tidEtaUsage_
 
int tidMaxHits_
 
double tidOriginZCut_
 
double tidPhiMissHit2Cut_
 
double tidRMissHit2Cut_
 
edm::ESHandle< TrackerGeometrytrackerGeometryHandle
 

Detailed Description

Class to generate the trajectory seed from two Si Strip hits.

Author
Chris Macklin, Avishek Chatterjee
Version
March 2009 (Adapt code to simplify call to SetupES)

Description: SiStrip-driven electron seed finding algorithm.

Definition at line 63 of file SiStripElectronSeedGenerator.h.

Member Typedef Documentation

Definition at line 73 of file SiStripElectronSeedGenerator.h.

Definition at line 72 of file SiStripElectronSeedGenerator.h.

Definition at line 75 of file SiStripElectronSeedGenerator.h.

Definition at line 74 of file SiStripElectronSeedGenerator.h.

Constructor & Destructor Documentation

SiStripElectronSeedGenerator::SiStripElectronSeedGenerator ( const edm::ParameterSet pset,
const Tokens tokens 
)

Definition at line 50 of file SiStripElectronSeedGenerator.cc.

SiStripElectronSeedGenerator::~SiStripElectronSeedGenerator ( )

Definition at line 93 of file SiStripElectronSeedGenerator.cc.

Member Function Documentation

bool SiStripElectronSeedGenerator::altCheckHitsAndTSOS ( std::vector< const SiStripMatchedRecHit2D * >::const_iterator  hit1,
std::vector< const SiStripRecHit2D * >::const_iterator  hit2,
double  scr,
double  scz,
double  pT,
double  scEta 
)
private

Definition at line 621 of file SiStripElectronSeedGenerator.cc.

const SiStripRecHit2D * SiStripElectronSeedGenerator::backupHitConverter ( ConstRecHitPointer  crhp)
private

Definition at line 750 of file SiStripElectronSeedGenerator.cc.

bool SiStripElectronSeedGenerator::checkHitsAndTSOS ( std::vector< const SiStripMatchedRecHit2D * >::const_iterator  hit1,
std::vector< const SiStripMatchedRecHit2D * >::const_iterator  hit2,
double  scr,
double  scz,
double  pT,
double  scEta 
)
private

Definition at line 520 of file SiStripElectronSeedGenerator.cc.

void SiStripElectronSeedGenerator::findSeedsFromCluster ( edm::Ref< reco::SuperClusterCollection seedCluster,
edm::Handle< reco::BeamSpot bs,
const MeasurementTrackerEvent trackerData,
reco::ElectronSeedCollection result 
)
private

Definition at line 146 of file SiStripElectronSeedGenerator.cc.

const SiStripMatchedRecHit2D * SiStripElectronSeedGenerator::matchedHitConverter ( ConstRecHitPointer  crhp)
private

Definition at line 744 of file SiStripElectronSeedGenerator.cc.

double SiStripElectronSeedGenerator::normalPhi ( double  phi) const
inlineprivate

Definition at line 88 of file SiStripElectronSeedGenerator.h.

double SiStripElectronSeedGenerator::phiDiff ( double  phi1,
double  phi2 
)
inlineprivate

Definition at line 94 of file SiStripElectronSeedGenerator.h.

bool SiStripElectronSeedGenerator::preselection ( GlobalPoint  position,
GlobalPoint  superCluster,
double  phiVsRSlope,
int  hitLayer 
)
private
void SiStripElectronSeedGenerator::run ( edm::Event e,
const edm::EventSetup setup,
const edm::Handle< reco::SuperClusterCollection > &  clusters,
reco::ElectronSeedCollection out 
)

Definition at line 121 of file SiStripElectronSeedGenerator.cc.

void SiStripElectronSeedGenerator::setupES ( const edm::EventSetup setup)

Definition at line 99 of file SiStripElectronSeedGenerator.cc.

double SiStripElectronSeedGenerator::unwrapPhi ( double  phi) const
inlineprivate

Definition at line 101 of file SiStripElectronSeedGenerator.h.

std::vector< bool > SiStripElectronSeedGenerator::useDetLayer ( double  scEta)
private

Definition at line 756 of file SiStripElectronSeedGenerator.cc.

int SiStripElectronSeedGenerator::whichSubdetector ( std::vector< const SiStripMatchedRecHit2D * >::const_iterator  hit)
private

Definition at line 732 of file SiStripElectronSeedGenerator.cc.

Member Data Documentation

std::vector<const SiStripRecHit2D*> SiStripElectronSeedGenerator::backupLayer2Hits_
private

Definition at line 150 of file SiStripElectronSeedGenerator.h.

edm::EDGetTokenT<reco::BeamSpot> SiStripElectronSeedGenerator::beamSpotTag_
private

Definition at line 133 of file SiStripElectronSeedGenerator.h.

unsigned long long SiStripElectronSeedGenerator::cacheIDCkfComp_
private

Definition at line 155 of file SiStripElectronSeedGenerator.h.

unsigned long long SiStripElectronSeedGenerator::cacheIDMagField_
private

Definition at line 154 of file SiStripElectronSeedGenerator.h.

unsigned long long SiStripElectronSeedGenerator::cacheIDTrkGeom_
private

Definition at line 156 of file SiStripElectronSeedGenerator.h.

std::vector<const SiStripMatchedRecHit2D*> SiStripElectronSeedGenerator::layer1Hits_
private

Definition at line 148 of file SiStripElectronSeedGenerator.h.

std::vector<const SiStripMatchedRecHit2D*> SiStripElectronSeedGenerator::layer2Hits_
private

Definition at line 149 of file SiStripElectronSeedGenerator.h.

int SiStripElectronSeedGenerator::maxSeeds_
private

Definition at line 177 of file SiStripElectronSeedGenerator.h.

edm::ESHandle<MeasurementTracker> SiStripElectronSeedGenerator::measurementTrackerHandle
private

Definition at line 129 of file SiStripElectronSeedGenerator.h.

double SiStripElectronSeedGenerator::monoDeltaPsiCut_
private

Definition at line 165 of file SiStripElectronSeedGenerator.h.

int SiStripElectronSeedGenerator::monoMaxHits_
private

Definition at line 176 of file SiStripElectronSeedGenerator.h.

double SiStripElectronSeedGenerator::monoOriginZCut_
private

Definition at line 161 of file SiStripElectronSeedGenerator.h.

double SiStripElectronSeedGenerator::monoPhiMissHit2Cut_
private

Definition at line 169 of file SiStripElectronSeedGenerator.h.

PTrajectoryStateOnDet SiStripElectronSeedGenerator::pts_
private

Definition at line 145 of file SiStripElectronSeedGenerator.h.

PRecHitContainer SiStripElectronSeedGenerator::recHits_
private

Definition at line 144 of file SiStripElectronSeedGenerator.h.

double SiStripElectronSeedGenerator::tecDeltaPsiCut_
private

Definition at line 164 of file SiStripElectronSeedGenerator.h.

int SiStripElectronSeedGenerator::tecMaxHits_
private

Definition at line 175 of file SiStripElectronSeedGenerator.h.

double SiStripElectronSeedGenerator::tecOriginZCut_
private

Definition at line 160 of file SiStripElectronSeedGenerator.h.

double SiStripElectronSeedGenerator::tecPhiMissHit2Cut_
private

Definition at line 168 of file SiStripElectronSeedGenerator.h.

double SiStripElectronSeedGenerator::tecRMissHit2Cut_
private

Definition at line 172 of file SiStripElectronSeedGenerator.h.

edm::Handle<reco::BeamSpot> SiStripElectronSeedGenerator::theBeamSpot
private

Definition at line 132 of file SiStripElectronSeedGenerator.h.

Chi2MeasurementEstimator* SiStripElectronSeedGenerator::theEstimator
private

Definition at line 137 of file SiStripElectronSeedGenerator.h.

edm::ESHandle<MagneticField> SiStripElectronSeedGenerator::theMagField
private

Definition at line 130 of file SiStripElectronSeedGenerator.h.

const SiStripRecHitMatcher* SiStripElectronSeedGenerator::theMatcher_
private

Definition at line 152 of file SiStripElectronSeedGenerator.h.

const MeasurementTracker* SiStripElectronSeedGenerator::theMeasurementTracker
private

Definition at line 140 of file SiStripElectronSeedGenerator.h.

edm::EDGetTokenT<MeasurementTrackerEvent> SiStripElectronSeedGenerator::theMeasurementTrackerEventTag
private

Definition at line 141 of file SiStripElectronSeedGenerator.h.

std::string SiStripElectronSeedGenerator::theMeasurementTrackerName
private

Definition at line 139 of file SiStripElectronSeedGenerator.h.

PropagatorWithMaterial* SiStripElectronSeedGenerator::thePropagator
private

Definition at line 136 of file SiStripElectronSeedGenerator.h.

const edm::EventSetup* SiStripElectronSeedGenerator::theSetup
private

Definition at line 142 of file SiStripElectronSeedGenerator.h.

KFUpdator* SiStripElectronSeedGenerator::theUpdator
private

Definition at line 135 of file SiStripElectronSeedGenerator.h.

double SiStripElectronSeedGenerator::tibDeltaPsiCut_
private

Definition at line 162 of file SiStripElectronSeedGenerator.h.

double SiStripElectronSeedGenerator::tibOriginZCut_
private

Definition at line 158 of file SiStripElectronSeedGenerator.h.

double SiStripElectronSeedGenerator::tibPhiMissHit2Cut_
private

Definition at line 166 of file SiStripElectronSeedGenerator.h.

double SiStripElectronSeedGenerator::tibZMissHit2Cut_
private

Definition at line 170 of file SiStripElectronSeedGenerator.h.

double SiStripElectronSeedGenerator::tidDeltaPsiCut_
private

Definition at line 163 of file SiStripElectronSeedGenerator.h.

double SiStripElectronSeedGenerator::tidEtaUsage_
private

Definition at line 173 of file SiStripElectronSeedGenerator.h.

int SiStripElectronSeedGenerator::tidMaxHits_
private

Definition at line 174 of file SiStripElectronSeedGenerator.h.

double SiStripElectronSeedGenerator::tidOriginZCut_
private

Definition at line 159 of file SiStripElectronSeedGenerator.h.

double SiStripElectronSeedGenerator::tidPhiMissHit2Cut_
private

Definition at line 167 of file SiStripElectronSeedGenerator.h.

double SiStripElectronSeedGenerator::tidRMissHit2Cut_
private

Definition at line 171 of file SiStripElectronSeedGenerator.h.

edm::ESHandle<TrackerGeometry> SiStripElectronSeedGenerator::trackerGeometryHandle
private

Definition at line 131 of file SiStripElectronSeedGenerator.h.