23 theDepositLabel(par.getUntrackedParameter<
string>(
"DepositLabel")),
24 theDiff_r(par.getParameter<double>(
"Diff_r")),
25 theDiff_z(par.getParameter<double>(
"Diff_z")),
26 theDR_Max(par.getParameter<double>(
"DR_Max")),
27 theDR_Veto(par.getParameter<double>(
"DR_Veto")),
28 theBeamlineOption(par.getParameter<
string>(
"BeamlineOption")),
29 theBeamSpotToken(iC.mayConsume<
BeamSpot>(par.getParameter<
edm::
InputTag>(
"BeamSpotLabel"))),
30 theNHits_Min(par.getParameter<unsigned
int>(
"NHits_Min")),
31 theChi2Ndof_Max(par.getParameter<double>(
"Chi2Ndof_Max")),
32 theChi2Prob_Min(par.getParameter<double>(
"Chi2Prob_Min")),
33 thePt_Min(par.getParameter<double>(
"Pt_Min")),
34 thePropagateTracksToRadius(par.getParameter<
bool>(
"PropagateTracksToRadius")),
35 theReferenceRadius(par.getParameter<double>(
"ReferenceRadius")),
36 theVetoLeadingTrack(par.getParameter<
bool>(
"VetoLeadingTrack")),
37 thePtVeto_Min(par.getParameter<double>(
"PtVeto_Min")),
38 theDR_VetoPt(par.getParameter<double>(
"DR_VetoPt"))
62 double tkDxy = tk.
dxy();
63 double s2D = fabs(tk.
dxy()) < psRadius ?
sqrt(psRadius * psRadius - tkDxy * tkDxy) : 0;
88 LogTrace(metname) <<
"***** TRACK COLLECTION SIZE: " << tracksH->size();
90 double vtx_z = muon.
vz();
91 LogTrace(metname) <<
"***** Muon vz: " << vtx_z;
103 LogTrace(metname) <<
"Extracted beam point at " << beamPoint << std::endl;
107 LogTrace(metname) <<
"Using beam point at " << beamPoint << std::endl;
119 LogTrace(metname) <<
"all tracks: " << tracksH->size() <<
" selected: " << sel_tracks.size();
123 TrackSelector::result_type::const_iterator tkI = sel_tracks.begin();
124 for (; tkI != sel_tracks.end(); ++tkI) {
126 LogTrace(metname) <<
"This track has: pt= " << tk->
pt() <<
", eta= " << tk->
eta() <<
", phi= " << tk->
phi();
129 double tkDr = (muonDir - dirTrk).
deltaR;
130 double tkPt = tk->
pt();
138 LogTrace(metname) <<
" Set track veto the leading track with pt " << maxPt <<
" in direction (eta,phi) " 139 << maxPtDir.
eta() <<
", " << maxPtDir.
phi();
void setVeto(const Veto &aVeto)
Set veto.
const std::string metname
std::list< const reco::Track * > result_type
Global3DPoint GlobalPoint
std::vector< Track > TrackCollection
collection of Tracks
double phi() const
azimuthal angle of momentum vector
void addDeposit(double dr, double deposit)
Add deposit (ie. transverse energy or pT)
GlobalVector inInverseGeV(const GlobalPoint &gp) const
Field value ad specified global point, in 1/Gev.
double eta() const
pseudorapidity of momentum vector
vector< ParameterSet > Parameters
double pt() const
track transverse momentum
void addCandEnergy(double et)
Set energy or pT attached to cand trajectory.
math::XYZPoint Point
point in the space
double vz() const
z coordinate of the reference point on track
std::vector< Veto > Vetos
muonisolation::Range< float > Range
int charge() const
track electric charge
const Point & position() const
position
double dxy() const
dxy parameter. (This is the transverse impact parameter w.r.t. to (0,0,0) ONLY if refPoint is close t...