26 using namespace egammaisolation;
30 theTrackCollectionToken(iC.consumes<
View<
Track> >(par.getParameter<edm::
InputTag>(
"inputTrackCollection"))),
31 theDepositLabel(par.getUntrackedParameter<std::
string>(
"DepositLabel")),
32 theDiff_r(par.getParameter<double>(
"Diff_r")),
33 theDiff_z(par.getParameter<double>(
"Diff_z")),
34 theDR_Max(par.getParameter<double>(
"DR_Max")),
35 theDR_Veto(par.getParameter<double>(
"DR_Veto")),
36 theBeamlineOption(par.getParameter<std::
string>(
"BeamlineOption")),
37 theBeamSpotToken(iC.mayConsume<
reco::
BeamSpot>(par.getParameter<edm::
InputTag>(
"BeamSpotLabel"))),
38 theNHits_Min(par.getParameter<unsigned int>(
"NHits_Min")),
39 theChi2Ndof_Max(par.getParameter<double>(
"Chi2Ndof_Max")),
40 theChi2Prob_Min(par.getParameter<double>(
"Chi2Prob_Min")),
41 thePt_Min(par.getParameter<double>(
"Pt_Min")),
42 dzOptionString(par.getParameter<std::
string>(
"dzOption"))
83 beamPoint = beamSpotH->position();
103 for (itrTr = tracksH->begin();itrTr != trEnd; ++itrTr) {
127 default: dzCut = elec->
gsfTrack()->vz() - itrTr->vz() ;
break;
135 default : dzCut = (*itrTr).vz() - candTk.
vertex().z();
break;
142 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