CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
GMTCollections.cc
Go to the documentation of this file.
2 
3 #include "GMTCollections.h"
4 
5 #include <string>
6 
7 namespace l1t {
8  namespace stage2 {
13  event_.put(std::move(muons_[0]), "Muon");
14  for (size_t i = 1; i < NUM_OUTPUT_COPIES; ++i) {
15  event_.put(std::move(muons_[i]), "MuonCopy" + std::to_string(i));
16  }
17  event_.put(std::move(imdMuonsBMTF_), "imdMuonsBMTF");
18  event_.put(std::move(imdMuonsEMTFNeg_), "imdMuonsEMTFNeg");
19  event_.put(std::move(imdMuonsEMTFPos_), "imdMuonsEMTFPos");
20  event_.put(std::move(imdMuonsOMTFNeg_), "imdMuonsOMTFNeg");
21  event_.put(std::move(imdMuonsOMTFPos_), "imdMuonsOMTFPos");
22 
24  event_.put(std::move(muonShowers_[0]), "MuonShower");
25  for (size_t i = 1; i < NUM_OUTPUT_COPIES; ++i) {
26  event_.put(std::move(muonShowers_[i]), "MuonShowerCopy" + std::to_string(i));
27  }
28  }
29  } // namespace stage2
30 } // namespace l1t
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Event.h:133
std::unique_ptr< MuonBxCollection > imdMuonsOMTFNeg_
std::unique_ptr< RegionalMuonCandBxCollection > regionalMuonCandsOMTF_
std::unique_ptr< RegionalMuonCandBxCollection > regionalMuonCandsEMTF_
static constexpr size_t NUM_OUTPUT_COPIES
std::unique_ptr< RegionalMuonShowerBxCollection > regionalMuonShowersEMTF_
std::unique_ptr< MuonBxCollection > imdMuonsEMTFNeg_
def move
Definition: eostools.py:511
std::array< std::unique_ptr< MuonBxCollection >, 6 > muons_
std::unique_ptr< RegionalMuonCandBxCollection > regionalMuonCandsBMTF_
std::array< std::unique_ptr< MuonShowerBxCollection >, 6 > muonShowers_
std::unique_ptr< MuonBxCollection > imdMuonsOMTFPos_
std::unique_ptr< MuonBxCollection > imdMuonsBMTF_
std::unique_ptr< MuonBxCollection > imdMuonsEMTFPos_