24 const std::vector<CaloTower>& theTowers,
25 float isoConeElectron)
const {
30 const std::vector<CaloTower>& theTowers,
31 float isoConeMuon)
const {
37 const float leptonEnergy,
38 const std::vector<CaloTower>& theTowers,
39 float isoCone)
const {
43 float closestDR = 10000;
44 for (std::vector<CaloTower>::const_iterator itTower = theTowers.begin(); itTower != theTowers.end(); itTower++) {
46 float dPhi = theTrack.
phi() - itTower->phi();
55 isoELepton += itTower->energy();
float calculate(const Electron &anElectron, const std::vector< CaloTower > &theTowers, float isoConeElectron=0.3) const
calculate the CalIsoE from the lepton object
reco::GsfTrackRef gsfTrack() const override
override the reco::GsfElectron::gsfTrack method, to access the internal storage of the supercluster ...
double phi() const
azimuthal angle of momentum vector
double eta() const
pseudorapidity of momentum vector
reco::TrackRef track() const override
reference to Track reconstructed in the tracker only (reimplemented from reco::Muon) ...
CaloIsolationEnergy()
constructor
Power< A, B >::type pow(const A &a, const B &b)
virtual ~CaloIsolationEnergy()
destructor
double energy() const final
energy