27 using namespace egammaisolation;
30 EgammaTrackExtractor::EgammaTrackExtractor(
const ParameterSet& par ) :
31 theTrackCollectionTag(par.getParameter<edm::
InputTag>(
"inputTrackCollection")),
32 theDepositLabel(par.getUntrackedParameter<std::
string>(
"DepositLabel")),
33 theDiff_r(par.getParameter<double>(
"Diff_r")),
34 theDiff_z(par.getParameter<double>(
"Diff_z")),
35 theDR_Max(par.getParameter<double>(
"DR_Max")),
36 theDR_Veto(par.getParameter<double>(
"DR_Veto")),
37 theBeamlineOption(par.getParameter<std::
string>(
"BeamlineOption")),
38 theBeamSpotLabel(par.getParameter<edm::
InputTag>(
"BeamSpotLabel")),
39 theNHits_Min(par.getParameter<unsigned int>(
"NHits_Min")),
40 theChi2Ndof_Max(par.getParameter<double>(
"Chi2Ndof_Max")),
41 theChi2Prob_Min(par.getParameter<double>(
"Chi2Prob_Min")),
42 thePt_Min(par.getParameter<double>(
"Pt_Min")),
43 dzOptionString(par.getParameter<std::
string>(
"dzOption"))
84 beamPoint = beamSpotH->position();
104 for (itrTr = tracksH->begin();itrTr != trEnd; ++itrTr) {
128 default: dzCut = elec->
gsfTrack()->vz() - itrTr->vz() ;
break;
136 default : dzCut = (*itrTr).vz() - candTk.
vertex().z();
break;
143 if(fabs(itrTr->dxy(beamPoint) ) >
theDiff_r)
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
void setVeto(const Veto &aVeto)
Set veto.
virtual double et() const =0
transverse energy
const std::string metname
virtual float eta() const =0
momentum pseudorapidity
virtual float phi() const =0
momentum azimuthal angle
double phi() const
azimuthal angle of momentum vector
void addDeposit(double dr, double deposit)
Add deposit (ie. transverse energy or pT)
double eta() const
pseudorapidity of momentum vector
void addCandEnergy(double et)
Set energy or pT attached to cand trajectory.
float ChiSquaredProbability(double chiSquared, double nrDOF)
virtual const Point & vertex() const =0
vertex position
math::XYZPoint Point
point in the space
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
std::vector< Veto > Vetos
virtual bool isElectron() const =0
double deltaR(const Direction &dir2) const
virtual GsfTrackRef gsfTrack() const
reference to a GsfTrack