#include <CSCIndexerStartup.h>
Additional Inherited Members | |
Public Types inherited from CSCIndexerBase | |
typedef boost::tuple< CSCDetId, IndexType, IndexType > | GasGainIndexType |
typedef uint16_t | IndexType |
typedef uint32_t | LongIndexType |
Protected Member Functions inherited from CSCIndexerBase | |
CSCDetId | detIdFromChamberLabel (IndexType ie, IndexType icl) const |
Protected Attributes inherited from CSCIndexerBase | |
std::vector< IndexType > | chamberLabel_ |
Concrete CSCIndexer class appropriate for CSC Conditions Data access for CMS startup (2008-2013) in which most ME4/2 chambers do not exist and the 48 ME1/1A strips are ganged into 16 channels.
The conditions data are stored in an order based on the hadrware channel order so this class has to jump through hoops in order to map between that order and a CSCDetID order offline.
See documentation in base class CSCIndexerBase for more information.
with rings ME11, ME12, ME13, ME21, ME22, ME31, ME32, ME41 totalling 234 chambers per endcap. But ME42 is appended (to permit simulation studies), so the chamber order is
+z ME11, ME12, ME13, ME21, ME22, ME31, ME32, ME41,
-z ME11, ME12, ME13, ME21, ME22, ME31, ME32, ME41,
+z ME42, -z ME42
CSCIndexerBase::stripChannelIndex returns
1-217728 (CSCs 2008), 217729-252288 (ME42) (and ME1a channels are always channels 65-80 of 1-80 in ME11)
CSCIndexerBase::chipIndex returns
1-13608 (CSCs 2008), 13609-15768 (ME42)
CSCIndexerBase::gasGainIndex returns
1-45144 (CSCs 2008), 45145-55944 (ME42)
Definition at line 38 of file CSCIndexerStartup.h.
|
override |
Definition at line 3 of file CSCIndexerStartup.cc.
|
inlineoverridevirtual |
Number of Buckeye chips indices per layer in a chamber in offline ring 'ir' of station 'is'.
Station label range 1-4, Ring label range 1-4 (4=ME1a)
Considers ME42 as standard 5 chip per layer chambers.
Implements CSCIndexerBase.
Definition at line 160 of file CSCIndexerStartup.h.
Referenced by detIdFromGasGainIndex().
|
inlineoverridevirtual |
Number of Buckeye chips per layer in an online chamber in ring 'ir' of station 'is'. Works for ME1a (ring 4 of ME1) too.
'Online' ME11 for the startup is considered as a single chamber with 5 chips
Implements CSCIndexerBase.
Definition at line 97 of file CSCIndexerStartup.h.
|
inlineoverridevirtual |
Linear index for 1st Buckeye chip in offline ring 'ir' of station 'is' in endcap 'ie'.
Endcap label range 1-2, Station label range 1-4, Ring label range 1-3.
Implements CSCIndexerBase.
Definition at line 175 of file CSCIndexerStartup.h.
|
overridevirtual |
Build index used internally in online CSC conditions databases (the 'Igor Index')
This is the decimal integer ie*100000 + is*10000 + ir*1000 + ic*10 + il
(ie=1-2, is=1-4, ir=1-4, ic=1-36, il=1-6)
Channels 1-16 in ME1A (is=1, ir=4) are reset to channels 65-80 of ME11.
Implements CSCIndexerBase.
Definition at line 113 of file CSCIndexerStartup.cc.
References RecoEcal_EventContent_cff::ec.
Referenced by sectorStart().
|
overridevirtual |
CSCDetId + chip within chamber from conditions data chip index.
Implements CSCIndexerBase.
Definition at line 59 of file CSCIndexerStartup.cc.
References CSCIndexerBase::detIdFromLayerIndex().
Referenced by sectorStart().
|
overridevirtual |
CSCDetId + HV segment + chip within chamber from conditions data gas gain index.
Implements CSCIndexerBase.
Definition at line 129 of file CSCIndexerStartup.cc.
References relativeConstraints::chamber, chipsPerLayer(), triggerObjects_cff::id, createfilelist::int, CSCIndexerBase::sectorsPerLayer(), and pfDeepBoostedJetPreprocessParams_cfi::upper_bound.
Referenced by sectorStart().
|
overridevirtual |
Decode CSCDetId from various indexes and labels
Implements CSCIndexerBase.
Definition at line 5 of file CSCIndexerStartup.cc.
References CSCIndexerBase::detIdFromLayerIndex(), and nchan.
Referenced by sectorStart().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Reimplemented from CSCIndexerBase.
Definition at line 42 of file CSCIndexerStartup.h.
Referenced by config.CFG::__str__(), validation.Sample::digest(), VIDSelectorBase.VIDSelectorBase::initialize(), and Vispa.Views.PropertyView.Property::valueChanged().
How many online rings are there in station 'is'=1, 2, 3, 4 ?
Implements CSCIndexerBase.
Definition at line 59 of file CSCIndexerStartup.h.
|
inlineoverridevirtual |
Linear index for 1st Gas gain sector in ring 'ir' of station 'is' in endcap 'ie'.
Endcap label range 1-2, Station label range 1-4, Ring label range 1-4 (4=ME1a)
Implements CSCIndexerBase.
Definition at line 200 of file CSCIndexerStartup.h.
References dbIndex(), detIdFromChipIndex(), detIdFromGasGainIndex(), and detIdFromStripChannelIndex().
|
inlineoverridevirtual |
Number of strip channel indices for a layer in a chamber defined by station number 'is' and ring number 'ir'.
Station label range 1-4, Ring label range 1-4 (4=ME1a)
This depends on the ordering of the channels in the database. In startup scenario there are 80 indices allocated per ME1/1 layer with 1-64 belonging to ME1b and 65-80 belonging to ME1a. So the ME1/a database indices are mapped to extend the ME1/b index ranges, which is how the raw hardware channels numbering is implemented.
Implements CSCIndexerBase.
Definition at line 118 of file CSCIndexerStartup.h.
|
inlineoverridevirtual |
Number of strip readout channels per layer in an offline chamber with ring 'ir' and station 'is'. Works for ME1a (ring 4 of ME1) too.
Assume ME1a has 16 ganged readout channels.
Implements CSCIndexerBase.
Definition at line 71 of file CSCIndexerStartup.h.
|
inlineoverridevirtual |
Number of strip readout channels per layer in an online chamber with ring 'ir' and station 'is'. Works for ME1a (ring 4 of ME1) too.
Assume ME1a has 16 ganged readout channels. Online chamber has 64+16=80 channels.
Implements CSCIndexerBase.
Definition at line 84 of file CSCIndexerStartup.h.
|
inlineoverridevirtual |
Linear index for 1st strip channel in ring 'ir' of station 'is' in endcap 'ie'.
Endcap label range 1-2, Station label range 1-4, Ring label range 1-4.
WARNING: while ME1a channels are the last 16 of the 80 total in each layer of an ME11 chamber, their start index here defaults to the start index of ME1a.
Implements CSCIndexerBase.
Definition at line 133 of file CSCIndexerStartup.h.