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(muonShowers_[0]), "MuonShower");
10  event_.put(std::move(egammas_[0]), "EGamma");
11  event_.put(std::move(etsums_[0]), "EtSum");
12  event_.put(std::move(zdcsums_[0]), "EtSumZDC");
13  event_.put(std::move(jets_[0]), "Jet");
14  event_.put(std::move(taus_[0]), "Tau");
15  event_.put(std::move(cicadaScore_), "CICADAScore");
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(muonShowers_[i]), "MuonShower" + std::to_string(i + 1));
19  event_.put(std::move(egammas_[i]), "EGamma" + std::to_string(i + 1));
20  event_.put(std::move(etsums_[i]), "EtSum" + std::to_string(i + 1));
21  event_.put(std::move(zdcsums_[i]), "EtSumZDC" + std::to_string(i + 1));
22  event_.put(std::move(jets_[i]), "Jet" + std::to_string(i + 1));
23  event_.put(std::move(taus_[i]), "Tau" + std::to_string(i + 1));
24  }
25 
28  }
29  } // namespace stage2
30 } // 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:55
std::array< std::unique_ptr< TauBxCollection >, 6 > taus_
Definition: GTCollections.h:59
std::array< std::unique_ptr< JetBxCollection >, 6 > jets_
Definition: GTCollections.h:58
std::unique_ptr< GlobalExtBlkBxCollection > extBlk_
Definition: GTCollections.h:63
delete x;
Definition: CaloConfig.h:22
static std::string to_string(const XMLCh *ch)
std::array< std::unique_ptr< MuonShowerBxCollection >, 6 > muonShowers_
Definition: GTCollections.h:54
std::array< std::unique_ptr< EtSumBxCollection >, 6 > etsums_
Definition: GTCollections.h:56
std::array< std::unique_ptr< EtSumBxCollection >, 6 > zdcsums_
Definition: GTCollections.h:57
std::array< std::unique_ptr< MuonBxCollection >, 6 > muons_
Definition: GTCollections.h:50
std::unique_ptr< GlobalAlgBlkBxCollection > algBlk_
Definition: GTCollections.h:62
def move(src, dest)
Definition: eostools.py:511
std::unique_ptr< CICADABxCollection > cicadaScore_
Definition: GTCollections.h:60