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 | Protected Types | Protected Member Functions | Protected Attributes | Private Attributes
GlobalMuonRefitter Class Reference

#include <GlobalMuonRefitter.h>

Public Types

typedef
MuonTransientTrackingRecHit::ConstMuonRecHitContainer 
ConstMuonRecHitContainer
 
typedef
MuonTransientTrackingRecHit::ConstMuonRecHitPointer 
ConstMuonRecHitPointer
 
typedef
TransientTrackingRecHit::ConstRecHitContainer 
ConstRecHitContainer
 
typedef
TransientTrackingRecHit::ConstRecHitPointer 
ConstRecHitPointer
 
typedef
MuonTransientTrackingRecHit::MuonRecHitContainer 
MuonRecHitContainer
 
typedef
MuonTransientTrackingRecHit::MuonRecHitPointer 
MuonRecHitPointer
 
typedef
TransientTrackingRecHit::RecHitContainer 
RecHitContainer
 
typedef
TransientTrackingRecHit::RecHitPointer 
RecHitPointer
 
enum  subDetector {
  PXB = 1, PXF = 2, TIB = 3, TID = 4,
  TOB = 5, TEC = 6
}
 
typedef std::vector< TrajectoryTC
 
typedef TC::const_iterator TI
 

Public Member Functions

const reco::DYTInfogetDYTInfo ()
 
ConstRecHitContainer getRidOfSelectStationHits (const ConstRecHitContainer &hits, const TrackerTopology *tTopo) const
 
 GlobalMuonRefitter (const edm::ParameterSet &, const MuonServiceProxy *, edm::ConsumesCollector &)
 constructor with Parameter Set and MuonServiceProxy More...
 
std::vector< Trajectoryrefit (const reco::Track &globalTrack, const int theMuonHitsOption, const TrackerTopology *tTopo) const
 build combined trajectory from sta Track and tracker RecHits More...
 
std::vector< Trajectoryrefit (const reco::Track &globalTrack, const reco::TransientTrack track, const TransientTrackingRecHit::ConstRecHitContainer &allRecHitsTemp, const int theMuonHitsOption, const TrackerTopology *tTopo) const
 build combined trajectory from subset of sta Track and tracker RecHits More...
 
virtual void setEvent (const edm::Event &)
 pass the Event to the algo at each event More...
 
void setServices (const edm::EventSetup &)
 set the services needed by the TrackTransformer More...
 
std::vector< Trajectorytransform (const reco::Track &newTrack, const reco::TransientTrack track, const TransientTrackingRecHit::ConstRecHitContainer &recHitsForReFit) const
 refit the track with a new set of RecHits More...
 
virtual ~GlobalMuonRefitter ()
 destructor More...
 

Protected Types

enum  RefitDirection { insideOut, outsideIn, undetermined }
 

Protected Member Functions

void checkMuonHits (const reco::Track &, ConstRecHitContainer &, std::map< DetId, int > &) const
 check muon RecHits, calculate chamber occupancy and select hits to be used in the final fit More...
 
RefitDirection checkRecHitsOrdering (const ConstRecHitContainer &) const
 
void getFirstHits (const reco::Track &, ConstRecHitContainer &, ConstRecHitContainer &) const
 get the RecHits in the tracker and the first muon chamber with hits More...
 
void printHits (const ConstRecHitContainer &) const
 print all RecHits of a trajectory More...
 
ConstRecHitContainer selectMuonHits (const Trajectory &, const std::map< DetId, int > &) const
 select muon hits compatible with trajectory; check hits in chambers with showers More...
 
const MuonServiceProxyservice () const
 

Protected Attributes

std::string theCategory
 
float thePtCut
 
bool theTkTrajsAvailableFlag
 

Private Attributes

edm::Handle
< DTRecSegment4DCollection
all4DSegments
 
edm::EDGetTokenT
< DTRecSegment4DCollection
all4DSegmentsToken
 
edm::Handle< CSCSegmentCollectionCSCSegments
 
edm::EDGetTokenT
< CSCSegmentCollection
CSCSegmentsToken
 
reco::DYTInfodytInfo
 
TkClonerImpl hitCloner
 
unsigned long long theCacheId_TRH
 
bool theCosmicFlag
 
float theCSCChi2Cut
 
edm::InputTag theCSCRecHitLabel
 
edm::Handle
< CSCRecHit2DCollection
theCSCRecHits
 
edm::EDGetTokenT
< CSCRecHit2DCollection
theCSCRecHitToken
 
float theDTChi2Cut
 
edm::InputTag theDTRecHitLabel
 
edm::Handle< DTRecHitCollectiontheDTRecHits
 
