Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
CondFormats
CSCObjects
src
CSCDBPedestals.cc
Go to the documentation of this file.
1
#include "
CondFormats/CSCObjects/interface/CSCDBPedestals.h
"
2
#include "
DataFormats/MuonDetId/interface/CSCIndexer.h
"
3
4
CSCDBPedestals::CSCDBPedestals
(){}
5
CSCDBPedestals::~CSCDBPedestals
(){}
6
7
const
CSCDBPedestals::Item
&
CSCDBPedestals::item
(
const
CSCDetId
& cscId,
int
strip
)
const
8
{
9
CSCIndexer
indexer;
10
// return pedestals.at( indexer.stripChannelIndex(cscId, strip)-1 ); // if we worry about range
11
return
pedestals
[ indexer.
stripChannelIndex
(cscId, strip)-1 ];
// no worries about range!
12
}
13
CSCIndexer.h
CSCDBPedestals::Item
Definition:
CSCDBPedestals.h:12
strip
void strip(std::string &input, const std::string &blanks=" \n\t")
Definition:
stringTools.cc:16
CSCDetId
Definition:
CSCDetId.h:27
CSCDBPedestals::CSCDBPedestals
CSCDBPedestals()
Definition:
CSCDBPedestals.cc:4
CSCDBPedestals::item
const Item & item(const CSCDetId &cscId, int strip) const
Definition:
CSCDBPedestals.cc:7
CSCDBPedestals.h
CSCIndexer
Definition:
CSCIndexer.h:44
CSCDBPedestals::pedestals
PedestalContainer pedestals
Definition:
CSCDBPedestals.h:26
CSCIndexer::stripChannelIndex
LongIndexType stripChannelIndex(IndexType ie, IndexType is, IndexType ir, IndexType ic, IndexType il, IndexType istrip) const
Definition:
CSCIndexer.h:176
CSCDBPedestals::~CSCDBPedestals
~CSCDBPedestals()
Definition:
CSCDBPedestals.cc:5
Generated for CMSSW Reference Manual by
1.8.5