25 using namespace egammaisolation;
29 theTrackCollectionToken(iC.consumes<
View<
Track> >(par.getParameter<edm::
InputTag>(
"inputTrackCollection"))),
30 theDepositLabel(par.getUntrackedParameter<std::
string>(
"DepositLabel")),
31 theDiff_r(par.getParameter<double>(
"Diff_r")),
32 theDiff_z(par.getParameter<double>(
"Diff_z")),
33 theDR_Max(par.getParameter<double>(
"DR_Max")),
34 theDR_Veto(par.getParameter<double>(
"DR_Veto")),
35 theBeamlineOption(par.getParameter<std::
string>(
"BeamlineOption")),
36 theBeamSpotToken(iC.mayConsume<
reco::
BeamSpot>(par.getParameter<edm::
InputTag>(
"BeamSpotLabel"))),
37 theNHits_Min(par.getParameter<unsigned int>(
"NHits_Min")),
38 theChi2Ndof_Max(par.getParameter<double>(
"Chi2Ndof_Max")),
39 theChi2Prob_Min(par.getParameter<double>(
"Chi2Prob_Min")),
40 thePt_Min(par.getParameter<double>(
"Pt_Min")),
41 dzOptionString(par.getParameter<std::
string>(
"dzOption"))
82 beamPoint = beamSpotH->position();
102 for (itrTr = tracksH->begin();itrTr != trEnd; ++itrTr) {
126 default: dzCut = elec->
gsfTrack()->vz() - itrTr->vz() ;
break;
134 default : dzCut = (*itrTr).vz() - candTk.
vertex().z();
break;
141 if(fabs(itrTr->dxy(beamPoint) ) >
theDiff_r)
void setVeto(const Veto &aVeto)
Set veto.
virtual double et() const =0
transverse energy
const std::string metname
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
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
virtual bool isElectron() const =0
double deltaR(const Direction &dir2) const
virtual double phi() const =0
momentum azimuthal angle
virtual double eta() const =0
momentum pseudorapidity
virtual GsfTrackRef gsfTrack() const
reference to a GsfTrack