Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-02-08 06:27:53

0001 #include "FWCore/Framework/interface/Event.h"
0002 
0003 #include "GTCollections.h"
0004 
0005 namespace l1t {
0006   namespace stage2 {
0007     GTCollections::~GTCollections() {
0008       event_.put(std::move(muons_[0]), "Muon");
0009       event_.put(std::move(muonShowers_[0]), "MuonShower");
0010       event_.put(std::move(egammas_[0]), "EGamma");
0011       event_.put(std::move(etsums_[0]), "EtSum");
0012       event_.put(std::move(jets_[0]), "Jet");
0013       event_.put(std::move(taus_[0]), "Tau");
0014       for (int i = 1; i < 6; ++i) {
0015         event_.put(std::move(muons_[i]), "Muon" + std::to_string(i + 1));
0016         event_.put(std::move(muonShowers_[i]), "MuonShower" + std::to_string(i + 1));
0017         event_.put(std::move(egammas_[i]), "EGamma" + std::to_string(i + 1));
0018         event_.put(std::move(etsums_[i]), "EtSum" + std::to_string(i + 1));
0019         event_.put(std::move(jets_[i]), "Jet" + std::to_string(i + 1));
0020         event_.put(std::move(taus_[i]), "Tau" + std::to_string(i + 1));
0021       }
0022 
0023       event_.put(std::move(algBlk_));
0024       event_.put(std::move(extBlk_));
0025     }
0026   }  // namespace stage2
0027 }  // namespace l1t