CMS 3D CMS Logo

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

#include <TSGFromPropagation.h>

Inheritance diagram for TSGFromPropagation:
TrackerSeedGenerator

Classes

struct  increasingEstimate
 
struct  isInvalid
 

Public Member Functions

void init (const MuonServiceProxy *)
 initialize More...
 
void setEvent (const edm::Event &)
 set an event More...
 
void trackerSeeds (const TrackCand &, const TrackingRegion &, const TrackerTopology *, std::vector< TrajectorySeed > &)
 generate seed(s) for a track More...
 
 TSGFromPropagation (const edm::ParameterSet &pset, edm::ConsumesCollector &iC)
 constructor More...
 
 TSGFromPropagation (const edm::ParameterSet &par, edm::ConsumesCollector &iC, const MuonServiceProxy *)
 
virtual ~TSGFromPropagation ()
 destructor More...
 
- Public Member Functions inherited from TrackerSeedGenerator
const edm::EventgetEvent () const
 
 TrackerSeedGenerator ()
 
virtual void trackerSeeds (const TrackCand &, const TrackingRegion &, const TrackerTopology *, BTSeedCollection &)
 
virtual ~TrackerSeedGenerator ()
 destructor More...
 

Private Member Functions

void adjust (FreeTrajectoryState &) const
 adjust the error matrix of the FTS More...
 
void adjust (TrajectoryStateOnSurface &) const
 adjust the error matrix of the TSOS More...
 
TrajectorySeed createSeed (const TrajectoryStateOnSurface &, const DetId &) const
 create a hitless seed from a trajectory state More...
 
TrajectorySeed createSeed (const TrajectoryStateOnSurface &tsos, const edm::OwnVector< TrackingRecHit > &container, const DetId &id) const
 create a seed from a trajectory state More...
 
double dxyDis (const TrajectoryStateOnSurface &tsos) const
 
const Chi2MeasurementEstimatorestimator () const
 
std::vector
< TrajectoryMeasurement
findMeasurements (const DetLayer *, const TrajectoryStateOnSurface &) const
 look for measurements on the first compatible layer More...
 
std::vector
< TrajectoryMeasurement
findMeasurements_new (const DetLayer *, const TrajectoryStateOnSurface &) const
 look for measurements on the first compatible layer (faster way) More...
 
void getRescalingFactor (const TrackCand &staMuon)
 
TrajectoryStateOnSurface innerState (const TrackCand &) const
 
TrajectoryStateOnSurface outerTkState (const TrackCand &) const
 
bool passSelection (const TrajectoryStateOnSurface &) const
 check some quantity and beam-spot compatibility and decide to continue More...
 
edm::ESHandle< Propagatorpropagator () const
 
const LayerMeasurementstkLayerMeasurements () const
 
const TrajectoryStateUpdatorupdator () const
 
void validMeasurements (std::vector< TrajectoryMeasurement > &) const
 select valid measurements More...
 
double zDis (const TrajectoryStateOnSurface &tsos) const
 

Private Attributes

edm::Handle< reco::BeamSpotbeamSpot
 
bool theAdjustAtIp
 
edm::InputTag theBeamSpotInputTag
 
edm::EDGetTokenT< reco::BeamSpottheBeamSpotToken
 
unsigned long long theCacheId_MT
 
unsigned long long theCacheId_TG
 
std::string theCategory
 
edm::ParameterSet theConfig
 
MuonErrorMatrixtheErrorMatrixAdjuster
 
const Chi2MeasurementEstimatortheEstimator
 
double theFixedErrorRescaling
 
double theFlexErrorRescaling
 
double theMaxChi2
 
edm::ESHandle< MeasurementTrackertheMeasTracker
 
edm::Handle
< MeasurementTrackerEvent
theMeasTrackerEvent
 
std::string theMeasTrackerName
 
edm::InputTag theMeasurementTrackerEventTag
 
edm::EDGetTokenT
< MeasurementTrackerEvent
theMeasurementTrackerEventToken
 
const DirectTrackerNavigationtheNavigation
 
std::string thePropagatorName
 
std::string theResetMethod
 
bool theSelectStateFlag
 
const MuonServiceProxytheService
 
double theSigmaZ
 
LayerMeasurements theTkLayerMeasurements
 
edm::ESHandle
< GeometricSearchTracker
theTracker
 
TrajectoryStateTransformtheTSTransformer
 
bool theUpdateStateFlag
 
const TrajectoryStateUpdatortheUpdator
 
bool theUseVertexStateFlag
 

Additional Inherited Members

- Public Types inherited from TrackerSeedGenerator
typedef std::vector
< TrajectorySeed
BTSeedCollection
 
typedef std::pair< const
Trajectory *, reco::TrackRef
TrackCand
 
- Protected Attributes inherited from TrackerSeedGenerator
const edm::EventtheEvent
 
