30 produces < reco::CandViewDoubleAssociations>();
53 for(
unsigned int i = 0 ;
i < electronHandle->size(); ++
i ){
54 double isoValue = myTkIsolation.
getPtTracks(&(electronHandle->at(
i)));
60 double et = sc.
get()->energy()*
sin(2*atan(
exp(-sc.
get()->eta())));
65 std::auto_ptr<reco::CandViewDoubleAssociations> isolMap(isoMap);
T getParameter(std::string const &) const
edm::InputTag trackProducer_
double getPtTracks(const reco::GsfElectron *) const
virtual void produce(edm::Event &, const edm::EventSetup &)
Sin< T >::type sin(const T &t)
std::vector< Track > TrackCollection
collection of Tracks
Exp< T >::type exp(const T &t)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
~ElectronSqPtTkIsolationProducer()
edm::InputTag electronProducer_
T const * product() const
ElectronSqPtTkIsolationProducer(const edm::ParameterSet &)
edm::AssociationVector< CandidateBaseRefProd, std::vector< double > > CandViewDoubleAssociations
T const * get() const
Returns C++ pointer to the item.
void setValue(size_type i, typename CVal::value_type const &val)