|
| PatZjetsElectronAnalyzer (const edm::ParameterSet &) |
|
| ~PatZjetsElectronAnalyzer () |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzer () |
|
ModuleDescription const & | moduleDescription () const |
|
std::string | workerType () const |
|
| ~EDAnalyzer () override |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
void | convertCurrentProcessAlias (std::string const &processName) |
| Convert "@currentProcess" in InputTag process names to the actual current process name. More...
|
|
| EDConsumerBase () |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
| EDConsumerBase (EDConsumerBase &&)=default |
|
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
Definition at line 15 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
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
edm::EDGetTokenT< edm::View< pat::Electron > > srcToken_
std::map< std::string, TH1F * > histContainer_
PatZjetsElectronAnalyzer::~PatZjetsElectronAnalyzer |
( |
| ) |
|
Definition at line 47 of file PatZjetsElectronAnalyzer.cc.
References stringResolutionProvider_cfi::bin, PatTopSelectionAnalyzer_cfi::elecs, HcalObjRepresent::Fill(), edm::Event::getByToken(), histContainer_, and srcToken_.
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 )
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
edm::EDGetTokenT< edm::View< pat::Electron > > srcToken_
bin
set the eta bin as selection string.
std::map< std::string, TH1F * > histContainer_
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
void PatZjetsElectronAnalyzer::beginJob |
( |
void |
| ) |
|
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 83 of file PatZjetsElectronAnalyzer.cc.
References histContainer_, and TFileService::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.);
T * make(const Args &...args) const
make new ROOT object
std::map< std::string, TH1F * > histContainer_
void PatZjetsElectronAnalyzer::endJob |
( |
void |
| ) |
|
|
overrideprivatevirtual |
std::map<std::string,TH1F*> PatZjetsElectronAnalyzer::histContainer_ |
|
private |