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  {
9 
10  event_.put(std::move(muons_[0]), "Muon");
11  event_.put(std::move(egammas_[0]), "EGamma");
12  event_.put(std::move(etsums_[0]), "EtSum");
13  event_.put(std::move(jets_[0]), "Jet");
14  event_.put(std::move(taus_[0]), "Tau");
15 
16  for (int i=1; i<6; ++i) {
17  event_.put(std::move(muons_[i]), "Muon" + std::to_string(i+1));
18  event_.put(std::move(egammas_[i]), "EGamma" + std::to_string(i+1));
19  event_.put(std::move(etsums_[i]), "EtSum" + std::to_string(i+1));
20  event_.put(std::move(jets_[i]), "Jet" + std::to_string(i+1));
21  event_.put(std::move(taus_[i]), "Tau" + std::to_string(i+1));
22  }
23 
26 
27  }
28  }
29 }
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Event.h:125
std::array< std::unique_ptr< MuonBxCollection >, 6 > muons_
Definition: GTCollections.h:41
std::unique_ptr< GlobalExtBlkBxCollection > extBlk_
Definition: GTCollections.h:53
delete x;
Definition: CaloConfig.h:22
std::array< std::unique_ptr< JetBxCollection >, 6 > jets_
Definition: GTCollections.h:49
std::array< std::unique_ptr< EGammaBxCollection >, 6 > egammas_
Definition: GTCollections.h:47
std::unique_ptr< GlobalAlgBlkBxCollection > algBlk_
Definition: GTCollections.h:52
std::array< std::unique_ptr< TauBxCollection >, 6 > taus_
Definition: GTCollections.h:50
def move(src, dest)
Definition: eostools.py:511
std::array< std::unique_ptr< EtSumBxCollection >, 6 > etsums_
Definition: GTCollections.h:48