#include <HiggsToZZ4LeptonsSkim.h>
|
virtual bool | filter (edm::Event &, const edm::EventSetup &) |
| Get event properties to send to builder to fill seed collection. More...
|
|
| HiggsToZZ4LeptonsSkim (const edm::ParameterSet &) |
|
| ~HiggsToZZ4LeptonsSkim () |
|
| EDFilter () |
|
ModuleDescription const & | moduleDescription () const |
|
virtual | ~EDFilter () |
|
| ProducerBase () |
|
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
|
std::function< void(BranchDescription
const &)> | registrationCallback () const |
| used by the fwk to register list of products More...
|
|
virtual | ~ProducerBase () |
|
| EDConsumerBase () |
|
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
|
std::vector
< ProductHolderIndexAndSkipBit >
const & | itemsToGetFromEvent () const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
|
virtual | ~EDConsumerBase () |
|
Definition at line 28 of file HiggsToZZ4LeptonsSkim.h.
HiggsToZZ4LeptonsSkim::~HiggsToZZ4LeptonsSkim |
( |
| ) |
|
Get event properties to send to builder to fill seed collection.
Implements edm::EDFilter.
Definition at line 68 of file HiggsToZZ4LeptonsSkim.cc.
References HI_PhotonSkim_cff::electrons, edm::HandleBase::isValid(), patZpeak::muons, nEvents, and edm::Handle< T >::product().
74 bool keepEvent =
false;
75 int nStiffLeptons = 0;
87 reco::TrackCollection::const_iterator
muons;
91 for ( muons = muTracks->begin(); muons != muTracks->end(); ++
muons ) {
92 if ( muons->pt() >
stiffMinPt) nStiffLeptons++;
108 reco::GsfElectronCollection::const_iterator
electrons;
112 for ( electrons = eTracks->begin(); electrons != eTracks->end(); ++
electrons ) {
113 float pt_e = electrons->pt();
edm::InputTag theGLBMuonLabel
std::vector< Track > TrackCollection
collection of Tracks
std::vector< GsfElectron > GsfElectronCollection
collection of GsfElectron objects
edm::InputTag theGsfELabel
T const * product() const
bool HiggsToZZ4LeptonsSkim::debug |
|
private |
int HiggsToZZ4LeptonsSkim::nEvents |
|
private |
int HiggsToZZ4LeptonsSkim::nLeptonMin |
|
private |
int HiggsToZZ4LeptonsSkim::nSelectedEvents |
|
private |
int HiggsToZZ4LeptonsSkim::nStiffLeptonMin |
|
private |
float HiggsToZZ4LeptonsSkim::softMinPt |
|
private |
float HiggsToZZ4LeptonsSkim::stiffMinPt |
|
private |