CMS 3D CMS Logo

CaloLayer1Collections.cc
Go to the documentation of this file.
2 
4 
5 namespace l1t {
6  namespace stage2 {
9  ecalDigis_(new EcalTrigPrimDigiCollection()),
10  hcalDigis_(new HcalTrigPrimDigiCollection()),
11  caloRegions_(new L1CaloRegionCollection()) {
12  // Pre-allocate:
13  // 72 iPhi values
14  // 28 iEta values in Ecal, 28 + 12 iEta values in Hcal + HF
15  // 2 hemispheres
16  ecalDigis_->reserve(72 * 28 * 2);
17  hcalDigis_->reserve(72 * 40 * 2);
18  // 7 regions * 18 cards * 2 hemispheres
19  caloRegions_->reserve(7 * 18 * 2);
20  }
21 
26  }
27  } // namespace stage2
28 } // namespace l1t
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Event.h:131
std::unique_ptr< L1CaloRegionCollection > caloRegions_
std::unique_ptr< HcalTrigPrimDigiCollection > hcalDigis_
delete x;
Definition: CaloConfig.h:22
std::unique_ptr< EcalTrigPrimDigiCollection > ecalDigis_
std::vector< L1CaloRegion > L1CaloRegionCollection
def move(src, dest)
Definition: eostools.py:511