CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Event.h:133
std::array< std::unique_ptr< EGammaBxCollection >, 6 > egammas_
Definition: GTCollections.h:42
std::array< std::unique_ptr< TauBxCollection >, 6 > taus_
Definition: GTCollections.h:45
std::array< std::unique_ptr< JetBxCollection >, 6 > jets_
Definition: GTCollections.h:44
std::unique_ptr< GlobalExtBlkBxCollection > extBlk_
Definition: GTCollections.h:48
def move
Definition: eostools.py:511
std::array< std::unique_ptr< EtSumBxCollection >, 6 > etsums_
Definition: GTCollections.h:43
std::array< std::unique_ptr< MuonBxCollection >, 6 > muons_
Definition: GTCollections.h:38
std::unique_ptr< GlobalAlgBlkBxCollection > algBlk_
Definition: GTCollections.h:47