CMS 3D CMS Logo

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 (const unsigned int copy) override
 
EtSumBxCollectiongetEtSums (const unsigned int copy) override
 
JetBxCollectiongetJets (const unsigned int copy) override
 
EGammaBxCollectiongetMPEGammas ()
 
EtSumBxCollectiongetMPEtSums ()
 
JetBxCollectiongetMPJets ()
 
TauBxCollectiongetMPTaus ()
 
TauBxCollectiongetTaus (const unsigned int copy) override
 
CaloTowerBxCollectiongetTowers ()
 
 ~CaloCollections () override
 
- Public Member Functions inherited from l1t::stage2::L1TObjectCollections
virtual MuonBxCollectiongetMuons (const unsigned int copy)
 
 L1TObjectCollections (edm::Event &e)
 
 ~L1TObjectCollections () override
 
- Public Member Functions inherited from l1t::UnpackerCollections
 UnpackerCollections (edm::Event &e)
 
virtual ~UnpackerCollections ()
 

Private Attributes

std::unique_ptr< EGammaBxCollectionegammas_
 
std::unique_ptr< EtSumBxCollectionetsums_
 
std::unique_ptr< JetBxCollectionjets_
 
std::unique_ptr< EGammaBxCollectionmp_egammas_
 
std::unique_ptr< EtSumBxCollectionmp_etsums_
 
std::unique_ptr< JetBxCollectionmp_jets_
 
std::unique_ptr< TauBxCollectionmp_taus_
 
std::unique_ptr< TauBxCollectiontaus_
 
std::unique_ptr< CaloTowerBxCollectiontowers_
 

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.

References ~CaloCollections().

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

Definition at line 7 of file CaloCollections.cc.

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

Referenced by CaloCollections().

8  {
9  event_.put(std::move(towers_),"CaloTower");
10  event_.put(std::move(egammas_),"EGamma");
11  event_.put(std::move(etsums_),"EtSum");
12  event_.put(std::move(jets_),"Jet");
13  event_.put(std::move(taus_),"Tau");
14 
16  event_.put(std::move(mp_jets_), "MP");
19  }
std::unique_ptr< EtSumBxCollection > etsums_
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Event.h:125
std::unique_ptr< EGammaBxCollection > egammas_
std::unique_ptr< CaloTowerBxCollection > towers_
std::unique_ptr< TauBxCollection > mp_taus_
std::unique_ptr< EtSumBxCollection > mp_etsums_
std::unique_ptr< JetBxCollection > jets_
std::unique_ptr< TauBxCollection > taus_
std::unique_ptr< JetBxCollection > mp_jets_
std::unique_ptr< EGammaBxCollection > mp_egammas_
def move(src, dest)
Definition: eostools.py:511

Member Function Documentation

EGammaBxCollection* l1t::stage2::CaloCollections::getEGammas ( const unsigned int  copy)
inlineoverridevirtual

Reimplemented from l1t::stage2::L1TObjectCollections.

Definition at line 32 of file CaloCollections.h.

References egammas_.

32 { return egammas_.get(); };
std::unique_ptr< EGammaBxCollection > egammas_
EtSumBxCollection* l1t::stage2::CaloCollections::getEtSums ( const unsigned int  copy)
inlineoverridevirtual

Reimplemented from l1t::stage2::L1TObjectCollections.

Definition at line 33 of file CaloCollections.h.

References etsums_.

33 { return etsums_.get(); };
std::unique_ptr< EtSumBxCollection > etsums_
JetBxCollection* l1t::stage2::CaloCollections::getJets ( const unsigned int  copy)
inlineoverridevirtual

Reimplemented from l1t::stage2::L1TObjectCollections.

Definition at line 34 of file CaloCollections.h.

References jets_.

34 { return jets_.get(); };
std::unique_ptr< JetBxCollection > jets_
EGammaBxCollection* l1t::stage2::CaloCollections::getMPEGammas ( )
inline

Definition at line 39 of file CaloCollections.h.

References mp_egammas_.

39 { return mp_egammas_.get(); };
std::unique_ptr< EGammaBxCollection > mp_egammas_
EtSumBxCollection* l1t::stage2::CaloCollections::getMPEtSums ( )
inline

Definition at line 37 of file CaloCollections.h.

References mp_etsums_.

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

Definition at line 38 of file CaloCollections.h.

References mp_jets_.

38 { return mp_jets_.get(); };
std::unique_ptr< JetBxCollection > mp_jets_
TauBxCollection* l1t::stage2::CaloCollections::getMPTaus ( )
inline

Definition at line 40 of file CaloCollections.h.

40 { return mp_taus_.get(); };
std::unique_ptr< TauBxCollection > mp_taus_
TauBxCollection* l1t::stage2::CaloCollections::getTaus ( const unsigned int  copy)
inlineoverridevirtual

Reimplemented from l1t::stage2::L1TObjectCollections.

Definition at line 35 of file CaloCollections.h.

References taus_.

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

Definition at line 31 of file CaloCollections.h.

References towers_.

31 { return towers_.get(); };
std::unique_ptr< CaloTowerBxCollection > towers_

Member Data Documentation

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

Definition at line 44 of file CaloCollections.h.

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

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

Definition at line 45 of file CaloCollections.h.

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

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

Definition at line 46 of file CaloCollections.h.

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

std::unique_ptr<EGammaBxCollection> l1t::stage2::CaloCollections::mp_egammas_
private

Definition at line 51 of file CaloCollections.h.

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

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

Definition at line 49 of file CaloCollections.h.

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

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

Definition at line 50 of file CaloCollections.h.

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

std::unique_ptr<TauBxCollection> l1t::stage2::CaloCollections::mp_taus_
private

Definition at line 52 of file CaloCollections.h.

Referenced by ~CaloCollections().

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

Definition at line 47 of file CaloCollections.h.

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

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

Definition at line 40 of file CaloCollections.h.

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