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  {
13  // Pre-allocate:
14  // 72 iPhi values
15  // 28 iEta values in Ecal, 28 + 12 iEta values in Hcal + HF
16  // 2 hemispheres
17  ecalDigis_->reserve(72*28*2);
18  hcalDigis_->reserve(72*40*2);
19  // 7 regions * 18 cards * 2 hemispheres
20  caloRegions_->reserve(7*18*2);
21  }
22 
24  {
28  }
29  }
30 }
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Event.h:125
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