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
l1t::stage2::CaloLayer1Collections::CaloLayer1Collections
CaloLayer1Collections(edm::Event &e)
Definition: CaloLayer1Collections.cc:7
edm::SortedCollection
Definition: SortedCollection.h:49
l1t::UnpackerCollections::event_
edm::Event & event_
Definition: UnpackerCollections.h:12
Event.h
CaloLayer1Collections.h
l1t
delete x;
Definition: CaloConfig.h:22
l1t::stage2::CaloLayer1Collections::~CaloLayer1Collections
~CaloLayer1Collections() override
Definition: CaloLayer1Collections.cc:22
edm::Event::put
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Event.h:132
l1t::stage2::CaloLayer1Collections::ecalDigis_
std::unique_ptr< EcalTrigPrimDigiCollection > ecalDigis_
Definition: CaloLayer1Collections.h:18
SiStripSourceConfigTier0_cff.stage2
stage2
Definition: SiStripSourceConfigTier0_cff.py:71
eostools.move
def move(src, dest)
Definition: eostools.py:511
L1CaloRegionCollection
std::vector< L1CaloRegion > L1CaloRegionCollection
Definition: L1CaloCollections.h:11
l1t::UnpackerCollections
Definition: UnpackerCollections.h:9
l1t::stage2::CaloLayer1Collections::hcalDigis_
std::unique_ptr< HcalTrigPrimDigiCollection > hcalDigis_
Definition: CaloLayer1Collections.h:22
l1t::stage2::CaloLayer1Collections::caloRegions_
std::unique_ptr< L1CaloRegionCollection > caloRegions_
Definition: CaloLayer1Collections.h:23
edm::Event
Definition: Event.h:73
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37