#include <GenPurposeSkimmerData.h>
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | beginJob () override |
void | endJob () override |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
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<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) |
This is a general purpose Skimmer ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ It reads datasets and keeps only the analysis-relevant information and stores it in a simple TTree. Code Inspired by the T&P code by Claire Timlin Note: a similar code to read PAT tuples is already available
History: 16.10.08: first version 24.10.08: added ECAL/HCAL isolation + sigma ieta ieta (S. Harper) 30.10.08: all isolations use isodeposits all parameters are untracked 18.03.09: modified to store just the 4 highest ET gsf electrons in the event 02.04.09: version for redigi including particle flow MET + gen level MET 04.04.09: version for redigi including tcMET, MET eta dropped 22.04.09: version for redigi including MET Type1 corrections 23.04.09: version completely changes to read from PAT....................... 07.09.09: version for 3_1_2 version 08.09.09: version for 3_1_2 that keeps all the trigger info and reduced number of the other collections
Further Information/Inquiries: Nikos Rompotis - Imperial College London Nikol aos. Rompo tis@ Cern. ch
Definition at line 70 of file GenPurposeSkimmerData.h.
|
explicit |
Definition at line 54 of file GenPurposeSkimmerData.cc.
References BarrelMaxEta, corHybridscToken_, ctfTracksToken_, ElectronCollectionToken_, EndcapMaxEta, EndcapMinEta, edm::ParameterSet::getUntrackedParameter(), HLTCollectionE29_, HLTCollectionE29Token_, HLTCollectionE31_, HLTCollectionE31Token_, HLTTriggerResultsE29_, HLTTriggerResultsE29Token_, HLTTriggerResultsE31_, HLTTriggerResultsE31Token_, mcMetCollectionToken_, MetCollectionTag_, MetCollectionToken_, multi5x5scToken_, offlineBeamSpotToken_, outputFile_, pfMetCollectionToken_, pMuonsToken_, ProbeHLTObjMaxDR, AlCaHLTBitMon_QueryRunRegistry::string, t1MetCollectionToken_, and tcMetCollectionToken_.
|
override |
Definition at line 115 of file GenPurposeSkimmerData.cc.
|
overrideprivate |
-*-*-*-*-*–*-*-*-*-*-*-*-*-*-*-*-*–*-*-*-*-*-*-*-*-*-*-*-*-*-*-*–*-*-*
Definition at line 130 of file GenPurposeSkimmerData.cc.
References BarrelMaxEta, slimmedMETs_cfi::caloMET, corHybridscToken_, gather_cfg::cout, ntupleEnum::ctf, ctf_track_eta, ctf_track_phi, ctf_track_pt, ctf_track_tip, ctf_track_tip_bs, ctf_track_vx, ctf_track_vy, ctf_track_vz, gedGsfElectronCores_cfi::ctfTracks, ctfTracksToken_, electronIdCutBased_cfi::deltaEtaIn, electronIdCutBased_cfi::deltaPhiIn, reco::TrackBase::dxy(), elec_1_duplicate_removal, elec_number_in_event, ElectronCollectionToken_, nano_cff::electrons, EndcapMaxEta, EndcapMinEta, reco::CaloCluster::energy(), stringResolutionProvider_cfi::et, reco::CaloCluster::eta(), reco::TrackBase::eta(), event_mcMET, event_mcMET_phi, event_mcMET_sig, event_MET, event_MET_phi, event_MET_sig, event_pfMET, event_pfMET_phi, event_pfMET_sig, event_t1MET, event_t1MET_phi, event_t1MET_sig, event_tcMET, event_tcMET_phi, event_tcMET_sig, edm::Event::getByToken(), HLTCollectionE29Token_, electronIdCutBased_cfi::hOverE, mps_fire::i, edm::HandleBase::isValid(), mcMetCollectionToken_, nanoDQM_cfi::MET, MetCollectionTag_, MetCollectionToken_, multi5x5scToken_, metsig::muon, muon_eta, muon_phi, muon_pt, muon_tip, muon_tip_bs, muon_vx, muon_vy, muon_vz, offlineBeamSpotToken_, pfMETBenchmark_cfi::pfMET, pfMetCollectionToken_, reco::CaloCluster::phi(), reco::TrackBase::phi(), pMuonsToken_, reco::BeamSpot::position(), probe_charge_for_tree, probe_classification_index_for_tree, probe_ecal_iso_user, probe_ecal_isolation_value, probe_ele_dfi, probe_ele_dhi, probe_ele_e1x5, probe_ele_e2x5, probe_ele_e5x5, probe_ele_eop, probe_ele_et_for_tree, probe_ele_eta_for_tree, probe_ele_hoe, probe_ele_phi_for_tree, probe_ele_pin, probe_ele_pout, probe_ele_shh, probe_ele_sihih, probe_ele_tip, probe_ele_Xvertex_for_tree, probe_ele_Yvertex_for_tree, probe_ele_Zvertex_for_tree, probe_hcal_iso_user, probe_hcal_isolation_value, probe_iso_user, probe_isolation_value, probe_sc_et_for_tree, probe_sc_eta_for_tree, probe_sc_pass_fiducial_cut, probe_sc_phi_for_tree, probe_tree, edm::Handle< T >::product(), reco::TrackBase::pt(), SimDataFormats::CaloAnalysis::sc, sc_hybrid_et, sc_hybrid_eta, sc_hybrid_phi, sc_multi5x5_et, sc_multi5x5_eta, sc_multi5x5_phi, t1MetCollectionToken_, tcMetCollectionToken_, pat::Muon::track(), tree_fills_, reco::TrackBase::vx(), reco::TrackBase::vy(), and reco::TrackBase::vz().
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 897 of file GenPurposeSkimmerData.cc.
References ctf_track_eta, ctf_track_phi, ctf_track_pt, ctf_track_tip, ctf_track_tip_bs, ctf_track_vx, ctf_track_vy, ctf_track_vz, elec_1_duplicate_removal, event_mcMET, event_mcMET_phi, event_MET, event_MET_phi, event_pfMET, event_pfMET_phi, event_t1MET, event_t1MET_phi, event_tcMET, event_tcMET_phi, histofile, muon_eta, muon_phi, muon_pt, muon_tip, muon_tip_bs, muon_vx, muon_vy, muon_vz, outputFile_, probe_charge_for_tree, probe_ecal_iso_user, probe_ecal_isolation_value, probe_ele_dfi, probe_ele_dhi, probe_ele_eop, probe_ele_hoe, probe_ele_pin, probe_ele_pout, probe_ele_sihih, probe_ele_tip, probe_ele_Xvertex_for_tree, probe_ele_Yvertex_for_tree, probe_ele_Zvertex_for_tree, probe_hcal_iso_user, probe_hcal_isolation_value, probe_iso_user, probe_isolation_value, probe_sc_et_for_tree, probe_sc_eta_for_tree, probe_sc_phi_for_tree, probe_tree, sc_hybrid_et, sc_hybrid_eta, sc_hybrid_phi, sc_multi5x5_et, sc_multi5x5_eta, sc_multi5x5_phi, and tree_fills_.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 1036 of file GenPurposeSkimmerData.cc.
References gather_cfg::cout, DEFINE_FWK_MODULE, histofile, and tree_fills_.
|
private |
Definition at line 188 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and GenPurposeSkimmerData().
|
private |
Definition at line 109 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and GenPurposeSkimmerData().
|
private |
Definition at line 221 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 221 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 221 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 223 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 223 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 222 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 222 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 222 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 108 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and GenPurposeSkimmerData().
|
private |
Definition at line 200 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 199 of file GenPurposeSkimmerData.h.
Referenced by analyze().
|
private |
Definition at line 87 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and GenPurposeSkimmerData().
|
private |
Definition at line 190 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and GenPurposeSkimmerData().
|
private |
Definition at line 189 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and GenPurposeSkimmerData().
|
private |
Definition at line 186 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 214 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 214 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 214 of file GenPurposeSkimmerData.h.
Referenced by analyze().
|
private |
Definition at line 202 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 204 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 202 of file GenPurposeSkimmerData.h.
Referenced by analyze().
|
private |
Definition at line 206 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 208 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 206 of file GenPurposeSkimmerData.h.
Referenced by analyze().
|
private |
Definition at line 213 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 213 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 213 of file GenPurposeSkimmerData.h.
Referenced by analyze().
|
private |
Definition at line 205 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 205 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 205 of file GenPurposeSkimmerData.h.
Referenced by analyze().
|
private |
Definition at line 96 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 197 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 115 of file GenPurposeSkimmerData.h.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 98 of file GenPurposeSkimmerData.h.
Referenced by GenPurposeSkimmerData().
|
private |
Definition at line 99 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and GenPurposeSkimmerData().
|
private |
Definition at line 100 of file GenPurposeSkimmerData.h.
Referenced by GenPurposeSkimmerData().
|
private |
Definition at line 101 of file GenPurposeSkimmerData.h.
Referenced by GenPurposeSkimmerData().
|
private |
Definition at line 106 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 102 of file GenPurposeSkimmerData.h.
Referenced by GenPurposeSkimmerData().
|
private |
Definition at line 103 of file GenPurposeSkimmerData.h.
Referenced by GenPurposeSkimmerData().
|
private |
Definition at line 104 of file GenPurposeSkimmerData.h.
Referenced by GenPurposeSkimmerData().
|
private |
Definition at line 105 of file GenPurposeSkimmerData.h.
Referenced by GenPurposeSkimmerData().
|
private |
Definition at line 88 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 89 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 175 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 176 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 92 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and GenPurposeSkimmerData().
|
private |
Definition at line 90 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and GenPurposeSkimmerData().
|
private |
Definition at line 91 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and GenPurposeSkimmerData().
|
private |
Definition at line 110 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and GenPurposeSkimmerData().
|
private |
Definition at line 225 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 225 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 225 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 227 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 227 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 226 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 226 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 226 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 184 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 111 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and GenPurposeSkimmerData().
|
private |
Definition at line 84 of file GenPurposeSkimmerData.h.
Referenced by beginJob(), and GenPurposeSkimmerData().
|
private |
Definition at line 94 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and GenPurposeSkimmerData().
|
private |
Definition at line 112 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and GenPurposeSkimmerData().
|
private |
Definition at line 134 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 152 of file GenPurposeSkimmerData.h.
Referenced by analyze().
|
private |
Definition at line 147 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 146 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 163 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 162 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 169 of file GenPurposeSkimmerData.h.
Referenced by analyze().
|
private |
Definition at line 168 of file GenPurposeSkimmerData.h.
Referenced by analyze().
|
private |
Definition at line 167 of file GenPurposeSkimmerData.h.
Referenced by analyze().
|
private |
Definition at line 164 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 129 of file GenPurposeSkimmerData.h.
Referenced by analyze().
|
private |
Definition at line 127 of file GenPurposeSkimmerData.h.
Referenced by analyze().
|
private |
Definition at line 159 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 139 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 138 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 128 of file GenPurposeSkimmerData.h.
Referenced by analyze().
|
private |
Definition at line 165 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 166 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 160 of file GenPurposeSkimmerData.h.
Referenced by analyze().
|
private |
Definition at line 161 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 133 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 130 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 131 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 132 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 150 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 149 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 173 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 135 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 144 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 143 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 177 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 180 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 178 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 179 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 181 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 157 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 155 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 156 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 158 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 141 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 140 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 153 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 172 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 122 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 120 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 124 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 123 of file GenPurposeSkimmerData.h.
Referenced by analyze().
|
private |
Definition at line 121 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 114 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 195 of file GenPurposeSkimmerData.h.
Referenced by GenPurposeSkimmerData().
|
private |
Definition at line 193 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 192 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 196 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 218 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 218 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 218 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 219 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 219 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 219 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 95 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and GenPurposeSkimmerData().
|
private |
Definition at line 93 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and GenPurposeSkimmerData().
|
private |
Definition at line 85 of file GenPurposeSkimmerData.h.
Referenced by analyze(), beginJob(), and endJob().