CMS 3D CMS Logo

Classes | Public Types | Public Member Functions | Public Attributes

CSCDBGains Class Reference

#include <CSCDBGains.h>

List of all members.

Classes

struct  Item

Public Types

enum  factors { FGAIN = 1000 }
typedef std::vector< ItemGainContainer

Public Member Functions

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

Public Attributes

int factor_gain
GainContainer gains

Detailed Description

Definition at line 8 of file CSCDBGains.h.


Member Typedef Documentation

typedef std::vector<Item> CSCDBGains::GainContainer

Definition at line 25 of file CSCDBGains.h.


Member Enumeration Documentation

Enumerator:
FGAIN 

Definition at line 20 of file CSCDBGains.h.

{FGAIN=1000};

Constructor & Destructor Documentation

CSCDBGains::CSCDBGains ( )

Definition at line 4 of file CSCDBGains.cc.

{}
CSCDBGains::~CSCDBGains ( )

Definition at line 5 of file CSCDBGains.cc.

{}

Member Function Documentation

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

Definition at line 7 of file CSCDBGains.cc.

References gains, and CSCIndexer::stripChannelIndex().

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

Member Data Documentation