|
void | analyze (const edm::Event &, const edm::EventSetup &) override |
|
void | beginJob () override |
|
| CMSDAS11DijetAnalyzer (const edm::ParameterSet &) |
|
void | endJob (void) override |
|
| ~CMSDAS11DijetAnalyzer () override |
|
| EDAnalyzer ()=default |
|
| EDAnalyzer (const EDAnalyzer &)=delete |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () final |
|
SerialTaskQueue * | globalRunsQueue () final |
|
const EDAnalyzer & | operator= (const EDAnalyzer &)=delete |
|
bool | wantsGlobalLuminosityBlocks () const final |
|
bool | wantsGlobalRuns () const final |
|
bool | wantsInputProcessBlocks () const final |
|
bool | wantsProcessBlocks () const final |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
bool | wantsStreamLuminosityBlocks () const |
|
bool | wantsStreamRuns () const |
|
| ~EDAnalyzerBase () 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 |
|
ESProxyIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
|
std::vector< ESProxyIndex > const & | esGetTokenIndicesVector (edm::Transition iTrans) const |
|
std::vector< ESRecordIndex > const & | esGetTokenRecordIndicesVector (edm::Transition iTrans) const |
|
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::array< std::vector< ModuleDescription const *> *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, 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 | selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase) |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
typedef EDAnalyzerBase | ModuleType |
|
typedef ProductLabels | Labels |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
|
template<BranchType B = InEvent> |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
|
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
|
ConsumesCollector | consumesCollector () |
| Use a ConsumesCollector to gather consumes information from helper functions. More...
|
|
template<typename ProductType , BranchType B = InEvent> |
void | consumesMany () |
|
void | consumesMany (const TypeToGet &id) |
|
template<BranchType B> |
void | consumesMany (const TypeToGet &id) |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes () |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag const &tag) |
|
template<Transition Tr = Transition::Event> |
constexpr auto | esConsumes () |
|
template<Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag tag) |
|
template<Transition Tr = Transition::Event> |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
| Used with EventSetupRecord::doGet. More...
|
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
|
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
void | resetItemsToGetFrom (BranchType iType) |
|
Definition at line 20 of file CMSDAS11DijetAnalyzer.h.
Definition at line 20 of file CMSDAS11DijetAnalyzer.cc.
References compareTotals::fs, hCorDijetMass, hDijetDeltaEta, hDijetDeltaPhi, hInnerDijetMass, hJet1EMF, hJet1Eta, hJet1Phi, hJet1Pt, hJet2EMF, hJet2Eta, hJet2Phi, hJet2Pt, hJetCorrPt, hJetEMF, hJetEta, hJetPhi, hJetRawPt, hOuterDijetMass, hVertexZ, TFileService::kSharedResource, and NBINS.
32 Double_t BOUNDARIES[
NBINS] = {220, 244, 270, 296, 325, 354, 386, 419, 453, 489, 526, 565,
33 606, 649, 693, 740, 788, 838, 890, 944, 1000, 1058, 1118, 1181,
34 1246, 1313, 1383, 1455, 1530, 1607, 1687, 1770, 1856, 1945, 2037, 2132};
37 hVertexZ =
fs->make<TH1D>(
"hVertexZ",
"Z position of the Vertex", 50, -20, 20);
38 hJetRawPt =
fs->make<TH1D>(
"hJetRawPt",
"Raw Jet Pt", 50, 0, 1000);
39 hJetCorrPt =
fs->make<TH1D>(
"hJetCorrPt",
"Corrected Jet Pt", 50, 0, 1000);
40 hJet1Pt =
fs->make<TH1D>(
"hJet1Pt",
"Corrected Jet1 Pt", 50, 0, 1000);
41 hJet2Pt =
fs->make<TH1D>(
"hJet2Pt",
"Corrected Jet2 Pt", 50, 0, 1000);
43 hJetEta =
fs->make<TH1D>(
"hJetEta",
"Corrected Jet Eta", 10, -5, 5);
44 hJet1Eta =
fs->make<TH1D>(
"hJet1Eta",
"Corrected Jet1 Eta", 10, -5, 5);
45 hJet2Eta =
fs->make<TH1D>(
"hJet2Eta",
"Corrected Jet2 Eta", 10, -5, 5);
47 hJetPhi =
fs->make<TH1D>(
"hJetPhi",
"Corrected Jet Phi", 10, -3.1415, 3.1415);
48 hJet1Phi =
fs->make<TH1D>(
"hJet1Phi",
"Corrected Jet1 Phi", 10, -3.1415, 3.1415);
49 hJet2Phi =
fs->make<TH1D>(
"hJet2Phi",
"Corrected Jet2 Phi", 10, -3.1415, 3.1415);
51 hJetEMF =
fs->make<TH1D>(
"hJetEMF",
"EM Fraction of Jets", 50, 0, 1);
52 hJet1EMF =
fs->make<TH1D>(
"hJet1EMF",
"EM Fraction of Jet1", 50, 0, 1);
53 hJet2EMF =
fs->make<TH1D>(
"hJet2EMF",
"EM Fraction of Jet2", 50, 0, 1);
56 hDijetDeltaPhi =
fs->make<TH1D>(
"hDijetDeltaPhi",
"Dijet |#Delta #phi|", 50, 0, 3.1415);
57 hDijetDeltaEta =
fs->make<TH1D>(
"hDijetDeltaEta",
"Dijet |#Delta #eta|", 50, 0, 6);
static const std::string kSharedResource
std::string jetCorrections
Implements edm::one::EDAnalyzerBase.
Definition at line 65 of file CMSDAS11DijetAnalyzer.cc.
References compare_JetPt(), pfClustersFromHGC3DClusters_cfi::corrector, gather_cfg::cout, spr::deltaEta, PVValHelper::eta, JetCorrector::getJetCorrector(), hCorDijetMass, hDijetDeltaEta, hDijetDeltaPhi, hInnerDijetMass, hJet1EMF, hJet1Eta, hJet1Phi, hJet1Pt, hJet2EMF, hJet2Eta, hJet2Phi, hJet2Pt, hJetCorrPt, hJetEMF, hJetEta, hJetPhi, hJetRawPt, hOuterDijetMass, hVertexZ, iEvent, innerDeltaEta, edm::HandleBase::isValid(), JESbias, metsig::jet, jetCorrections, jetSrc, reco::Vertex::ndof(), outerDeltaEta, phi, reco::Vertex::position(), DiDispStaMuonMonitor_cfi::pt, L1EGammaClusterEmuProducer_cfi::scale, objectSelection_cff::selectedJets, jetUpdater_cfi::sort, vertexSrc, GenEventInfoProduct::weight(), and reco::Vertex::z().
69 iEvent.getByLabel(
"generator", hEventInfo);
71 mWeight = hEventInfo->
weight();
90 std::cout <<
"Didja hear the one about the empty vertex collection?\n";
95 if (vertices_h->empty())
102 if (theVertex->
ndof() < 5)
104 if (fabs(theVertex->
z()) > 24.0)
106 if (fabs(theVertex->
position().rho()) > 2.0)
117 std::cout <<
"Didja hear the one about the empty jet collection?\n";
128 for (reco::CaloJetCollection::const_iterator j_it = jets_h->begin(); j_it != jets_h->end(); j_it++) {
141 hJetEMF->Fill(
jet.emEnergyFraction(), mWeight);
Jets made from CaloTowers.
double z() const
z coordinate
static bool compare_JetPt(const reco::CaloJet &jet1, const reco::CaloJet &jet2)
const Point & position() const
position
static const double deltaEta
std::string jetCorrections
static const JetCorrector * getJetCorrector(const std::string &fName, const edm::EventSetup &fSetup)
retrieve corrector from the event setup. troughs exception if something is missing ...