#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.
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 35 of file CSCIndexerStartup.h.
CSCIndexerStartup::~CSCIndexerStartup | ( | ) |
Definition at line 4 of file CSCIndexerStartup.cc.
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 162 of file CSCIndexerStartup.h.
Referenced by detIdFromGasGainIndex().
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 98 of file CSCIndexerStartup.h.
|
inlinevirtual |
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 176 of file CSCIndexerStartup.h.
|
virtual |
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 119 of file CSCIndexerStartup.cc.
|
virtual |
CSCDetId + chip within chamber from conditions data chip index.
Implements CSCIndexerBase.
Definition at line 63 of file CSCIndexerStartup.cc.
References CSCIndexerBase::detIdFromLayerIndex().
|
virtual |
CSCDetId + HV segment + chip within chamber from conditions data gas gain index.
Implements CSCIndexerBase.
Definition at line 137 of file CSCIndexerStartup.cc.
References chipsPerLayer(), CSCIndexerBase::sectorsPerLayer(), and mergeVDriftHistosByStation::stations.
|
virtual |
Decode CSCDetId from various indexes and labels
Implements CSCIndexerBase.
Definition at line 7 of file CSCIndexerStartup.cc.
References CSCIndexerBase::detIdFromLayerIndex(), and nchan.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented from CSCIndexerBase.
Definition at line 41 of file CSCIndexerStartup.h.
Referenced by cuy.divideElement::__init__(), cuy.plotElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), BeautifulSoup.Tag::_invert(), 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.
|
inlinevirtual |
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 201 of file CSCIndexerStartup.h.
|
inlinevirtual |
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 120 of file CSCIndexerStartup.h.
|
inlinevirtual |
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 72 of file CSCIndexerStartup.h.
|
inlinevirtual |
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 85 of file CSCIndexerStartup.h.
|
inlinevirtual |
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 134 of file CSCIndexerStartup.h.