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::GTCollections Class Reference

#include <GTCollections.h>

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

Public Member Functions

GlobalAlgBlkBxCollectiongetAlgs ()
 
EGammaBxCollectiongetEGammas () override
 
EtSumBxCollectiongetEtSums () override
 
GlobalExtBlkBxCollectiongetExts ()
 
JetBxCollectiongetJets () override
 
TauBxCollectiongetTaus () override
 
 GTCollections (edm::Event &e)
 
virtual ~GTCollections ()
 
- 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
< GlobalAlgBlkBxCollection
algBlk_
 
std::auto_ptr< EGammaBxCollectionegammas_
 
std::auto_ptr< EtSumBxCollectionetsums_
 
std::auto_ptr
< GlobalExtBlkBxCollection
extBlk_
 
std::auto_ptr< JetBxCollectionjets_
 
std::auto_ptr< TauBxCollectiontaus_
 

Additional Inherited Members

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

Detailed Description

Definition at line 17 of file GTCollections.h.

Constructor & Destructor Documentation

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

Definition at line 19 of file GTCollections.h.

19  :
23  jets_(new JetBxCollection()),
24  taus_(new TauBxCollection()),
BXVector< EGamma > EGammaBxCollection
Definition: EGamma.h:11
BXVector< GlobalExtBlk > GlobalExtBlkBxCollection
Definition: GlobalExtBlk.h:30
std::auto_ptr< GlobalExtBlkBxCollection > extBlk_
Definition: GTCollections.h:47
BXVector< GlobalAlgBlk > GlobalAlgBlkBxCollection
Definition: GlobalAlgBlk.h:31
BXVector< Tau > TauBxCollection
Definition: Tau.h:10
std::auto_ptr< TauBxCollection > taus_
Definition: GTCollections.h:44
BXVector< EtSum > EtSumBxCollection
Definition: EtSum.h:10
std::auto_ptr< EGammaBxCollection > egammas_
Definition: GTCollections.h:36
BXVector< Jet > JetBxCollection
Definition: Jet.h:10
std::auto_ptr< JetBxCollection > jets_
Definition: GTCollections.h:43
std::auto_ptr< EtSumBxCollection > etsums_
Definition: GTCollections.h:42
std::auto_ptr< GlobalAlgBlkBxCollection > algBlk_
Definition: GTCollections.h:46
l1t::stage2::GTCollections::~GTCollections ( )
virtual

Definition at line 7 of file GTCollections.cc.

References algBlk_, egammas_, etsums_, l1t::UnpackerCollections::event_, extBlk_, jets_, edm::Event::put(), and taus_.

8  {
9 
10  event_.put(egammas_, "GT");
11  event_.put(etsums_, "GT");
12  event_.put(jets_, "GT");
13  event_.put(taus_, "GT");
14 
16  event_.put(extBlk_);
17 
18  }
std::auto_ptr< GlobalExtBlkBxCollection > extBlk_
Definition: GTCollections.h:47
std::auto_ptr< TauBxCollection > taus_
Definition: GTCollections.h:44
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
Definition: Event.h:120
std::auto_ptr< EGammaBxCollection > egammas_
Definition: GTCollections.h:36
std::auto_ptr< JetBxCollection > jets_
Definition: GTCollections.h:43
std::auto_ptr< EtSumBxCollection > etsums_
Definition: GTCollections.h:42
std::auto_ptr< GlobalAlgBlkBxCollection > algBlk_
Definition: GTCollections.h:46

Member Function Documentation

GlobalAlgBlkBxCollection* l1t::stage2::GTCollections::getAlgs ( )
inline

Definition at line 35 of file GTCollections.h.

References algBlk_.

35 { return algBlk_.get(); };
std::auto_ptr< GlobalAlgBlkBxCollection > algBlk_
Definition: GTCollections.h:46
EGammaBxCollection* l1t::stage2::GTCollections::getEGammas ( )
inlineoverridevirtual

Implements l1t::stage2::L1TObjectCollections.

Definition at line 30 of file GTCollections.h.

References egammas_.

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

Implements l1t::stage2::L1TObjectCollections.

Definition at line 31 of file GTCollections.h.

References etsums_.

31 { return etsums_.get(); };
std::auto_ptr< EtSumBxCollection > etsums_
Definition: GTCollections.h:42
GlobalExtBlkBxCollection* l1t::stage2::GTCollections::getExts ( )
inline

Definition at line 36 of file GTCollections.h.

References extBlk_.

36 { return extBlk_.get(); };
std::auto_ptr< GlobalExtBlkBxCollection > extBlk_
Definition: GTCollections.h:47
JetBxCollection* l1t::stage2::GTCollections::getJets ( )
inlineoverridevirtual

Implements l1t::stage2::L1TObjectCollections.

Definition at line 32 of file GTCollections.h.

References jets_.

32 { return jets_.get(); };
std::auto_ptr< JetBxCollection > jets_
Definition: GTCollections.h:43
TauBxCollection* l1t::stage2::GTCollections::getTaus ( )
inlineoverridevirtual

Implements l1t::stage2::L1TObjectCollections.

Definition at line 33 of file GTCollections.h.

References taus_.

33 { return taus_.get(); };
std::auto_ptr< TauBxCollection > taus_
Definition: GTCollections.h:44

Member Data Documentation

std::auto_ptr<GlobalAlgBlkBxCollection> l1t::stage2::GTCollections::algBlk_
private

Definition at line 46 of file GTCollections.h.

Referenced by getAlgs(), and ~GTCollections().

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

Definition at line 36 of file GTCollections.h.

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

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

Definition at line 42 of file GTCollections.h.

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

std::auto_ptr<GlobalExtBlkBxCollection> l1t::stage2::GTCollections::extBlk_
private

Definition at line 47 of file GTCollections.h.

Referenced by getExts(), and ~GTCollections().

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

Definition at line 43 of file GTCollections.h.

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

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

Definition at line 44 of file GTCollections.h.

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