CMS 3D CMS Logo

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

◆ OffEvt()

egHLT::OffEvt::OffEvt ( )
default

◆ ~OffEvt()

egHLT::OffEvt::~OffEvt ( )
default

Member Function Documentation

◆ clear()

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

◆ eles() [1/2]

const std::vector<OffEle>& egHLT::OffEvt::eles ( ) const
inline

◆ eles() [2/2]

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

◆ evtTrigBits()

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

◆ jets()

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

◆ phos() [1/2]

const std::vector<OffPho>& egHLT::OffEvt::phos ( ) const
inline

◆ phos() [2/2]

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

◆ setEvtTrigBits()

void egHLT::OffEvt::setEvtTrigBits ( TrigCodes::TrigBitSet  bits)
inline

Definition at line 57 of file EgHLTOffEvt.h.

References gpuClustering::pixelStatus::bits, and evtTrigBits_.

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

57 { evtTrigBits_ = bits; }
constexpr uint32_t bits
Definition: gpuClustering.h:23
TrigCodes::TrigBitSet evtTrigBits_
Definition: EgHLTOffEvt.h:40

◆ setJets()

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); }
const std::vector< reco::CaloJet > & jets() const
Definition: EgHLTOffEvt.h:53
edm::Handle< std::vector< reco::CaloJet > > jets_
Definition: EgHLTOffEvt.h:32
def move(src, dest)
Definition: eostools.py:511

Member Data Documentation

◆ eles_

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

Definition at line 35 of file EgHLTOffEvt.h.

Referenced by clear(), and eles().

◆ evtTrigBits_

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

Definition at line 40 of file EgHLTOffEvt.h.

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

◆ jets_

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

Definition at line 32 of file EgHLTOffEvt.h.

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

◆ phos_

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

Definition at line 37 of file EgHLTOffEvt.h.

Referenced by clear(), and phos().