CMS 3D CMS Logo

Classes | Public Types | Public Member Functions | Public Attributes

CSCDBPedestals Class Reference

#include <CSCDBPedestals.h>

List of all members.

Classes

struct  Item

Public Types

enum  factors { FPED = 10, FRMS = 1000 }
typedef std::vector< ItemPedestalContainer

Public Member Functions

 CSCDBPedestals ()
const Itemitem (const CSCDetId &cscId, int strip) const
 ~CSCDBPedestals ()

Public Attributes

int factor_ped
int factor_rms
PedestalContainer pedestals

Detailed Description

Definition at line 7 of file CSCDBPedestals.h.


Member Typedef Documentation

Definition at line 24 of file CSCDBPedestals.h.


Member Enumeration Documentation

Enumerator:
FPED 
FRMS 

Definition at line 19 of file CSCDBPedestals.h.

{FPED=10, FRMS=1000};

Constructor & Destructor Documentation

CSCDBPedestals::CSCDBPedestals ( )

Definition at line 4 of file CSCDBPedestals.cc.

{}
CSCDBPedestals::~CSCDBPedestals ( )

Definition at line 5 of file CSCDBPedestals.cc.

{}

Member Function Documentation

const CSCDBPedestals::Item & CSCDBPedestals::item ( const CSCDetId cscId,
int  strip 
) const

Definition at line 7 of file CSCDBPedestals.cc.

References pedestals, and CSCIndexer::stripChannelIndex().

 {
  CSCIndexer indexer;
  //  return pedestals.at( indexer.stripChannelIndex(cscId, strip)-1 ); // if we worry about range
  return pedestals[ indexer.stripChannelIndex(cscId, strip)-1 ]; // no worries about range!
 }

Member Data Documentation