#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::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 87 of file LeptonSkimming.h.
|
explicit |
Definition at line 28 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, SkimOnlyElectrons, SkimOnlyMuons, SkipIfNoMuMatch, SLxy_Cut, TrackMuDz_Cut, TrackSdxy_Cut, TrgExclusionCone, TrkObjExclusionCone, and UnbiasedWP.
|
override |
Definition at line 91 of file LeptonSkimming.cc.
|
overrideprivatevirtual |
Reimplemented from edm::stream::EDFilterBase.
Definition at line 436 of file LeptonSkimming.cc.
|
overrideprivatevirtual |
Reimplemented from edm::stream::EDFilterBase.
Definition at line 442 of file LeptonSkimming.cc.
|
static |
Definition at line 479 of file LeptonSkimming.cc.
References edm::ConfigurationDescriptions::addDefault(), DEFINE_FWK_MODULE, and edm::ParameterSetDescription::setUnknown().
|
overrideprivate |
Definition at line 170 of file LeptonSkimming.cc.
References beam_x, beam_y, beam_z, beamSpotToken_, BiasedWP, ChiSquaredProbability(), cleanedObjTracks, cleanedPairTracks, cleanedTracks, conversions_cfi::conversions, conversionsToken_, Cosee_Cut, CoseeK_Cut, TransientVertex::degreesOfFreedom(), boostedElectronIsolation_cff::deltaR, reco::BeamSpot::dxdz(), reco::BeamSpot::dydz(), el_eta, el_phi, el_pt, eleBWPToken_, nano_cff::electrons, electronsToken_, eleUnBWPToken_, ElTracks, ElTrgExclusionCone, ElTrgMuDz_Cut, Epair_ObjectId, Epair_ObjectIndex, Epair_TrkIndex, EpairZvtx_Cut, reco::TrackBase::eta(), EtaTrack_Cut, edm::EventSetup::get(), edm::Event::getByToken(), ConversionTools::hasMatchedConversion(), muons_cff::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, RPCpg::mu, muon_eta, muon_medium, muon_phi, muon_pt, muon_soft, muon_tight, extraflags_cff::muons, muonsToken_, MuTracks, MuTrgExclusionCone, MuTrgMuDz_Cut, nel, nmuons, ntracks, hgcalPlots::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, l1t::tracks, Tracks_, TrackSdxy_Cut, TrgExclusionCone, trgresultsToken_, Trk_container, trk_index, TrkObjExclusionCone, UnbiasedWP, KalmanVertexFitter::vertex(), vertex_point, electrons_cff::vertices, extraflags_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 100 of file LeptonSkimming.cc.
References edm::HLTGlobalStatus::accept(), edm::HandleBase::failedToGet(), edm::Event::getByToken(), edm::HLTGlobalStatus::size(), AlCaHLTBitMon_QueryRunRegistry::string, trgresultsToken_, edm::TriggerNames::triggerName(), and edm::Event::triggerNames().
Referenced by filter().
|
private |
Definition at line 120 of file LeptonSkimming.cc.
References a, b, trigger::TriggerObject::eta(), edm::Event::getByToken(), trigger::TriggerEvent::getObjects(), trigger::TriggerObject::id(), edm::HandleBase::isValid(), relativeConstraints::keys, trigger::TriggerObject::phi(), trigger::TriggerObject::pt(), and trigobjectsToken_.
Referenced by filter().
|
private |
Definition at line 116 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 116 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 116 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 109 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 154 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 110 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 144 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 147 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 145 of file LeptonSkimming.h.
|
private |
Definition at line 119 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 119 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 119 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 104 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 103 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 105 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 131 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 150 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 120 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 120 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 120 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 146 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 113 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 113 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 146 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 141 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 138 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 144 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 119 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 119 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 119 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 119 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 119 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 119 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 106 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 130 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 150 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 145 of file LeptonSkimming.h.
Referenced by LeptonSkimming().
|
private |
Definition at line 151 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 139 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 153 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 146 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 149 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 149 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 149 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 149 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 115 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 142 of file LeptonSkimming.h.
|
private |
Definition at line 142 of file LeptonSkimming.h.
|
private |
Definition at line 152 of file LeptonSkimming.h.
|
private |
Definition at line 124 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 122 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 122 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 155 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 155 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 148 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 156 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 118 of file LeptonSkimming.h.
|
private |
Definition at line 118 of file LeptonSkimming.h.
|
private |
Definition at line 118 of file LeptonSkimming.h.
|
private |
Definition at line 147 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 107 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 143 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 148 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 111 of file LeptonSkimming.h.
Referenced by filter(), and hltFired().
|
private |
Definition at line 112 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 151 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 154 of file LeptonSkimming.h.
Referenced by filter(), and LeptonSkimming().
|
private |
Definition at line 143 of file LeptonSkimming.h.
|
private |
Definition at line 126 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 108 of file LeptonSkimming.h.
Referenced by filter().
|
private |
Definition at line 125 of file LeptonSkimming.h.
Referenced by filter().