Go to the documentation of this file. 1 #ifndef RecoMuon_MuonSeedBuilder_H
2 #define RecoMuon_MuonSeedBuilder_H
63 bool& showeringBefore);
77 int& NShoweringSegments);
double etaError(const GlobalPoint gp, double rErr)
calculate the eta error from global R error
bool foundMatchingSegment(int type, SegmentContainer &protoTrack, SegmentContainer &segments, BoolContainer &usedSeg, float &eta_temp, float &phi_temp, int &lastLayer, bool &showeringBefore)
Find segment which matches protoTrack for endcap only.
SegmentContainer ShoweringSegments
std::vector< TrajectorySeed > seedCleaner(const edm::EventSetup &eventSetup, std::vector< TrajectorySeed > &seeds)
cleaning the seeds
std::vector< TrajectorySeed > TrajectorySeedCollection
std::vector< int > ShoweringLayers
std::vector< MuonRecHitPointer > MuonRecHitContainer
bool enableCSCMeasurement
std::deque< bool > BoolContainer
MuonTransientTrackingRecHit::MuonRecHitContainer SegmentContainer
MuonSeedCleaner * muonSeedClean_
void setGeometry(const MuonDetLayerGeometry *lgeom)
Cache pointer to geometry.
edm::InputTag theCSCSegmentLabel
Name of the CSC segment collection.
void setBField(const MagneticField *theField)
Cache pointer to Magnetic field.
std::vector< TrajectorySeed > SeedContainer
float maxPhiResolutionCSC
MuonDetLayerMeasurements * muonMeasurements
edm::InputTag theDTSegmentLabel
Name of the DT segment collection.
~MuonSeedBuilder()
Destructor.
bool debug
group the seeds
const MuonDetLayerGeometry * muonLayers
MuonSeedBuilder(const edm::ParameterSet &, edm::ConsumesCollector &)
Constructor.
std::vector< int > badSeedLayer
bool IdentifyShowering(SegmentContainer &segs, BoolContainer &usedSeg, float &eta_last, float &phi_last, int layer, int &NShoweringSegments)
identify the showering layer
float maxEtaResolutionCSC
const MagneticField * BField
int build(edm::Event &event, const edm::EventSetup &eventSetup, TrajectorySeedCollection &seeds)
Build seed collection.
MuonSeedCreator * muonSeedCreate_
Create seed according to region (CSC, DT, Overlap)