CMS 3D CMS Logo

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

#include <CaloCollections.h>

Inheritance diagram for l1t::stage2::CaloCollections:
l1t::stage2::L1TObjectCollections l1t::UnpackerCollections

Public Member Functions

 CaloCollections (edm::Event &e)
 
EGammaBxCollectiongetEGammas () override
 
EtSumBxCollectiongetEtSums () override
 
JetBxCollectiongetJets () override
 
EtSumBxCollectiongetMPEtSums ()
 
JetBxCollectiongetMPJets ()
 
TauBxCollectiongetTaus () override
 
CaloTowerBxCollectiongetTowers ()
 
virtual ~CaloCollections ()
 
- Public Member Functions inherited from l1t::stage2::L1TObjectCollections
 L1TObjectCollections (edm::Event &e)
 
virtual ~L1TObjectCollections ()
 
- Public Member Functions inherited from l1t::UnpackerCollections
 UnpackerCollections (edm::Event &e)
 
virtual ~UnpackerCollections ()
 

Private Attributes

std::auto_ptr< EGammaBxCollectionegammas_
 
std::auto_ptr< EtSumBxCollectionetsums_
 
std::auto_ptr< JetBxCollectionjets_
 
std::auto_ptr< EtSumBxCollectionmp_etsums_
 
std::auto_ptr< JetBxCollectionmp_jets_
 
std::auto_ptr< TauBxCollectiontaus_
 
std::auto_ptr
< CaloTowerBxCollection
towers_
 

Additional Inherited Members

- Protected Attributes inherited from l1t::UnpackerCollections
edm::Eventevent_
 

Detailed Description

Definition at line 15 of file CaloCollections.h.

Constructor & Destructor Documentation

l1t::stage2::CaloCollections::CaloCollections ( edm::Event e)
inline

Definition at line 17 of file CaloCollections.h.

17  :
22  jets_(new JetBxCollection()),
23  taus_(new TauBxCollection()),
25  mp_jets_(new JetBxCollection()) {};
BXVector< EGamma > EGammaBxCollection
Definition: EGamma.h:11
std::auto_ptr< EtSumBxCollection > mp_etsums_
std::auto_ptr< JetBxCollection > mp_jets_
std::auto_ptr< JetBxCollection > jets_
std::auto_ptr< TauBxCollection > taus_
std::auto_ptr< CaloTowerBxCollection > towers_
std::auto_ptr< EtSumBxCollection > etsums_
BXVector< Tau > TauBxCollection
Definition: Tau.h:10
BXVector< EtSum > EtSumBxCollection
Definition: EtSum.h:10
std::auto_ptr< EGammaBxCollection > egammas_
BXVector< Jet > JetBxCollection
Definition: Jet.h:10
BXVector< CaloTower > CaloTowerBxCollection
Definition: CaloTower.h:10
l1t::stage2::CaloCollections::~CaloCollections ( )
virtual

Definition at line 7 of file CaloCollections.cc.

References egammas_, etsums_, l1t::UnpackerCollections::event_, jets_, mp_etsums_, mp_jets_, edm::Event::put(), taus_, and towers_.

8  {
12  event_.put(jets_);
13  event_.put(taus_);
14 
15  event_.put(mp_etsums_, "MP");
16  event_.put(mp_jets_, "MP");
17  }
std::auto_ptr< EtSumBxCollection > mp_etsums_
std::auto_ptr< JetBxCollection > mp_jets_
std::auto_ptr< JetBxCollection > jets_
std::auto_ptr< TauBxCollection > taus_
std::auto_ptr< CaloTowerBxCollection > towers_
std::auto_ptr< EtSumBxCollection > etsums_
std::auto_ptr< EGammaBxCollection > egammas_
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
Definition: Event.h:120

Member Function Documentation

EGammaBxCollection* l1t::stage2::CaloCollections::getEGammas ( )
inlineoverridevirtual

Implements l1t::stage2::L1TObjectCollections.

Definition at line 30 of file CaloCollections.h.

References egammas_.

30 { return egammas_.get(); };
std::auto_ptr< EGammaBxCollection > egammas_
EtSumBxCollection* l1t::stage2::CaloCollections::getEtSums ( )
inlineoverridevirtual

Implements l1t::stage2::L1TObjectCollections.

Definition at line 31 of file CaloCollections.h.

References etsums_.

31 { return etsums_.get(); };
std::auto_ptr< EtSumBxCollection > etsums_
JetBxCollection* l1t::stage2::CaloCollections::getJets ( )
inlineoverridevirtual

Implements l1t::stage2::L1TObjectCollections.

Definition at line 32 of file CaloCollections.h.

References jets_.

32 { return jets_.get(); };
std::auto_ptr< JetBxCollection > jets_
EtSumBxCollection* l1t::stage2::CaloCollections::getMPEtSums ( )
inline

Definition at line 35 of file CaloCollections.h.

References mp_etsums_.

35 { return mp_etsums_.get(); };
std::auto_ptr< EtSumBxCollection > mp_etsums_
JetBxCollection* l1t::stage2::CaloCollections::getMPJets ( )
inline

Definition at line 36 of file CaloCollections.h.

36 { return mp_jets_.get(); };
std::auto_ptr< JetBxCollection > mp_jets_
TauBxCollection* l1t::stage2::CaloCollections::getTaus ( )
inlineoverridevirtual

Implements l1t::stage2::L1TObjectCollections.

Definition at line 33 of file CaloCollections.h.

References taus_.

33 { return taus_.get(); };
std::auto_ptr< TauBxCollection > taus_
CaloTowerBxCollection* l1t::stage2::CaloCollections::getTowers ( )
inline

Definition at line 29 of file CaloCollections.h.

References towers_.

29 { return towers_.get(); };
std::auto_ptr< CaloTowerBxCollection > towers_

Member Data Documentation

std::auto_ptr<EGammaBxCollection> l1t::stage2::CaloCollections::egammas_
private

Definition at line 40 of file CaloCollections.h.

Referenced by getEGammas(), and ~CaloCollections().

std::auto_ptr<EtSumBxCollection> l1t::stage2::CaloCollections::etsums_
private

Definition at line 41 of file CaloCollections.h.

Referenced by getEtSums(), and ~CaloCollections().

std::auto_ptr<JetBxCollection> l1t::stage2::CaloCollections::jets_
private

Definition at line 42 of file CaloCollections.h.

Referenced by getJets(), and ~CaloCollections().

std::auto_ptr<EtSumBxCollection> l1t::stage2::CaloCollections::mp_etsums_
private

Definition at line 45 of file CaloCollections.h.

Referenced by getMPEtSums(), and ~CaloCollections().

std::auto_ptr<JetBxCollection> l1t::stage2::CaloCollections::mp_jets_
private

Definition at line 46 of file CaloCollections.h.

Referenced by ~CaloCollections().

std::auto_ptr<TauBxCollection> l1t::stage2::CaloCollections::taus_
private

Definition at line 43 of file CaloCollections.h.

Referenced by getTaus(), and ~CaloCollections().

std::auto_ptr<CaloTowerBxCollection> l1t::stage2::CaloCollections::towers_
private

Definition at line 36 of file CaloCollections.h.

Referenced by getTowers(), and ~CaloCollections().