const MuonServiceProxytheProxyService
 

Detailed Description

Author
Chang Liu - Purdue University

Tracker Seed Generator by propagating and updating a standAlone muon to the first 2 (or 1) rechits it meets in tracker system

Author
Chang Liu - Purdue University

Definition at line 31 of file TSGFromPropagation.h.

Constructor & Destructor Documentation

TSGFromPropagation::TSGFromPropagation ( const edm::ParameterSet pset,
edm::ConsumesCollector iC 
)

constructor

Definition at line 29 of file TSGFromPropagation.cc.

TSGFromPropagation::TSGFromPropagation ( const edm::ParameterSet par,
edm::ConsumesCollector iC,
const MuonServiceProxy service 
)

Definition at line 31 of file TSGFromPropagation.cc.

TSGFromPropagation::~TSGFromPropagation ( )
virtual

destructor

Definition at line 41 of file TSGFromPropagation.cc.

Member Function Documentation

void TSGFromPropagation::adjust ( FreeTrajectoryState state) const
private

adjust the error matrix of the FTS

Definition at line 350 of file TSGFromPropagation.cc.

void TSGFromPropagation::adjust ( TrajectoryStateOnSurface state) const
private

adjust the error matrix of the TSOS

Definition at line 372 of file TSGFromPropagation.cc.

TrajectorySeed TSGFromPropagation::createSeed ( const TrajectoryStateOnSurface tsos,
const DetId id 
) const
private

create a hitless seed from a trajectory state

Definition at line 263 of file TSGFromPropagation.cc.

TrajectorySeed TSGFromPropagation::createSeed ( const TrajectoryStateOnSurface tsos,
const edm::OwnVector< TrackingRecHit > &  container,
const DetId id 
) const
private

create a seed from a trajectory state

Definition at line 270 of file TSGFromPropagation.cc.

double TSGFromPropagation::dxyDis ( const TrajectoryStateOnSurface tsos) const
private

Definition at line 333 of file TSGFromPropagation.cc.

const Chi2MeasurementEstimator* TSGFromPropagation::estimator ( void  ) const
inlineprivate

Definition at line 61 of file TSGFromPropagation.h.

References theEstimator.

61 { return theEstimator; }
const Chi2MeasurementEstimator * theEstimator
std::vector< TrajectoryMeasurement > TSGFromPropagation::findMeasurements ( const DetLayer nl,
const TrajectoryStateOnSurface staState 
) const
private

look for measurements on the first compatible layer

Definition at line 311 of file TSGFromPropagation.cc.

std::vector< TrajectoryMeasurement > TSGFromPropagation::findMeasurements_new ( const DetLayer nl,
const TrajectoryStateOnSurface staState 
) const
private

look for measurements on the first compatible layer (faster way)

Definition at line 286 of file TSGFromPropagation.cc.

void TSGFromPropagation::getRescalingFactor ( const TrackCand staMuon)
private

Definition at line 341 of file TSGFromPropagation.cc.

void TSGFromPropagation::init ( const MuonServiceProxy service)
virtual

initialize

Reimplemented from TrackerSeedGenerator.

Definition at line 136 of file TSGFromPropagation.cc.

TrajectoryStateOnSurface TSGFromPropagation::innerState ( const TrackCand staMuon) const
private

Definition at line 223 of file TSGFromPropagation.cc.

TrajectoryStateOnSurface TSGFromPropagation::outerTkState ( const TrackCand staMuon) const
private

Definition at line 245 of file TSGFromPropagation.cc.

bool TSGFromPropagation::passSelection ( const TrajectoryStateOnSurface tsos) const
private

check some quantity and beam-spot compatibility and decide to continue

Definition at line 318 of file TSGFromPropagation.cc.

edm::ESHandle<Propagator> TSGFromPropagation::propagator ( ) const
inlineprivate

Definition at line 63 of file TSGFromPropagation.h.

References MuonServiceProxy::propagator(), thePropagatorName, and theService.

const MuonServiceProxy * theService
std::string thePropagatorName
edm::ESHandle< Propagator > propagator(std::string propagatorName) const
get the propagator
void TSGFromPropagation::setEvent ( const edm::Event iEvent)
virtual

set an event

Reimplemented from TrackerSeedGenerator.

Definition at line 190 of file TSGFromPropagation.cc.

const LayerMeasurements* TSGFromPropagation::tkLayerMeasurements ( ) const
inlineprivate

Definition at line 57 of file TSGFromPropagation.h.

References theTkLayerMeasurements.

57 { return &theTkLayerMeasurements; }
LayerMeasurements theTkLayerMeasurements
void TSGFromPropagation::trackerSeeds ( const TrackCand staMuon,
const TrackingRegion region,
const TrackerTopology tTopo,
std::vector< TrajectorySeed > &  result 
)

generate seed(s) for a track

