8 tmvaReader_(
"!Color:!Silent:Error"),
43 throw cms::Exception(
"FatalError") <<
"SoftMuonMVA is not initialized";
84 qProd_ = iTrack->charge()*oTrack->charge();
90 std::vector<int> fvDThits = {0,0,0,0};
91 std::vector<int> fvRPChits = {0,0,0,0};
92 std::vector<int> fvCSChits = {0,0,0,0};
102 if (muStation0 >=0 && muStation0 < 4){
float chi2LocalPosition
chi2 value for the STA-TK matching of local position
bool isNonnull() const
Checks for non-null.
double eta() const final
momentum pseudorapidity
float chi2LocalMomentum
chi2 value for the STA-TK matching of local momentum
void computeMva(const pat::Muon &imuon)
void initialize(std::string weightsfile)
float glbKink
value of the kink algorithm applied to the global track
float glbTrackProbability
the tail probability (-ln(P)) of the global fit
double pt() const final
transverse momentum
float trkKink
value of the kink algorithm applied to the inner track stub
float trkRelChi2
chi2 value for the inner track stub with respect to the global track
MuonTime time() const
get DT/CSC combined timing information
float layersWithMeasurement_
static bool validHitFilter(uint16_t pattern)
double segmentCompatibility(reco::Muon::ArbitrationType arbitrationType=reco::Muon::SegmentAndTrackArbitration) const
Returns the segment compatibility, using muon::segmentCompatibility (DataFormats/MuonReco/interface/M...
reco::TrackRef innerTrack() const override
reference to Track reconstructed in the tracker only (reimplemented from reco::Muon) ...
reco::TrackRef outerTrack() const override
reference to Track reconstructed in the muon detector only (reimplemented from reco::Muon) ...
static bool muonCSCHitFilter(uint16_t pattern)
int numberOfAllHits(HitCategory category) const
MuonQuality combinedQuality() const
get energy deposition information
float glbTrackProbability_
reco::TrackRef globalTrack() const override
reference to Track reconstructed in both tracked and muon detector (reimplemented from reco::Muon) ...
static bool muonDTHitFilter(uint16_t pattern)
static uint16_t getMuonStation(uint16_t pattern)
Muon station (1-4). Only valid for muon patterns, of course. only for patterns from muon...
float segmentCompatibility_
uint16_t getHitPattern(HitCategory category, int position) const
static bool muonRPCHitFilter(uint16_t pattern)
Analysis-level muon class.