|
| PatZjetsJetAnalyzer (const edm::ParameterSet &) |
|
| ~PatZjetsJetAnalyzer () |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzer () |
|
ModuleDescription const & | moduleDescription () const |
|
std::string | workerType () const |
|
virtual | ~EDAnalyzer () |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
| EDConsumerBase () |
|
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
|
std::vector
< ProductHolderIndexAndSkipBit >
const & | itemsToGetFromEvent () const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
|
virtual | ~EDConsumerBase () |
|
Definition at line 15 of file PatZjetsJetAnalyzer.cc.
Definition at line 36 of file PatZjetsJetAnalyzer.cc.
T getUntrackedParameter(std::string const &, T const &) const
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
edm::EDGetTokenT< edm::View< pat::Jet > > srcToken_
std::map< std::string, TH1F * > histContainer_
PatZjetsJetAnalyzer::~PatZjetsJetAnalyzer |
( |
| ) |
|
Implements edm::EDAnalyzer.
Definition at line 47 of file PatZjetsJetAnalyzer.cc.
References pat::Jet::emEnergyFraction(), reco::LeafCandidate::eta(), edm::Event::getByToken(), pat::Jet::getCaloConstituent(), pat::Jet::getCaloConstituents(), histContainer_, i, metsig::jet, fwrapper::jets, reco::LeafCandidate::phi(), reco::LeafCandidate::pt(), and srcToken_.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
virtual double phi() const final
momentum azimuthal angle
std::vector< CaloTowerPtr > const & getCaloConstituents() const
float emEnergyFraction() const
returns the jet electromagnetic energy fraction
edm::EDGetTokenT< edm::View< pat::Jet > > srcToken_
std::map< std::string, TH1F * > histContainer_
Analysis-level calorimeter jet class.
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
virtual double eta() const final
momentum pseudorapidity
CaloTowerPtr getCaloConstituent(unsigned fIndex) const
convert generic constituent to specific type
virtual double pt() const final
transverse momentum
void PatZjetsJetAnalyzer::beginJob |
( |
void |
| ) |
|
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 68 of file PatZjetsJetAnalyzer.cc.
References histContainer_, and TFileService::make().
76 histContainer_[
"phi" ]=fs->make<TH1F>(
"phi" ,
"phi" , 60, 3.14, 3.14);
78 histContainer_[
"dEta"]=fs->make<TH1F>(
"dEta" ,
"dEta" , 40, 0., 1.);
T * make(const Args &...args) const
make new ROOT object
std::map< std::string, TH1F * > histContainer_
void PatZjetsJetAnalyzer::endJob |
( |
void |
| ) |
|
|
overrideprivatevirtual |
std::map<std::string,TH1F*> PatZjetsJetAnalyzer::histContainer_ |
|
private |