CMS 3D CMS Logo

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 {
10  {
14  event_.put(std::move(muons_[0]), "Muon");
15  for (int i=1; i<6; ++i) {
16  event_.put(std::move(muons_[i]), ("MuonCopy"+std::to_string(i)).c_str());
17  }
18  event_.put(std::move(imdMuonsBMTF_), "imdMuonsBMTF");
19  event_.put(std::move(imdMuonsEMTFNeg_), "imdMuonsEMTFNeg");
20  event_.put(std::move(imdMuonsEMTFPos_), "imdMuonsEMTFPos");
21  event_.put(std::move(imdMuonsOMTFNeg_), "imdMuonsOMTFNeg");
22  event_.put(std::move(imdMuonsOMTFPos_), "imdMuonsOMTFPos");
23  }
24  }
25 }
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Event.h:122
std::unique_ptr< MuonBxCollection > imdMuonsOMTFNeg_
std::unique_ptr< RegionalMuonCandBxCollection > regionalMuonCandsOMTF_
std::unique_ptr< RegionalMuonCandBxCollection > regionalMuonCandsEMTF_
delete x;
Definition: CaloConfig.h:22
std::unique_ptr< MuonBxCollection > imdMuonsEMTFNeg_
std::array< std::unique_ptr< MuonBxCollection >, 6 > muons_
std::unique_ptr< RegionalMuonCandBxCollection > regionalMuonCandsBMTF_
std::unique_ptr< MuonBxCollection > imdMuonsOMTFPos_
std::unique_ptr< MuonBxCollection > imdMuonsBMTF_
def move(src, dest)
Definition: eostools.py:510
std::unique_ptr< MuonBxCollection > imdMuonsEMTFPos_