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 ()
 
std::vector< OffEle > & eles ()
 
const std::vector< OffEle > & eles () const
 
TrigCodes::TrigBitSet evtTrigBits () const
 
const std::vector< reco::CaloJet > & jets () const
 
 OffEvt ()=default
 
std::vector< OffPho > & phos ()
 
const std::vector< OffPho > & phos () const
 
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.

5  {
6  jets_.clear();
7  eles_.clear();
8  phos_.clear();
9  evtTrigBits_ = 0x0;
10 }

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

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

◆ eles() [1/2]

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

Definition at line 49 of file EgHLTOffEvt.h.

49 { return eles_; }

References eles_.

◆ eles() [2/2]

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

◆ evtTrigBits()

TrigCodes::TrigBitSet egHLT::OffEvt::evtTrigBits ( ) const
inline

◆ jets()

const std::vector<reco::CaloJet>& egHLT::OffEvt::jets ( ) const
inline

Definition at line 53 of file EgHLTOffEvt.h.

53 { return *jets_.product(); }

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

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

◆ phos() [1/2]

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

Definition at line 51 of file EgHLTOffEvt.h.

51 { return phos_; }

References phos_.

◆ phos() [2/2]

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

◆ setEvtTrigBits()

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

Definition at line 57 of file EgHLTOffEvt.h.

57 { evtTrigBits_ = bits; }

References bits, and evtTrigBits_.

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

◆ setJets()

void egHLT::OffEvt::setJets ( edm::Handle< std::vector< reco::CaloJet > >  jets)
inline

Definition at line 58 of file EgHLTOffEvt.h.

58 { jets_ = std::move(jets); }

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

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

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().

edm::Handle::product
T const * product() const
Definition: Handle.h:70
egHLT::OffEvt::eles_
std::vector< OffEle > eles_
Definition: EgHLTOffEvt.h:35
egHLT::OffEvt::phos_
std::vector< OffPho > phos_
Definition: EgHLTOffEvt.h:37
egHLT::OffEvt::jets
const std::vector< reco::CaloJet > & jets() const
Definition: EgHLTOffEvt.h:53
egHLT::OffEvt::jets_
edm::Handle< std::vector< reco::CaloJet > > jets_
Definition: EgHLTOffEvt.h:32
edm::HandleBase::clear
void clear()
Definition: HandleBase.h:51
egHLT::OffEvt::evtTrigBits_
TrigCodes::TrigBitSet evtTrigBits_
Definition: EgHLTOffEvt.h:40
bits
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
Definition: EventSelector-behavior.doc:35
eostools.move
def move(src, dest)
Definition: eostools.py:511