#include <SkimmingForB/LeptonSkimming/plugins/LeptonSkimming.cc>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::stream::EDFilterBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
void | beginStream (edm::StreamID) override |
void | endStream () override |
bool | filter (edm::Event &, const edm::EventSetup &) override |
bool | hltFired (const edm::Event &iEvent, const edm::EventSetup &iSetup, std::vector< string > HLTPath) |
std::array< float, 5 > | hltObject (const edm::Event &iEvent, const edm::EventSetup &iSetup, std::vector< string > Seed) |
Private Attributes | |
float | beam_x |
float | beam_y |
float | beam_z |
edm::EDGetTokenT< reco::BeamSpot > | beamSpotToken_ |
double | BiasedWP = -100 |
std::vector< std::shared_ptr< reco::Track > > | cleanedObjTracks |
std::vector< std::shared_ptr< reco::Track > > | cleanedPairTracks |
std::vector< std::shared_ptr< reco::Track > > | cleanedTracks |
edm::EDGetTokenT< reco::ConversionCollection > | conversionsToken_ |
double | Cosee_Cut = -1 |
double | CoseeK_Cut = 0 |
bool | EarlyStop = false |
std::vector< float > | el_eta |
std::vector< float > | el_phi |
std::vector< float > | el_pt |
edm::EDGetTokenT< edm::ValueMap< float > > | eleBWPToken_ |
edm::EDGetToken | electronsToken_ |
edm::EDGetTokenT< edm::ValueMap< float > > | eleUnBWPToken_ |
std::vector< std::shared_ptr< reco::Track > > | ElTracks |
double | ElTrgExclusionCone = 0 |
double | ElTrgMuDz_Cut = 1000 |
std::vector< unsigned int > | Epair_ObjectId |
std::vector< unsigned int > | Epair_ObjectIndex |
std::vector< unsigned int > | Epair_TrkIndex |
double | EpairZvtx_Cut = 10000000 |
double | EtaTrack_Cut = 10 |
std::vector< string > | HLTFilter_ |
std::vector< string > | HLTPath_ |
double | Ksdxy_Cut = 1000 |
double | MaxChi2Track_Cut = 1000 |
double | MaxMB_Cut = 1000 |
double | MaxMee_Cut = 1000 |
double | MinChi2Track_Cut = -1000 |
double | MinMB_Cut = 0 |
double | MinMee_Cut = 0 |
std::vector< float > | muon_eta |
std::vector< float > | muon_medium |
std::vector< float > | muon_phi |
std::vector< float > | muon_pt |
std::vector< float > | muon_soft |
std::vector< float > | muon_tight |
edm::EDGetToken | muonsToken_ |
std::vector< std::shared_ptr< reco::Track > > | MuTracks |
double | MuTrgExclusionCone = 0 |
double | MuTrgMatchCone = 1000 |
double | MuTrgMuDz_Cut = 1000 |
double | MuTrkMinDR_Cut = 0 |
unsigned int | nel = 0 |
unsigned int | nmuons = 0 |
unsigned int | ntracks = 0 |
std::vector< unsigned int > | object_container |
std::vector< unsigned int > | object_id |
bool | ObjPtLargerThanTrack = false |
double | Probee_Cut = 0 |
double | ProbeeK_Cut = 0 |
double | PtB_Cut = 0 |
double | PtEl_Cut = 0 |
double | PtKTrack_Cut = 0 |
double | PtMu_Cut = 0 |
double | PtTrack_Cut = 0 |
double | QualMu_Cut = 0 |
bool | Result = false |
bool | SaveOnlyEPairTracks = false |
bool | SaveOnlyTracks = false |
bool | SaveOutputRoot = true |
float | SelectedMu_DR = -1 |
int | SelectedMu_index |
std::vector< float > | SelectedTrgObj_PtEtaPhiCharge |
bool | SkimOnlyElectrons = false |
bool | SkimOnlyMuons = false |
bool | SkipIfNoMuMatch = false |
double | SLxy_Cut = 0 |
std::vector< float > | tempPtEtaPhiM |
std::vector< float > | tempXYZ |
int | test_ev = 0 |
std::vector< float > | track_vx |
std::vector< float > | track_vy |
std::vector< float > | track_vz |
double | TrackMuDz_Cut = 100000000 |
std::vector< unsigned int > | trackObj_container |
std::vector< unsigned int > | trackPair_container |
edm::EDGetToken | Tracks_ |
double | TrackSdxy_Cut = 0 |
double | TrgExclusionCone = -1 |
edm::EDGetTokenT< edm::TriggerResults > | trgresultsToken_ |
edm::EDGetTokenT< trigger::TriggerEvent > | trigobjectsToken_ |
std::vector< unsigned int > | Trk_container |
unsigned int | trk_index = 0 |
double | TrkObjExclusionCone = 0 |
double | UnbiasedWP = -100 |
bool | UseOnlyBKeeMCForTriplets = false |
reco::TrackBase::Point | vertex_point |
edm::EDGetTokenT< reco::VertexCollection > | vtxToken_ |
float | ZvertexTrg = -1 * std::numeric_limits<float>::max() |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDFilter<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDFilterBase | |
typedef EDFilterAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::ProducerBase | |
ProducesCollector | producesCollector () |
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) |
Description: [one line class summary]
Implementation: [Notes on implementation]
Definition at line 86 of file LeptonSkimming.h.
|
explicit |
Definition at line 26 of file LeptonSkimming.cc.
References BiasedWP, Cosee_Cut, CoseeK_Cut, ElTrgExclusionCone, ElTrgMuDz_Cut, EpairZvtx_Cut, EtaTrack_Cut, edm::ParameterSet::getParameter(), Ksdxy_Cut, MaxChi2Track_Cut, MaxMB_Cut, MaxMee_Cut, MinChi2Track_Cut, MinMB_Cut, MinMee_Cut, MuTrgExclusionCone, MuTrgMatchCone, MuTrgMuDz_Cut, MuTrkMinDR_Cut, ObjPtLargerThanTrack, Probee_Cut, ProbeeK_Cut, PtB_Cut, PtEl_Cut, PtKTrack_Cut, PtMu_Cut, PtTrack_Cut, QualMu_Cut, environment_file_cff::runParameters, SkimOnlyElectrons, SkimOnlyMuons, SkipIfNoMuMatch, SLxy_Cut, TrackMuDz_Cut, TrackSdxy_Cut, TrgExclusionCone, TrkObjExclusionCone, and UnbiasedWP.
|
override |
Definition at line 86 of file LeptonSkimming.cc.
|
overrideprivatevirtual |
Reimplemented from edm::stream::EDFilterBase.
Definition at line 529 of file LeptonSkimming.cc.
|
overrideprivatevirtual |
Reimplemented from edm::stream::EDFilterBase.
Definition at line 532 of file LeptonSkimming.cc.
|
static |
Definition at line 567 of file LeptonSkimming.cc.
References edm::ConfigurationDescriptions::addDefault(), DEFINE_FWK_MODULE, and edm::ParameterSetDescription::setUnknown().
|
overrideprivate |
Definition at line 167 of file LeptonSkimming.cc.
References beam_x, beam_y, beam_z, beamSpotToken_, BiasedWP, ChiSquaredProbability(), cleanedObjTracks, cleanedPairTracks, cleanedTracks, pwdgSkimBPark_cfi::conversions, conversionsToken_, Cosee_Cut, CoseeK_Cut, TransientVertex::degreesOfFreedom(), PbPb_ZMuSkimMuonDPG_cff::deltaR, reco::BeamSpot::dxdz(), reco::BeamSpot::dydz(), el_eta, el_phi, el_pt, eleBWPToken_, pwdgSkimBPark_cfi::electrons, electronsToken_, eleUnBWPToken_, ElTracks, ElTrgExclusionCone, ElTrgMuDz_Cut, Epair_ObjectId, Epair_ObjectIndex, Epair_TrkIndex, EpairZvtx_Cut, runTheMatrix::err, reco::TrackBase::eta(), EtaTrack_Cut, edm::EventSetup::get(), edm::Event::getByToken(), ConversionTools::hasMatchedConversion(), tkConvValidator_cfi::highPurity, HLTFilter_, hltFired(), hltObject(), HLTPath_, isMediumMuonCustom(), edm::Ref< C, T, F >::isNull(), muon::isSoftMuon(), isTightMuonCustom(), TransientVertex::isValid(), Ksdxy_Cut, SiStripPI::max, MaxChi2Track_Cut, MaxMB_Cut, MaxMee_Cut, MinChi2Track_Cut, MinMB_Cut, MinMee_Cut, amptDefaultParameters_cff::mu, muon_eta, muon_medium, muon_phi, muon_pt, muon_soft, muon_tight, PDWG_BPHSkim_cff::muons, muonsToken_, MuTracks, MuTrgExclusionCone, MuTrgMuDz_Cut, nel, nmuons, ntracks, getGTfromDQMFile::obj, object_container, object_id, ObjPtLargerThanTrack, PV3DBase< T, PVType, FrameType >::perp(), reco::BeamSpot::position(), TransientVertex::position(), TransientVertex::positionError(), Probee_Cut, ProbeeK_Cut, reco::TrackBase::pt(), PtB_Cut, PtEl_Cut, PtKTrack_Cut, PtMu_Cut, PtTrack_Cut, QualMu_Cut, GlobalErrorBase< T, ErrorWeightType >::rerr(), Result, SurveyInfoScenario_cff::seed, SelectedMu_DR, SelectedMu_index, SelectedTrgObj_PtEtaPhiCharge, SkimOnlyElectrons, SkimOnlyMuons, SkipIfNoMuMatch, SLxy_Cut, mathSSE::sqrt(), test_ev, TransientVertex::totalChiSquared(), TrackMuDz_Cut, PDWG_EXOHSCP_cff::tracks, Tracks_, TrackSdxy_Cut, TrgExclusionCone, trgresultsToken_, Trk_container, trk_index, TrkObjExclusionCone, UnbiasedWP, KalmanVertexFitter::vertex(), vertex_point, pwdgSkimBPark_cfi::vertices, badGlobalMuonTaggersAOD_cff::vtx, vtxToken_, PV3DBase< T, PVType, FrameType >::x(), reco::BeamSpot::x0(), PV3DBase< T, PVType, FrameType >::y(), reco::BeamSpot::y0(), PV3DBase< T, PVType, FrameType >::z(), reco::BeamSpot::z0(), and ZvertexTrg.
Referenced by Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::filter(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::find(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::setDataAccessor(), and Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::switchCenterView().
|
private |
Definition at line 91 of file LeptonSkimming.cc.
References edm::HLTGlobalStatus::accept(), edm::HandleBase::failedToGet(), edm::Event::getByToken(), edm::HLTGlobalStatus::size(), AlCaHLTBitMon_QueryRunRegistry::string, trgresultsToken_, edm::TriggerNames::triggerName(), edm::Event::triggerNames(), and EgHLTOffTrigSelection_cfi::trigName.
Referenced by filter().
|
private |
Definition at line 116 of file LeptonSkimming.cc.
References a, b, trigger::TriggerObject::eta(), edm::Event::getByToken(), trigger::TriggerEvent::getObjects(), trigger::TriggerObject::id(), HLT_2018_cff::InputTag, edm::HandleBase::isValid(), dqmiolumiharvest::j, relativeConstraints::keys, trigger::TriggerObject::phi(), trigger::TriggerObject::pt(), and trigobjectsToken_.
Referenced by filter().
|
private |
Definition at line 114 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 114 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 114 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 107 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 175 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 128 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 129 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 132 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 108 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 153 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 160 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 154 of file LeptonSkimming.h.
|
private |
Definition at line 117 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 117 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 117 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 102 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 101 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 103 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 131 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 169 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 172 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 118 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 118 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 118 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 157 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 139 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 111 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 111 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 158 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 141 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 145 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 143 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 140 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 146 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 151 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 117 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 117 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 117 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 117 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 117 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 117 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 104 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 130 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 168 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 155 of file LeptonSkimming.h.
Referenced by LeptonSkimming().
|
private |
Definition at line 171 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 142 of file LeptonSkimming.h.
Referenced by LeptonSkimming().
|
private |
Definition at line 136 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 136 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 136 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 134 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 134 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 174 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 152 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 159 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 164 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 167 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 144 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 165 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 138 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 166 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 113 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 148 of file LeptonSkimming.h.
|
private |
Definition at line 147 of file LeptonSkimming.h.
|
private |
Definition at line 173 of file LeptonSkimming.h.
|
private |
Definition at line 123 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 121 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 120 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 178 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 177 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 156 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 163 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 127 of file LeptonSkimming.h.
|
private |
Definition at line 127 of file LeptonSkimming.h.
|
private |
Definition at line 179 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 116 of file LeptonSkimming.h.
|
private |
Definition at line 116 of file LeptonSkimming.h.
|
private |
Definition at line 116 of file LeptonSkimming.h.
|
private |
Definition at line 161 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 133 of file LeptonSkimming.h.
|
private |
Definition at line 133 of file LeptonSkimming.h.
|
private |
Definition at line 105 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 149 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 162 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 109 of file LeptonSkimming.h.
Referenced by filter(), and hltFired().
|
private |
Definition at line 110 of file LeptonSkimming.h.
Referenced by hltObject().
|
private |
Definition at line 134 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 125 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 170 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 176 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 150 of file LeptonSkimming.h.
|
private |
Definition at line 126 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 106 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 124 of file LeptonSkimming.h.
Referenced by filter().