Definition at line 51 of file TSGFromPropagation.cc.

const TrajectoryStateUpdator* TSGFromPropagation::updator ( ) const
inlineprivate

Definition at line 59 of file TSGFromPropagation.h.

References theUpdator.

59 {return theUpdator;}
const TrajectoryStateUpdator * theUpdator
void TSGFromPropagation::validMeasurements ( std::vector< TrajectoryMeasurement > &  tms) const
private

select valid measurements

Definition at line 278 of file TSGFromPropagation.cc.

double TSGFromPropagation::zDis ( const TrajectoryStateOnSurface tsos) const
private

Definition at line 337 of file TSGFromPropagation.cc.

Member Data Documentation

edm::Handle<reco::BeamSpot> TSGFromPropagation::beamSpot
private

Definition at line 156 of file TSGFromPropagation.h.

bool TSGFromPropagation::theAdjustAtIp
private

Definition at line 150 of file TSGFromPropagation.h.

edm::InputTag TSGFromPropagation::theBeamSpotInputTag
private

Definition at line 157 of file TSGFromPropagation.h.

edm::EDGetTokenT<reco::BeamSpot> TSGFromPropagation::theBeamSpotToken
private

Definition at line 158 of file TSGFromPropagation.h.

unsigned long long TSGFromPropagation::theCacheId_MT
private

Definition at line 108 of file TSGFromPropagation.h.

unsigned long long TSGFromPropagation::theCacheId_TG
private

Definition at line 109 of file TSGFromPropagation.h.

std::string TSGFromPropagation::theCategory
private

Definition at line 111 of file TSGFromPropagation.h.

edm::ParameterSet TSGFromPropagation::theConfig
private

Definition at line 154 of file TSGFromPropagation.h.

MuonErrorMatrix* TSGFromPropagation::theErrorMatrixAdjuster
private

Definition at line 148 of file TSGFromPropagation.h.

const Chi2MeasurementEstimator* TSGFromPropagation::theEstimator
private

Definition at line 128 of file TSGFromPropagation.h.

Referenced by estimator().

double TSGFromPropagation::theFixedErrorRescaling
private

Definition at line 136 of file TSGFromPropagation.h.

double TSGFromPropagation::theFlexErrorRescaling
private

Definition at line 134 of file TSGFromPropagation.h.

double TSGFromPropagation::theMaxChi2
private

Definition at line 132 of file TSGFromPropagation.h.

edm::ESHandle<MeasurementTracker> TSGFromPropagation::theMeasTracker
private

Definition at line 118 of file TSGFromPropagation.h.

edm::Handle<MeasurementTrackerEvent> TSGFromPropagation::theMeasTrackerEvent
private

Definition at line 120 of file TSGFromPropagation.h.

std::string TSGFromPropagation::theMeasTrackerName
private

Definition at line 117 of file TSGFromPropagation.h.

edm::InputTag TSGFromPropagation::theMeasurementTrackerEventTag
private

Definition at line 119 of file TSGFromPropagation.h.

edm::EDGetTokenT<MeasurementTrackerEvent> TSGFromPropagation::theMeasurementTrackerEventToken
private

Definition at line 159 of file TSGFromPropagation.h.

const DirectTrackerNavigation* TSGFromPropagation::theNavigation
private

Definition at line 122 of file TSGFromPropagation.h.

std::string TSGFromPropagation::thePropagatorName
private

Definition at line 146 of file TSGFromPropagation.h.

Referenced by propagator().

std::string TSGFromPropagation::theResetMethod
private

Definition at line 142 of file TSGFromPropagation.h.

bool TSGFromPropagation::theSelectStateFlag
private

Definition at line 144 of file TSGFromPropagation.h.

const MuonServiceProxy* TSGFromPropagation::theService
private

Definition at line 124 of file TSGFromPropagation.h.

Referenced by propagator().

double TSGFromPropagation::theSigmaZ
private

Definition at line 152 of file TSGFromPropagation.h.

LayerMeasurements TSGFromPropagation::theTkLayerMeasurements
private

Definition at line 113 of file TSGFromPropagation.h.

Referenced by tkLayerMeasurements().

edm::ESHandle<GeometricSearchTracker> TSGFromPropagation::theTracker
private

Definition at line 115 of file TSGFromPropagation.h.

TrajectoryStateTransform* TSGFromPropagation::theTSTransformer
private

Definition at line 130 of file TSGFromPropagation.h.

bool TSGFromPropagation::theUpdateStateFlag
private

Definition at line 140 of file TSGFromPropagation.h.

const TrajectoryStateUpdator* TSGFromPropagation::theUpdator
private

Definition at line 126 of file TSGFromPropagation.h.

Referenced by updator().

bool TSGFromPropagation::theUseVertexStateFlag
private

Definition at line 138 of file TSGFromPropagation.h.