edm::EDGetTokenT
< DTRecHitCollection
theDTRecHitToken
 
int theDYTselector
 
std::vector< int > theDYTthrs
 
bool theDYTupdator
 
bool theDYTuseAPE
 
const edm::EventtheEvent
 
std::unique_ptr< TrajectoryFittertheFitter
 
std::string theFitterName
 
float theGEMChi2Cut
 
edm::InputTag theGEMRecHitLabel
 
edm::Handle< GEMRecHitCollectiontheGEMRecHits
 
edm::EDGetTokenT
< GEMRecHitCollection
theGEMRecHitToken
 
int theHitThreshold
 
float theME0Chi2Cut
 
edm::InputTag theME0RecHitLabel
 
edm::Handle< ME0SegmentCollectiontheME0RecHits
 
edm::EDGetTokenT
< ME0SegmentCollection
theME0RecHitToken
 
int theMuonHitsOption
 
edm::ESHandle
< TransientTrackingRecHitBuilder
theMuonRecHitBuilder
 
std::string theMuonRecHitBuilderName
 
float theProbCut
 
std::string thePropagatorName
 
RefitDirection theRefitDirection
 
double theRescaleErrorFactor
 
float theRPCChi2Cut
 
bool theRPCInTheFit
 
const MuonServiceProxytheService
 
int theSkipStation
 
edm::ESHandle
< TransientTrackingRecHitBuilder
theTrackerRecHitBuilder
 
std::string theTrackerRecHitBuilderName
 
int theTrackerSkipSection
 
int theTrackerSkipSystem
 

Detailed Description

class to build muon trajectory

Author
N. Neumeister Purdue University
C. Liu Purdue University
A. Everett Purdue University

by C. Calabria INFN & Universita  Bari by D. Nash Northeastern University

Definition at line 47 of file GlobalMuonRefitter.h.

Member Typedef Documentation

Definition at line 59 of file GlobalMuonRefitter.h.

Definition at line 57 of file GlobalMuonRefitter.h.

Definition at line 52 of file GlobalMuonRefitter.h.

Definition at line 54 of file GlobalMuonRefitter.h.

Definition at line 58 of file GlobalMuonRefitter.h.

Definition at line 56 of file GlobalMuonRefitter.h.

Definition at line 51 of file GlobalMuonRefitter.h.

Definition at line 53 of file GlobalMuonRefitter.h.

typedef std::vector<Trajectory> GlobalMuonRefitter::TC

Definition at line 61 of file GlobalMuonRefitter.h.

typedef TC::const_iterator GlobalMuonRefitter::TI

Definition at line 62 of file GlobalMuonRefitter.h.

Member Enumeration Documentation

Enumerator
insideOut 
outsideIn 
undetermined 

Definition at line 105 of file GlobalMuonRefitter.h.

Enumerator
PXB 
PXF 
TIB 
TID 
TOB 
TEC 

Definition at line 64 of file GlobalMuonRefitter.h.

Constructor & Destructor Documentation

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

constructor with Parameter Set and MuonServiceProxy

Definition at line 75 of file GlobalMuonRefitter.cc.

GlobalMuonRefitter::~GlobalMuonRefitter ( )
virtual

destructor

Definition at line 145 of file GlobalMuonRefitter.cc.

Member Function Documentation

void GlobalMuonRefitter::checkMuonHits ( const reco::Track muon,
ConstRecHitContainer all,
std::map< DetId, int > &  hitMap 
) const
protected

check muon RecHits, calculate chamber occupancy and select hits to be used in the final fit

Definition at line 307 of file GlobalMuonRefitter.cc.

GlobalMuonRefitter::RefitDirection GlobalMuonRefitter::checkRecHitsOrdering ( const ConstRecHitContainer recHits) const
protected

Definition at line 665 of file GlobalMuonRefitter.cc.

const reco::DYTInfo* GlobalMuonRefitter::getDYTInfo ( )
inline

Definition at line 101 of file GlobalMuonRefitter.h.

void GlobalMuonRefitter::getFirstHits ( const reco::Track muon,
ConstRecHitContainer all,
ConstRecHitContainer first 
) const
protected

get the RecHits in the tracker and the first muon chamber with hits

Definition at line 501 of file GlobalMuonRefitter.cc.

GlobalMuonRefitter::ConstRecHitContainer GlobalMuonRefitter::getRidOfSelectStationHits ( const ConstRecHitContainer hits,
const TrackerTopology tTopo 
) const

Definition at line 842 of file GlobalMuonRefitter.cc.

void GlobalMuonRefitter::printHits ( const ConstRecHitContainer hits) const
protected

