CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes
egHLT::OffEvt Class Reference

#include <EgHLTOffEvt.h>

Public Member Functions

void clear ()
 
const std::vector< OffEle > & eles () const
 
std::vector< OffEle > & eles ()
 
TrigCodes::TrigBitSet evtTrigBits () const
 
const std::vector
< reco::CaloJet > & 
jets () const
 
 OffEvt ()=default
 
const std::vector< OffPho > & phos () const
 
std::vector< OffPho > & phos ()
 
void setEvtTrigBits (TrigCodes::TrigBitSet bits)
 
void setJets (edm::Handle< std::vector< reco::CaloJet > > jets)
 
 ~OffEvt ()=default
 

Private Attributes

std::vector< OffEleeles_
 
TrigCodes::TrigBitSet evtTrigBits_
 
edm::Handle< std::vector
< reco::CaloJet > > 
jets_
 
std::vector< OffPhophos_
 

Detailed Description

Definition at line 29 of file EgHLTOffEvt.h.

Constructor & Destructor Documentation

egHLT::OffEvt::OffEvt ( )
default
egHLT::OffEvt::~OffEvt ( )
default

Member Function Documentation

void OffEvt::clear ( void  )

Definition at line 5 of file EgHLTOffEvt.cc.

References edm::HandleBase::clear(), eles_, evtTrigBits_, jets_, and phos_.

Referenced by egHLT::OffHelper::makeOffEvt().

5  {
6  jets_.clear();
7  eles_.clear();
8  phos_.clear();
9  evtTrigBits_ = 0x0;
10 }
std::vector< OffEle > eles_
Definition: EgHLTOffEvt.h:35
TrigCodes::TrigBitSet evtTrigBits_
Definition: EgHLTOffEvt.h:40
std::vector< OffPho > phos_
Definition: EgHLTOffEvt.h:37
edm::Handle< std::vector< reco::CaloJet > > jets_
Definition: EgHLTOffEvt.h:32
const std::vector<OffEle>& egHLT::OffEvt::eles ( ) const
inline
std::vector<OffEle>& egHLT::OffEvt::eles ( )
inline

Definition at line 49 of file EgHLTOffEvt.h.

References eles_.

49 { return eles_; }
std::vector< OffEle > eles_
Definition: EgHLTOffEvt.h:35
TrigCodes::TrigBitSet egHLT::OffEvt::evtTrigBits ( ) const
inline

Definition at line 52 of file EgHLTOffEvt.h.

References evtTrigBits_.

Referenced by egHLT::PhoHLTFilterMon::fill(), egHLT::EleHLTFilterMon::fill(), and egHLT::EgEvtTrigCut< T >::pass().

52 { return evtTrigBits_; }
TrigCodes::TrigBitSet evtTrigBits_
Definition: EgHLTOffEvt.h:40
const std::vector<reco::CaloJet>& egHLT::OffEvt::jets ( ) const
inline

Definition at line 53 of file EgHLTOffEvt.h.

References jets_, and edm::Handle< T >::product().

Referenced by egHLT::EgJetTagProbeCut< T >::pass(), egHLT::EgJetB2BCut< T >::pass(), and setJets().

53 { return *jets_.product(); }
T const * product() const
Definition: Handle.h:70
edm::Handle< std::vector< reco::CaloJet > > jets_
Definition: EgHLTOffEvt.h:32
const std::vector<OffPho>& egHLT::OffEvt::phos ( ) const
inline
std::vector<OffPho>& egHLT::OffEvt::phos ( )
inline

Definition at line 51 of file EgHLTOffEvt.h.

References phos_.

51 { return phos_; }
std::vector< OffPho > phos_
Definition: EgHLTOffEvt.h:37
void egHLT::OffEvt::setEvtTrigBits ( TrigCodes::TrigBitSet  bits)
inline

Definition at line 57 of file EgHLTOffEvt.h.

References evtTrigBits_.

Referenced by egHLT::OffHelper::setTrigInfo().

57 { evtTrigBits_ = bits; }
TrigCodes::TrigBitSet evtTrigBits_
Definition: EgHLTOffEvt.h:40
void egHLT::OffEvt::setJets ( edm::Handle< std::vector< reco::CaloJet > >  jets)
inline

Definition at line 58 of file EgHLTOffEvt.h.

References jets(), jets_, and eostools::move().

Referenced by egHLT::OffHelper::makeOffEvt().

58 { jets_ = std::move(jets); }
def move
Definition: eostools.py:511
edm::Handle< std::vector< reco::CaloJet > > jets_
Definition: EgHLTOffEvt.h:32

Member Data Documentation

std::vector<OffEle> egHLT::OffEvt::eles_
private

Definition at line 35 of file EgHLTOffEvt.h.

Referenced by clear(), and eles().

TrigCodes::TrigBitSet egHLT::OffEvt::evtTrigBits_
private

Definition at line 40 of file EgHLTOffEvt.h.

Referenced by clear(), evtTrigBits(), and setEvtTrigBits().

edm::Handle<std::vector<reco::CaloJet> > egHLT::OffEvt::jets_
private

Definition at line 32 of file EgHLTOffEvt.h.

Referenced by clear(), jets(), and setJets().

std::vector<OffPho> egHLT::OffEvt::phos_
private

Definition at line 37 of file EgHLTOffEvt.h.

Referenced by clear(), and phos().