CMS 3D CMS Logo

GTCollections.cc
Go to the documentation of this file.
2 
3 #include "GTCollections.h"
4 
5 namespace l1t {
6  namespace stage2 {
8  event_.put(std::move(muons_[0]), "Muon");
9  event_.put(std::move(egammas_[0]), "EGamma");
10  event_.put(std::move(etsums_[0]), "EtSum");
11  event_.put(std::move(jets_[0]), "Jet");
12  event_.put(std::move(taus_[0]), "Tau");
13 
14  for (int i = 1; i < 6; ++i) {
15  event_.put(std::move(muons_[i]), "Muon" + std::to_string(i + 1));
16  event_.put(std::move(egammas_[i]), "EGamma" + std::to_string(i + 1));
17  event_.put(std::move(etsums_[i]), "EtSum" + std::to_string(i + 1));
18  event_.put(std::move(jets_[i]), "Jet" + std::to_string(i + 1));
19  event_.put(std::move(taus_[i]), "Tau" + std::to_string(i + 1));
20  }
21 
24  }
25  } // namespace stage2
26 } // namespace l1t
mps_fire.i
i
Definition: mps_fire.py:355
l1t::stage2::GTCollections::muons_
std::array< std::unique_ptr< MuonBxCollection >, 6 > muons_
Definition: GTCollections.h:38
GTCollections.h
l1t::UnpackerCollections::event_
edm::Event & event_
Definition: UnpackerCollections.h:12
l1t::stage2::GTCollections::etsums_
std::array< std::unique_ptr< EtSumBxCollection >, 6 > etsums_
Definition: GTCollections.h:43
l1t::stage2::GTCollections::~GTCollections
~GTCollections() override
Definition: GTCollections.cc:7
Event.h
l1t
delete x;
Definition: CaloConfig.h:22
edm::Event::put
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Event.h:132
SiStripSourceConfigTier0_cff.stage2
stage2
Definition: SiStripSourceConfigTier0_cff.py:71
l1t::stage2::GTCollections::extBlk_
std::unique_ptr< GlobalExtBlkBxCollection > extBlk_
Definition: GTCollections.h:48
l1t::stage2::GTCollections::egammas_
std::array< std::unique_ptr< EGammaBxCollection >, 6 > egammas_
Definition: GTCollections.h:42
eostools.move
def move(src, dest)
Definition: eostools.py:511
l1t::stage2::GTCollections::algBlk_
std::unique_ptr< GlobalAlgBlkBxCollection > algBlk_
Definition: GTCollections.h:47
l1t::stage2::GTCollections::jets_
std::array< std::unique_ptr< JetBxCollection >, 6 > jets_
Definition: GTCollections.h:44
l1t::stage2::GTCollections::taus_
std::array< std::unique_ptr< TauBxCollection >, 6 > taus_
Definition: GTCollections.h:45