Definition at line 13 of file PatZjetsElectronAnalyzer.cc.
PatZjetsElectronAnalyzer::PatZjetsElectronAnalyzer |
( |
const edm::ParameterSet & |
iConfig | ) |
|
|
explicit |
Definition at line 36 of file PatZjetsElectronAnalyzer.cc.
T getUntrackedParameter(std::string const &, T const &) const
std::map< std::string, TH1F * > histContainer_
PatZjetsElectronAnalyzer::~PatZjetsElectronAnalyzer |
( |
| ) |
|
Implements edm::EDAnalyzer.
Definition at line 47 of file PatZjetsElectronAnalyzer.cc.
References newFWLiteAna::bin, edm::Event::getByLabel(), histContainer_, and src_.
59 histContainer_[
"iso" ]->Fill((elec->trackIso()+elec->caloIso())/elec->pt() );
66 histContainer_[
"dr"]->Fill(
histContainer_[
"dr"]->GetBinCenter(
bin), elec->trackIsoDeposit()->depositWithin(upperEdge) - elec->trackIsoDeposit()->depositWithin(lowerEdge));
69 if( elec->electronID(
"eidRobustLoose") > 0.5 )
71 if( elec->electronID(
"eidRobustTight") > 0.5 )
73 if( elec->electronID(
"eidLoose" ) > 0.5 )
75 if( elec->electronID(
"eidTight" ) > 0.5 )
77 if( elec->electronID(
"eidRobustHighEnergy") > 0.5 )
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
std::map< std::string, TH1F * > histContainer_
void PatZjetsElectronAnalyzer::beginJob |
( |
void |
| ) |
|
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 83 of file PatZjetsElectronAnalyzer.cc.
References histContainer_, and TFileDirectory::make().
91 histContainer_[
"phi" ]=fs->make<TH1F>(
"phi" ,
"phi" , 60, 3.14, 3.14);
92 histContainer_[
"iso" ]=fs->make<TH1F>(
"iso" ,
"iso" , 30, 0., 10.);
95 histContainer_[
"clus"]=fs->make<TH1F>(
"clus" ,
"clus" , 40, 0., 1.);
96 histContainer_[
"eIDs"]=fs->make<TH1F>(
"eIDs" ,
"eIDS" , 5, 0., 5.);
std::map< std::string, TH1F * > histContainer_
T * make() const
make new ROOT object
void PatZjetsElectronAnalyzer::endJob |
( |
void |
| ) |
|
|
privatevirtual |
std::map<std::string,TH1F*> PatZjetsElectronAnalyzer::histContainer_ |
|
private |