print all RecHits of a trajectory

Definition at line 638 of file GlobalMuonRefitter.cc.

vector< Trajectory > GlobalMuonRefitter::refit ( const reco::Track globalTrack,
const int  theMuonHitsOption,
const TrackerTopology tTopo 
) const

build combined trajectory from sta Track and tracker RecHits

Definition at line 188 of file GlobalMuonRefitter.cc.

vector< Trajectory > GlobalMuonRefitter::refit ( const reco::Track globalTrack,
const reco::TransientTrack  track,
const TransientTrackingRecHit::ConstRecHitContainer allRecHitsTemp,
const int  theMuonHitsOption,
const TrackerTopology tTopo 
) const

build combined trajectory from subset of sta Track and tracker RecHits

Definition at line 218 of file GlobalMuonRefitter.cc.

GlobalMuonRefitter::ConstRecHitContainer GlobalMuonRefitter::selectMuonHits ( const Trajectory traj,
const std::map< DetId, int > &  hitMap 
) const
protected

select muon hits compatible with trajectory; check hits in chambers with showers

Definition at line 551 of file GlobalMuonRefitter.cc.

const MuonServiceProxy* GlobalMuonRefitter::service ( ) const
inlineprotected

Definition at line 124 of file GlobalMuonRefitter.h.

void GlobalMuonRefitter::setEvent ( const edm::Event event)
virtual

pass the Event to the algo at each event

Definition at line 153 of file GlobalMuonRefitter.cc.

void GlobalMuonRefitter::setServices ( const edm::EventSetup setup)

set the services needed by the TrackTransformer

Definition at line 165 of file GlobalMuonRefitter.cc.

vector< Trajectory > GlobalMuonRefitter::transform ( const reco::Track newTrack,
const reco::TransientTrack  track,
const TransientTrackingRecHit::ConstRecHitContainer recHitsForReFit 
) const

refit the track with a new set of RecHits

Definition at line 692 of file GlobalMuonRefitter.cc.

Member Data Documentation

edm::Handle<DTRecSegment4DCollection> GlobalMuonRefitter::all4DSegments
private

Definition at line 192 of file GlobalMuonRefitter.h.

edm::EDGetTokenT<DTRecSegment4DCollection> GlobalMuonRefitter::all4DSegmentsToken
private

Definition at line 190 of file GlobalMuonRefitter.h.

edm::Handle<CSCSegmentCollection> GlobalMuonRefitter::CSCSegments
private

Definition at line 191 of file GlobalMuonRefitter.h.

edm::EDGetTokenT<CSCSegmentCollection> GlobalMuonRefitter::CSCSegmentsToken
private

Definition at line 189 of file GlobalMuonRefitter.h.

reco::DYTInfo* GlobalMuonRefitter::dytInfo
private

Definition at line 174 of file GlobalMuonRefitter.h.

TkClonerImpl GlobalMuonRefitter::hitCloner
private

Definition at line 181 of file GlobalMuonRefitter.h.

unsigned long long GlobalMuonRefitter::theCacheId_TRH
private

Definition at line 160 of file GlobalMuonRefitter.h.

std::string GlobalMuonRefitter::theCategory
protected

Definition at line 127 of file GlobalMuonRefitter.h.

bool GlobalMuonRefitter::theCosmicFlag
private

Definition at line 141 of file GlobalMuonRefitter.h.

float GlobalMuonRefitter::theCSCChi2Cut
private

Definition at line 137 of file GlobalMuonRefitter.h.

edm::InputTag GlobalMuonRefitter::theCSCRecHitLabel
private

Definition at line 144 of file GlobalMuonRefitter.h.

edm::Handle<CSCRecHit2DCollection> GlobalMuonRefitter::theCSCRecHits
private

Definition at line 148 of file GlobalMuonRefitter.h.

edm::EDGetTokenT<CSCRecHit2DCollection> GlobalMuonRefitter::theCSCRecHitToken
private

Definition at line 152 of file GlobalMuonRefitter.h.

float GlobalMuonRefitter::theDTChi2Cut
private

Definition at line 136 of file GlobalMuonRefitter.h.

edm::InputTag GlobalMuonRefitter::theDTRecHitLabel
private

Definition at line 143 of file GlobalMuonRefitter.h.

edm::Handle<DTRecHitCollection> GlobalMuonRefitter::theDTRecHits
private

Definition at line 147 of file GlobalMuonRefitter.h.

edm::EDGetTokenT<DTRecHitCollection> GlobalMuonRefitter::theDTRecHitToken
private

Definition at line 151 of file GlobalMuonRefitter.h.

