#include <GenPurposeSkimmerData.h>
Public Member Functions | |
GenPurposeSkimmerData (const edm::ParameterSet &) | |
~GenPurposeSkimmerData () | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob () |
virtual void | endJob () |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
CurrentProcessingContext const * | currentContext () const |
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 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 67 of file GenPurposeSkimmerData.h.
|
explicit |
Definition at line 58 of file GenPurposeSkimmerData.cc.
References BarrelMaxEta, corHybridsc_, ctfTracksTag_, ElectronCollection_, EndcapMaxEta, EndcapMinEta, edm::ParameterSet::getUntrackedParameter(), HLTCollectionE29_, HLTCollectionE31_, HLTTriggerResultsE29_, HLTTriggerResultsE31_, mcMetCollectionTag_, MetCollectionTag_, multi5x5sc_, outputFile_, pfMetCollectionTag_, ProbeHLTObjMaxDR, AlCaHLTBitMon_QueryRunRegistry::string, t1MetCollectionTag_, and tcMetCollectionTag_.
GenPurposeSkimmerData::~GenPurposeSkimmerData | ( | ) |
Definition at line 111 of file GenPurposeSkimmerData.cc.
|
privatevirtual |
-*-*-*-*-*–*-*-*-*-*-*-*-*-*-*-*-*–*-*-*-*-*-*-*-*-*-*-*-*-*-*-*–*-*-*
Implements edm::EDAnalyzer.
Definition at line 126 of file GenPurposeSkimmerData.cc.
References BarrelMaxEta, corHybridsc_, gather_cfg::cout, 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, ctfTracksTag_, reco::TrackBase::dxy(), elec_1_duplicate_removal, elec_number_in_event, ElectronCollection_, HI_PhotonSkim_cff::electrons, EndcapMaxEta, EndcapMinEta, reco::CaloCluster::energy(), reco::TrackBase::eta(), reco::CaloCluster::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::getByLabel(), HLTCollectionE29_, i, getHLTprescales::index, edm::HandleBase::isValid(), mcMetCollectionTag_, MetCollectionTag_, multi5x5sc_, metsig::muon, muon_eta, muon_phi, muon_pt, muon_tip, muon_tip_bs, muon_vx, muon_vy, muon_vz, pfMET_cfi::pfMET, pfMetCollectionTag_, reco::TrackBase::phi(), reco::CaloCluster::phi(), 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(), sc_hybrid_et, sc_hybrid_eta, sc_hybrid_phi, sc_multi5x5_et, sc_multi5x5_eta, sc_multi5x5_phi, t1MetCollectionTag_, tcMetCollectionTag_, pat::Muon::track(), tree_fills_, reco::TrackBase::vx(), reco::TrackBase::vy(), and reco::TrackBase::vz().
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 896 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_.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 1035 of file GenPurposeSkimmerData.cc.
References gather_cfg::cout, histofile, and tree_fills_.
|
private |
Definition at line 177 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and GenPurposeSkimmerData().
|
private |
Definition at line 101 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and GenPurposeSkimmerData().
|
private |
Definition at line 210 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 210 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 210 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 212 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 212 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 211 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 211 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 211 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 100 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and GenPurposeSkimmerData().
|
private |
Definition at line 189 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 188 of file GenPurposeSkimmerData.h.
Referenced by analyze().
|
private |
Definition at line 84 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and GenPurposeSkimmerData().
|
private |
Definition at line 179 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and GenPurposeSkimmerData().
|
private |
Definition at line 178 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and GenPurposeSkimmerData().
|
private |
Definition at line 175 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 203 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 203 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 203 of file GenPurposeSkimmerData.h.
Referenced by analyze().
|
private |
Definition at line 191 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 193 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 191 of file GenPurposeSkimmerData.h.
Referenced by analyze().
|
private |
Definition at line 195 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 197 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 195 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 202 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 194 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 194 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 194 of file GenPurposeSkimmerData.h.
Referenced by analyze().
|
private |
Definition at line 92 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 186 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 104 of file GenPurposeSkimmerData.h.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 94 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and GenPurposeSkimmerData().
|
private |
Definition at line 95 of file GenPurposeSkimmerData.h.
Referenced by GenPurposeSkimmerData().
|
private |
Definition at line 98 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 96 of file GenPurposeSkimmerData.h.
Referenced by GenPurposeSkimmerData().
|
private |
Definition at line 97 of file GenPurposeSkimmerData.h.
Referenced by GenPurposeSkimmerData().
|
private |
Definition at line 85 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 164 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 165 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 87 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and GenPurposeSkimmerData().
|
private |
Definition at line 86 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and GenPurposeSkimmerData().
|
private |
Definition at line 101 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and GenPurposeSkimmerData().
|
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(), and beginJob().
|
private |
Definition at line 216 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 216 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 215 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 215 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 215 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 173 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 81 of file GenPurposeSkimmerData.h.
Referenced by beginJob(), and GenPurposeSkimmerData().
|
private |
Definition at line 89 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and GenPurposeSkimmerData().
|
private |
Definition at line 123 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 141 of file GenPurposeSkimmerData.h.
Referenced by analyze().
|
private |
Definition at line 136 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 135 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 152 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 151 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 158 of file GenPurposeSkimmerData.h.
Referenced by analyze().
|
private |
Definition at line 157 of file GenPurposeSkimmerData.h.
Referenced by analyze().
|
private |
Definition at line 156 of file GenPurposeSkimmerData.h.
Referenced by analyze().
|
private |
Definition at line 153 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 118 of file GenPurposeSkimmerData.h.
Referenced by analyze().
|
private |
Definition at line 116 of file GenPurposeSkimmerData.h.
Referenced by analyze().
|
private |
Definition at line 148 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 128 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 127 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 117 of file GenPurposeSkimmerData.h.
Referenced by analyze().
|
private |
Definition at line 154 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 155 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 149 of file GenPurposeSkimmerData.h.
Referenced by analyze().
|
private |
Definition at line 150 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 122 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 119 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 121 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 139 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 138 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 162 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 124 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 133 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 166 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 169 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 167 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 168 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 170 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 146 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 144 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 145 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 147 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 130 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 129 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 142 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 161 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 111 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 109 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 113 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 112 of file GenPurposeSkimmerData.h.
Referenced by analyze().
|
private |
Definition at line 110 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 103 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 184 of file GenPurposeSkimmerData.h.
Referenced by GenPurposeSkimmerData().
|
private |
Definition at line 182 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 181 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 185 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 207 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 207 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 207 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 208 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 90 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and GenPurposeSkimmerData().
|
private |
Definition at line 91 of file GenPurposeSkimmerData.h.
|
private |
Definition at line 88 of file GenPurposeSkimmerData.h.
Referenced by analyze(), and GenPurposeSkimmerData().
|
private |
Definition at line 82 of file GenPurposeSkimmerData.h.
Referenced by analyze(), beginJob(), and endJob().