int GlobalMuonRefitter::theDYTselector
private

Definition at line 171 of file GlobalMuonRefitter.h.

std::vector<int> GlobalMuonRefitter::theDYTthrs
private

Definition at line 170 of file GlobalMuonRefitter.h.

bool GlobalMuonRefitter::theDYTupdator
private

Definition at line 172 of file GlobalMuonRefitter.h.

bool GlobalMuonRefitter::theDYTuseAPE
private

Definition at line 173 of file GlobalMuonRefitter.h.

const edm::Event* GlobalMuonRefitter::theEvent
private

Definition at line 187 of file GlobalMuonRefitter.h.

std::unique_ptr<TrajectoryFitter> GlobalMuonRefitter::theFitter
private

Definition at line 177 of file GlobalMuonRefitter.h.

std::string GlobalMuonRefitter::theFitterName
private

Definition at line 176 of file GlobalMuonRefitter.h.

float GlobalMuonRefitter::theGEMChi2Cut
private

Definition at line 139 of file GlobalMuonRefitter.h.

edm::InputTag GlobalMuonRefitter::theGEMRecHitLabel
private

Definition at line 145 of file GlobalMuonRefitter.h.

edm::Handle<GEMRecHitCollection> GlobalMuonRefitter::theGEMRecHits
private

Definition at line 149 of file GlobalMuonRefitter.h.

edm::EDGetTokenT<GEMRecHitCollection> GlobalMuonRefitter::theGEMRecHitToken
private

Definition at line 153 of file GlobalMuonRefitter.h.

int GlobalMuonRefitter::theHitThreshold
private

Definition at line 135 of file GlobalMuonRefitter.h.

float GlobalMuonRefitter::theME0Chi2Cut
private

Definition at line 140 of file GlobalMuonRefitter.h.

edm::InputTag GlobalMuonRefitter::theME0RecHitLabel
private

Definition at line 146 of file GlobalMuonRefitter.h.

edm::Handle<ME0SegmentCollection> GlobalMuonRefitter::theME0RecHits
private

Definition at line 150 of file GlobalMuonRefitter.h.

edm::EDGetTokenT<ME0SegmentCollection> GlobalMuonRefitter::theME0RecHitToken
private

Definition at line 154 of file GlobalMuonRefitter.h.

int GlobalMuonRefitter::theMuonHitsOption
private

Definition at line 133 of file GlobalMuonRefitter.h.

edm::ESHandle<TransientTrackingRecHitBuilder> GlobalMuonRefitter::theMuonRecHitBuilder
private

Definition at line 184 of file GlobalMuonRefitter.h.

std::string GlobalMuonRefitter::theMuonRecHitBuilderName
private

Definition at line 183 of file GlobalMuonRefitter.h.

float GlobalMuonRefitter::theProbCut
private

Definition at line 134 of file GlobalMuonRefitter.h.

std::string GlobalMuonRefitter::thePropagatorName
private

Definition at line 162 of file GlobalMuonRefitter.h.

float GlobalMuonRefitter::thePtCut
protected

Definition at line 129 of file GlobalMuonRefitter.h.

RefitDirection GlobalMuonRefitter::theRefitDirection
private

Definition at line 168 of file GlobalMuonRefitter.h.

double GlobalMuonRefitter::theRescaleErrorFactor
private

Definition at line 166 of file GlobalMuonRefitter.h.

float GlobalMuonRefitter::theRPCChi2Cut
private

Definition at line 138 of file GlobalMuonRefitter.h.

bool GlobalMuonRefitter::theRPCInTheFit
private

Definition at line 164 of file GlobalMuonRefitter.h.

const MuonServiceProxy* GlobalMuonRefitter::theService
private

Definition at line 186 of file GlobalMuonRefitter.h.

int GlobalMuonRefitter::theSkipStation
private

Definition at line 156 of file GlobalMuonRefitter.h.

bool GlobalMuonRefitter::theTkTrajsAvailableFlag
protected

Definition at line 128 of file GlobalMuonRefitter.h.

edm::ESHandle<TransientTrackingRecHitBuilder> GlobalMuonRefitter::theTrackerRecHitBuilder
private

Definition at line 180 of file GlobalMuonRefitter.h.

std::string GlobalMuonRefitter::theTrackerRecHitBuilderName
private

Definition at line 179 of file GlobalMuonRefitter.h.

int GlobalMuonRefitter::theTrackerSkipSection
private

Definition at line 158 of file GlobalMuonRefitter.h.

int GlobalMuonRefitter::theTrackerSkipSystem
private

Definition at line 157 of file GlobalMuonRefitter.h.