CMS 3D CMS Logo

EBDetId Class Reference

Crystal identifier class for the ECAL barrel. More...

#include <DataFormats/EcalDetId/interface/EBDetId.h>

Inheritance diagram for EBDetId:

DetId

List of all members.

Public Types

enum  { Subdet = EcalBarrel }

Public Member Functions

 EBDetId (const DetId &id)
 Constructor from a generic cell id.
 EBDetId (int index1, int index2, int mode=ETAPHIMODE)
 Constructor from crystal ieta and iphi or from SM# and crystal#.
 EBDetId (uint32_t rawid)
 Constructor from a raw value.
 EBDetId ()
 Constructor of a null id.
int hashedIndex () const
 get a compact index for arrays
int ic () const
 get ECAL/crystal number inside SM
int ieta () const
 get the crystal ieta
int ietaAbs () const
 get the absolute value of the crystal ieta
int ietaSM () const
 get the crystal ieta in the SM convention (1-85)
int im () const
 get the number of module inside the SM (1-4)
int iphi () const
 get the crystal iphi
int iphiSM () const
 get the crystal iphi (1-20)
int ism () const
 get the ECAL/SM id
int numberByEtaPhi () const
int numberBySM () const
EBDetIdoperator= (const DetId &id)
 Assignment operator from cell id.
bool positiveZ () const
EcalTrigTowerDetId tower () const
 get the HCAL/trigger iphi of this crystal
int tower_ieta () const
 get the HCAL/trigger ieta of this crystal
int tower_iphi () const
 get the HCAL/trigger iphi of this crystal
int zside () const
 get the z-side of the crystal (1/-1)

Static Public Member Functions

static bool isNextToBoundary (EBDetId id)
static bool isNextToEtaBoundary (EBDetId id)
static bool isNextToPhiBoundary (EBDetId id)
static EcalSubdetector subdet ()
 get the subdetector .i.e EcalBarrel (what else?)
static EBDetId unhashIndex (int hi)
 get a DetId from a compact index for arrays
static bool validDetId (int i, int j)
 check if a valid index combination
static bool validHashIndex (int i)

Static Public Attributes

static const int ETAPHIMODE = 0
static const int kChannelsPerCard = 5
static const int kCrystalsInEta = 85
static const int kCrystalsInPhi = 20
static const int kCrystalsPerSM = 1700
static const int kModuleBoundaries [4] = { 25, 45, 65, 85 }
static const int kModulesPerSM = 4
static const int kTowersInPhi = 4
static const int MAX_C = kCrystalsPerSM
static const int MAX_HASH = 2*MAX_IPHI*MAX_IETA-1
static const int MAX_IETA = 85
static const int MAX_IPHI = 360
static const int MAX_SM = 36
static const int MIN_C = 1
static const int MIN_HASH = 0
static const int MIN_IETA = 1
 range constants
static const int MIN_IPHI = 1
static const int MIN_SM = 1
static const int SIZE_HASH = 2*MAX_IPHI*MAX_IETA
static const int SMCRYSTALMODE = 1


Detailed Description

Crystal identifier class for the ECAL barrel.

Id
EBDetId.h,v 1.21 2008/03/03 15:20:05 ferriff Exp

Definition at line 19 of file EBDetId.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
Subdet 

Definition at line 21 of file EBDetId.h.

00021 { Subdet=EcalBarrel};


Constructor & Destructor Documentation

EBDetId::EBDetId (  )  [inline]

Constructor of a null id.

Definition at line 23 of file EBDetId.h.

Referenced by unhashIndex().

00023 {}

EBDetId::EBDetId ( uint32_t  rawid  )  [inline]

Constructor from a raw value.

Definition at line 25 of file EBDetId.h.

00025 : DetId(rawid) {}

EBDetId::EBDetId ( int  index1,
int  index2,
int  mode = ETAPHIMODE 
)

Constructor from crystal ieta and iphi or from SM# and crystal#.

Definition at line 8 of file EBDetId.cc.

References ETAPHIMODE, Exception, i, DetId::id_, int, j, kCrystalsInPhi, SMCRYSTALMODE, and validDetId().

00009   : DetId(Ecal,EcalBarrel)
00010 {
00011   int crystal_ieta;
00012   int crystal_iphi;
00013   if (mode == ETAPHIMODE) {
00014     crystal_ieta = index1;
00015     crystal_iphi = index2;  
00016   } else if (mode == SMCRYSTALMODE) {
00017     int SM = index1;
00018     int crystal = index2;
00019     int i = (int)  floor((crystal-1) / kCrystalsInPhi);
00020     int j = ((crystal-1) - (kCrystalsInPhi*i));
00021     if (SM <= 18) {
00022       crystal_ieta = i + 1;
00023       crystal_iphi = ((SM-1) * kCrystalsInPhi) + (kCrystalsInPhi-j);
00024     } else {
00025       crystal_ieta = -(i+1);
00026       crystal_iphi = ((SM-19) * kCrystalsInPhi) + j+1;
00027     }
00028   } else {
00029     throw cms::Exception("InvalidDetId") << "EBDetId:  Cannot create object.  Unknown mode for (int, int) constructor."; 
00030   }
00031 
00032   if ( !validDetId(crystal_ieta, crystal_iphi) ) {
00033     //    std::cout << "crystal_eta " << crystal_ieta << "crystal_phi " << crystal_iphi << std::endl;
00034     throw cms::Exception("InvalidDetId") << "EBDetId:  Cannot create object.  Indexes out of bounds \n" 
00035                                          << "eta = " << crystal_ieta << " phi = " << crystal_iphi;
00036   }
00037   id_|=((crystal_ieta>0)?(0x10000|(crystal_ieta<<9)):((-crystal_ieta)<<9))|(crystal_iphi&0x1FF);
00038 }

EBDetId::EBDetId ( const DetId id  ) 

Constructor from a generic cell id.

Definition at line 40 of file EBDetId.cc.

References DetId::det(), DetId::Ecal, EcalBarrel, Exception, DetId::id_, DetId::null(), DetId::rawId(), and DetId::subdetId().

00040                                  {
00041   if (!gen.null() && ( gen.det()!=Ecal || gen.subdetId()!=EcalBarrel )) {
00042     throw cms::Exception("InvalidDetId");
00043   }
00044   id_=gen.rawId();
00045 }


Member Function Documentation

int EBDetId::hashedIndex (  )  const [inline]

get a compact index for arrays

Definition at line 72 of file EBDetId.h.

References numberByEtaPhi().

Referenced by EcalURecHitHists::analyze(), EcalGetLaserData::analyze(), EcalTestDevDB::generateEcalLaserAlphas(), EcalTestDevDB::generateEcalLaserAPDPNRatios(), EcalTestDevDB::generateEcalLaserAPDPNRatiosRef(), popcon::EcalLaserHandler::getNewObjects(), popcon::EcalPedestalsHandler::getNewObjectsP5(), and EcalMipGraphs::selectEBHits().

00072 { return numberByEtaPhi(); }

int EBDetId::ic (  )  const

get ECAL/crystal number inside SM

Definition at line 82 of file EBDetId.cc.

References ietaAbs(), iphi(), kCrystalsInPhi, and zside().

Referenced by EcalURecHitHists::analyze(), EcalSimpleTBAnalyzer::analyze(), EcalBarrelRecHitsValidation::analyze(), EcalTrigPrimAnalyzerMIPs::analyze(), EcalTBReadout::findTTlist(), iphiSM(), numberBySM(), EcalPedOffset::readDACs(), EcalPedHists::readEBdigis(), and EcalMipGraphs::selectEBHits().

00082                       {
00083   int ie = ietaAbs() -1;
00084   int ip;
00085   if (zside() < 0) {
00086     ip = (( iphi() -1 ) % kCrystalsInPhi ) + 1;
00087   } else {
00088     ip = kCrystalsInPhi - ((iphi() -1 ) % kCrystalsInPhi );
00089   }
00090 
00091   return (ie * kCrystalsInPhi) + ip;
00092 }

int EBDetId::ieta (  )  const [inline]

get the crystal ieta

Definition at line 43 of file EBDetId.h.

References ietaAbs(), and zside().

Referenced by PhiSymmetryCalibration::analyze(), EBBeamHodoTask::analyze(), EcalRecHitsValidation::analyze(), EcalSimpleTBAnalyzer::analyze(), EcalDigisValidation::analyze(), EEBeamHodoTask::analyze(), JetToDigiDump::analyze(), EcalBarrelRecHitsValidation::analyze(), EcalBarrelDigisValidation::analyze(), EcalTBValidation::analyze(), DQMHLTSourcePi0::analyze(), EcalMixingModuleValidation::analyze(), DQMSourcePi0::analyze(), ElectronCalibration::analyze(), EcalTrigPrimAnalyzerMIPs::analyze(), PhiSymmetryCalibration::beginJob(), Pi0FixedMassWindowCalibration::beginOfJob(), InvRingCalib::beginOfJob(), ZeeCalibration::beginOfJob(), EcalDeadChannelRecoveryAlgos::Correct(), EBSelectiveReadoutTask::dccNum(), EcalEleCalibLooper::duringLoop(), Pi0FixedMassWindowCalibration::duringLoop(), ElectronCalibrationUniv::endJob(), PhiSymmetryCalibration::endJob(), Pi0FixedMassWindowCalibration::endOfJob(), EcalEleCalibLooper::endOfLoop(), Pi0FixedMassWindowCalibration::endOfLoop(), ZeeCalibration::endOfLoop(), AlCaElectronsTest::fillAroundBarrel(), EcalEleCalibLooper::fillEBMap(), InvRingCalib::fillEBMap(), FastL1Region::FillEMCrystals(), HLTPi0RecHitsFilter::filter(), EcalTBReadout::findTTlist(), CalibrationCluster::get3x3Id(), CalibrationCluster::get5x5Id(), EcalBarrelGeometry::getClosestCell(), EcalClusterTools::getIEta(), DetIdInfo::info(), isNextToEtaBoundary(), JetAnalyzer::MakeCellListFromCaloTowers(), EcalDeadChannelRecoveryAlgos::MakeNxNMatrice(), PhotonAnalyzer::makePizero(), TrackDetMatchInfo::nXnEnergy(), AlCaPi0BasicClusterRecHitsProducer::produce(), AlCaElectronsProducer::produce(), AlCaPi0RecHitsProducer::produce(), ECALRecHitAnalyzer::WriteECALRecHits(), Pi0CalibXMLwriter::writeLine(), calibXMLwriter::writeLine(), DumpEvent::WriteSCs(), and ZeeCalibration::xtalIsOnModuleBorder().

00043 { return zside()*ietaAbs(); }

int EBDetId::ietaAbs (  )  const [inline]

get the absolute value of the crystal ieta

Definition at line 41 of file EBDetId.h.

References DetId::id_.

Referenced by EcalRecHitsValidation::analyze(), EcalBarrelSimHitsValidation::analyze(), ic(), ieta(), ietaSM(), im(), numberByEtaPhi(), PFRecHitProducerECAL::stdsimplemove(), tower_ieta(), and EcalSimHitsValidProducer::update().

00041 { return (id_>>9)&0x7F; }

int EBDetId::ietaSM (  )  const [inline]

get the crystal ieta in the SM convention (1-85)

Definition at line 59 of file EBDetId.h.

References ietaAbs().

Referenced by EcalElectronicsMapping::getLMNumber().

00059 { return ietaAbs(); }

int EBDetId::im (  )  const

get the number of module inside the SM (1-4)

Definition at line 73 of file EBDetId.cc.

References i, ietaAbs(), and kModuleBoundaries.

Referenced by CaloGeometryHelper::borderCrossing().

00073                       {
00074   for (int i=0; i < 4 ; i++)
00075     if ( ietaAbs() <= kModuleBoundaries[i] )
00076       return i+1;
00077   //Shold never be reached!
00078   return -1;
00079 }

int EBDetId::iphi (  )  const [inline]

get the crystal iphi

Definition at line 45 of file EBDetId.h.

References DetId::id_.

Referenced by PhiSymmetryCalibration::analyze(), EcalRecHitsValidation::analyze(), EcalSimpleTBAnalyzer::analyze(), EcalDigisValidation::analyze(), JetToDigiDump::analyze(), EcalBarrelRecHitsValidation::analyze(), EcalBarrelSimHitsValidation::analyze(), EcalBarrelDigisValidation::analyze(), EcalTBValidation::analyze(), DQMHLTSourcePi0::analyze(), EcalMixingModuleValidation::analyze(), DQMSourcePi0::analyze(), ElectronCalibration::analyze(), EcalTrigPrimAnalyzerMIPs::analyze(), PhiSymmetryCalibration::beginJob(), Pi0FixedMassWindowCalibration::beginOfJob(), InvRingCalib::beginOfJob(), ZeeCalibration::beginOfJob(), EBSelectiveReadoutTask::dccNum(), EcalEleCalibLooper::duringLoop(), Pi0FixedMassWindowCalibration::duringLoop(), ElectronCalibrationUniv::endJob(), PhiSymmetryCalibration::endJob(), Pi0FixedMassWindowCalibration::endOfJob(), EcalEleCalibLooper::endOfLoop(), Pi0FixedMassWindowCalibration::endOfLoop(), ZeeCalibration::endOfLoop(), AlCaElectronsTest::fillAroundBarrel(), EcalEleCalibLooper::fillEBMap(), InvRingCalib::fillEBMap(), FastL1Region::FillEMCrystals(), HLTPi0RecHitsFilter::filter(), EcalTBReadout::findTTlist(), CalibrationCluster::get3x3Id(), CalibrationCluster::get5x5Id(), EcalBarrelGeometry::getClosestCell(), EcalClusterTools::getIPhi(), ic(), DetIdInfo::info(), ism(), isNextToPhiBoundary(), JetAnalyzer::MakeCellListFromCaloTowers(), EcalDeadChannelRecoveryAlgos::MakeNxNMatrice(), PhotonAnalyzer::makePizero(), numberByEtaPhi(), TrackDetMatchInfo::nXnEnergy(), AlCaPi0BasicClusterRecHitsProducer::produce(), AlCaElectronsProducer::produce(), AlCaPi0RecHitsProducer::produce(), tower_iphi(), EcalSimHitsValidProducer::update(), ECALRecHitAnalyzer::WriteECALRecHits(), Pi0CalibXMLwriter::writeLine(), calibXMLwriter::writeLine(), DumpEvent::WriteSCs(), and ZeeCalibration::xtalIsOnModuleBorder().

00045 { return id_&0x1FF; }

int EBDetId::iphiSM (  )  const [inline]

get the crystal iphi (1-20)

Definition at line 61 of file EBDetId.h.

References ic(), and kCrystalsInPhi.

Referenced by EcalElectronicsMapping::getLMNumber().

00061 { return (( ic() -1 ) % kCrystalsInPhi ) + 1; }

int EBDetId::ism (  )  const

get the ECAL/SM id

Definition at line 67 of file EBDetId.cc.

References iphi(), kCrystalsInPhi, and zside().

Referenced by EcalSimpleTBAnalyzer::analyze(), JetToDigiDump::analyze(), EcalBarrelRecHitsValidation::analyze(), EcalTBValidation::analyze(), EcalTrigPrimAnalyzerMIPs::analyze(), CaloGeometryHelper::borderCrossing(), and numberBySM().

00067                        {
00068   int id = ( iphi() - 1 ) / kCrystalsInPhi + 1;
00069   if ( zside() < 0 ) id += 18;
00070   return id;
00071 }

bool EBDetId::isNextToBoundary ( EBDetId  id  )  [static]

Definition at line 107 of file EBDetId.cc.

References isNextToEtaBoundary(), and isNextToPhiBoundary().

00107                                          {
00108         return isNextToEtaBoundary( id ) || isNextToPhiBoundary( id );
00109 }

bool EBDetId::isNextToEtaBoundary ( EBDetId  id  )  [static]

Definition at line 111 of file EBDetId.cc.

References ieta(), and kModuleBoundaries.

Referenced by isNextToBoundary().

00111                                             {
00112         int ieta = id.ietaSM();
00113         return ieta == 1 || std::binary_search( kModuleBoundaries, kModuleBoundaries + 4, ieta ) || ieta == 85;
00114 }

bool EBDetId::isNextToPhiBoundary ( EBDetId  id  )  [static]

Definition at line 116 of file EBDetId.cc.

References iphi().

Referenced by isNextToBoundary().

00116                                             {
00117         int iphi = id.iphiSM();
00118         return iphi == 1 || iphi == 20;
00119 }

int EBDetId::numberByEtaPhi (  )  const [inline]

Definition at line 66 of file EBDetId.h.

References ietaAbs(), iphi(), MAX_IETA, MAX_IPHI, and positiveZ().

Referenced by hashedIndex().

00066                              { 
00067     return (MAX_IETA + (positiveZ() ? ietaAbs()-1 : -ietaAbs()) )*MAX_IPHI+ iphi()-1;
00068   }

int EBDetId::numberBySM (  )  const

Definition at line 95 of file EBDetId.cc.

References ic(), ism(), and kCrystalsPerSM.

00095                               {
00096   return (ism()-1) * kCrystalsPerSM + ic() -1;
00097 }

EBDetId & EBDetId::operator= ( const DetId id  ) 

Assignment operator from cell id.

Definition at line 58 of file EBDetId.cc.

References DetId::det(), DetId::Ecal, EcalBarrel, Exception, DetId::id_, DetId::null(), DetId::rawId(), and DetId::subdetId().

00058                                             {
00059   if (!gen.null() && ( gen.det()!=Ecal || gen.subdetId()!=EcalBarrel )) {
00060     throw cms::Exception("InvalidDetId");
00061   }
00062   id_=gen.rawId();
00063   return *this;
00064 }

bool EBDetId::positiveZ (  )  const [inline]

Definition at line 64 of file EBDetId.h.

References DetId::id_.

Referenced by numberByEtaPhi().

00064 { return id_&0x10000;}

static EcalSubdetector EBDetId::subdet (  )  [inline, static]

get the subdetector .i.e EcalBarrel (what else?)

Definition at line 36 of file EBDetId.h.

References EcalBarrel.

00036 { return EcalBarrel;}

EcalTrigTowerDetId EBDetId::tower (  )  const [inline]

get the HCAL/trigger iphi of this crystal

Definition at line 51 of file EBDetId.h.

References funct::abs(), EcalBarrel, tower_ieta(), tower_iphi(), and zside().

Referenced by testEcalTPGScale::analyze(), EcalTrigPrimAnalyzer::analyze(), EcalElectronicsMapping::getElectronicsId(), EBSelectiveReadoutTask::readOutUnitOf(), and EcalTrigTowerConstituentsMap::towerOf().

int EBDetId::tower_ieta (  )  const [inline]

get the HCAL/trigger ieta of this crystal

Definition at line 47 of file EBDetId.h.

References ietaAbs(), and zside().

Referenced by FastL1Region::FillEMCrystals(), DetIdInfo::info(), tower(), and CaloTowerConstituentsMap::towerOf().

00047 { return ((ietaAbs()-1)/5+1)*zside(); }

int EBDetId::tower_iphi (  )  const

get the HCAL/trigger iphi of this crystal

Definition at line 100 of file EBDetId.cc.

References iphi().

Referenced by FastL1Region::FillEMCrystals(), DetIdInfo::info(), tower(), and CaloTowerConstituentsMap::towerOf().

00100                               { 
00101   int iphi_simple=((iphi()-1)/5)+1; 
00102   iphi_simple-=2;
00103   return ((iphi_simple<=0)?(iphi_simple+72):(iphi_simple));
00104 }

static EBDetId EBDetId::unhashIndex ( int  hi  )  [inline, static]

get a DetId from a compact index for arrays

Definition at line 75 of file EBDetId.h.

References EBDetId(), MAX_IETA, and MAX_IPHI.

Referenced by EcalEleCalibLooper::EBRegionDefinition(), EcalEleCalibLooper::EcalEleCalibLooper(), EcalTrivialConditionRetriever::getChannelStatusFromConfiguration(), CalorimetryManager::loadFromEcalBarrel(), and StoreEcalCondition::readEcalChannelStatusFromFile().

00075                                       {
00076     int pseudo_eta = hi/MAX_IPHI - MAX_IETA;
00077     return EBDetId(pseudo_eta<0 ? pseudo_eta :  pseudo_eta+1, hi%MAX_IPHI+1);
00078   }

bool EBDetId::validDetId ( int  i,
int  j 
) [static]

check if a valid index combination

Definition at line 47 of file EBDetId.cc.

References MAX_IETA, MAX_IPHI, and TrackValidation_HighPurity_cff::valid.

Referenced by EBCosmicTask::analyze(), EcalTPGParamBuilder::analyze(), EBBeamHodoTask::analyze(), EEBeamHodoTask::analyze(), EcalTBValidation::analyze(), EcalBarrelTopology::decrementIeta(), EcalBarrelTopology::decrementIphi(), EBDetId(), ZeeCalibration::endOfJob(), EcalEleCalibLooper::fillEBMap(), InvRingCalib::fillEBMap(), EcalTrivialConditionRetriever::getChannelStatusFromConfiguration(), EcalRingCalibrationTools::getDetIdsInECAL(), EcalRingCalibrationTools::getDetIdsInRing(), popcon::EcalLaserHandler::getNewObjects(), popcon::EcalPedestalsHandler::getNewObjectsP5(), EcalBarrelTopology::incrementIeta(), EcalBarrelTopology::incrementIphi(), CaloMiscalibMapEcal::print(), EcalTrivialConditionRetriever::produceEcalChannelStatus(), EcalTrivialConditionRetriever::produceEcalGainRatios(), EcalTrivialConditionRetriever::produceEcalIntercalibConstants(), EcalTrivialConditionRetriever::produceEcalIntercalibErrors(), EcalTrivialConditionRetriever::produceEcalLaserAlphas(), EcalTrivialConditionRetriever::produceEcalLaserAPDPNRatios(), EcalTrivialConditionRetriever::produceEcalLaserAPDPNRatiosRef(), EcalTrivialConditionRetriever::produceEcalPedestals(), EcalTrivialConditionRetriever::produceEcalWeightXtalGroups(), and StoreEcalCondition::readEcalChannelStatusFromFile().

00047                                      {
00048 
00049   bool valid = true;
00050   if (i < -MAX_IETA || i == 0 || i > MAX_IETA ||
00051       j < MIN_IPHI || j > MAX_IPHI) {
00052     valid = false;
00053   }  
00054   return valid;
00055 
00056 }

static bool EBDetId::validHashIndex ( int  i  )  [inline, static]

Definition at line 80 of file EBDetId.h.

References MAX_HASH.

00080                                     {
00081     return !(i<MIN_HASH || i>MAX_HASH);
00082   }

int EBDetId::zside (  )  const [inline]

get the z-side of the crystal (1/-1)

Definition at line 39 of file EBDetId.h.

References DetId::id_.

Referenced by EcalRecHitsValidation::analyze(), EcalBarrelSimHitsValidation::analyze(), PhiSymmetryCalibration::beginJob(), Pi0FixedMassWindowCalibration::beginOfJob(), Pi0FixedMassWindowCalibration::duringLoop(), PhiSymmetryCalibration::endJob(), Pi0FixedMassWindowCalibration::endOfJob(), Pi0FixedMassWindowCalibration::endOfLoop(), ic(), ieta(), ism(), tower(), tower_ieta(), and EcalSimHitsValidProducer::update().

00039 { return (id_&0x10000)?(1):(-1); }


Member Data Documentation

const int EBDetId::ETAPHIMODE = 0 [static]

Definition at line 115 of file EBDetId.h.

Referenced by EBCosmicTask::analyze(), EBBeamHodoTask::analyze(), EcalSimpleTBAnalyzer::analyze(), EEBeamHodoTask::analyze(), EcalTBValidation::analyze(), EcalTrigTowerConstituentsMap::constituentsOf(), EcalElectronicsMapping::dccTowerConstituents(), EBDetId(), ElectronCalibration::endJob(), ElectronCalibrationUniv::endJob(), EcalEleCalibLooper::fillEBMap(), InvRingCalib::fillEBMap(), CalibrationCluster::get3x3Id(), CalibrationCluster::get5x5Id(), EcalBarrelGeometry::getClosestCell(), EcalElectronicsMapping::getDetId(), CalibrationCluster::getMap(), popcon::EcalPedestalsHandler::getNewObjectsP5(), AlCaPi0BasicClusterRecHitsProducer::produce(), AlCaElectronsProducer::produce(), AlCaPi0RecHitsProducer::produce(), StoreEcalCondition::readEcalGainRatiosFromFile(), and EcalElectronicsMapping::stripConstituents().

const int EBDetId::kChannelsPerCard = 5 [static]

Definition at line 98 of file EBDetId.h.

const int EBDetId::kCrystalsInEta = 85 [static]

Definition at line 103 of file EBDetId.h.

const int EBDetId::kCrystalsInPhi = 20 [static]

Definition at line 102 of file EBDetId.h.

Referenced by EBDetId(), EcalClusterTools::energyBasketFractionPhi(), ic(), iphiSM(), and ism().

const int EBDetId::kCrystalsPerSM = 1700 [static]

Definition at line 104 of file EBDetId.h.

Referenced by numberBySM().

const int EBDetId::kModuleBoundaries = { 25, 45, 65, 85 } [static]

Definition at line 101 of file EBDetId.h.

Referenced by im(), and isNextToEtaBoundary().

const int EBDetId::kModulesPerSM = 4 [static]

Definition at line 100 of file EBDetId.h.

Referenced by EcalClusterTools::energyBasketFractionEta(), and EcalShowerContainmentCorrections::fillCorrectionCoefficients().

const int EBDetId::kTowersInPhi = 4 [static]

Definition at line 99 of file EBDetId.h.

Referenced by EcalClusterTools::energyBasketFractionPhi().

const int EBDetId::MAX_C = kCrystalsPerSM [static]

Definition at line 108 of file EBDetId.h.

const int EBDetId::MAX_HASH = 2*MAX_IPHI*MAX_IETA-1 [static]

Definition at line 110 of file EBDetId.h.

Referenced by EcalTestDevDB::generateEcalLaserAlphas(), EcalTestDevDB::generateEcalLaserAPDPNRatios(), EcalTestDevDB::generateEcalLaserAPDPNRatiosRef(), and validHashIndex().

const int EBDetId::MAX_IETA = 85 [static]

Definition at line 96 of file EBDetId.h.

Referenced by EcalTPGParamBuilder::analyze(), EcalGetLaserData::analyze(), CaloTowerConstituentsMap::constituentsOf(), EcalBarrelHardcodedTopology::decrementIeta(), ZeeCalibration::endOfJob(), EcalTestDevDB::generateEcalGainRatios(), EcalTestDevDB::generateEcalIntercalibConstants(), EcalTestDevDB::generateEcalLaserAlphas(), EcalTestDevDB::generateEcalLaserAPDPNRatios(), EcalTestDevDB::generateEcalLaserAPDPNRatiosRef(), EcalTestDevDB::generateEcalPedestals(), EcalTestDevDB::generateEcalTBWeights(), EcalTestDevDB::generateEcalWeightXtalGroups(), EcalBarrelGeometry::getCells(), EcalTrivialConditionRetriever::getChannelStatusFromConfiguration(), EcalRingCalibrationTools::getDetIdsInECAL(), popcon::EcalLaserHandler::getNewObjects(), popcon::EcalPedestalsHandler::getNewObjectsP5(), EcalBarrelHardcodedTopology::incrementIeta(), numberByEtaPhi(), CaloMiscalibMapEcal::prefillMap(), CaloMiscalibMapEcal::print(), EcalTrivialConditionRetriever::produceEcalChannelStatus(), EcalTrivialConditionRetriever::produceEcalGainRatios(), EcalTrivialConditionRetriever::produceEcalIntercalibConstants(), EcalTrivialConditionRetriever::produceEcalIntercalibErrors(), EcalTrivialConditionRetriever::produceEcalLaserAlphas(), EcalTrivialConditionRetriever::produceEcalLaserAPDPNRatios(), EcalTrivialConditionRetriever::produceEcalLaserAPDPNRatiosRef(), EcalTrivialConditionRetriever::produceEcalPedestals(), EcalTrivialConditionRetriever::produceEcalWeightXtalGroups(), StoreEcalCondition::readEcalChannelStatusFromFile(), PFRecHitProducerECAL::stdsimplemove(), unhashIndex(), and validDetId().

const int EBDetId::MAX_IPHI = 360 [static]

Definition at line 97 of file EBDetId.h.

Referenced by EcalTPGParamBuilder::analyze(), EcalGetLaserData::analyze(), ClusterShapeAlgo::Calculate_BarrelBasketEnergyFraction(), EcalBarrelTopology::decrementIphi(), EcalBarrelHardcodedTopology::decrementIphi(), ZeeCalibration::endOfJob(), EcalClusterTools::energyBasketFractionPhi(), EcalTestDevDB::generateEcalGainRatios(), EcalTestDevDB::generateEcalIntercalibConstants(), EcalTestDevDB::generateEcalLaserAlphas(), EcalTestDevDB::generateEcalLaserAPDPNRatios(), EcalTestDevDB::generateEcalLaserAPDPNRatiosRef(), EcalTestDevDB::generateEcalPedestals(), EcalTestDevDB::generateEcalWeightXtalGroups(), EcalBarrelGeometry::getCells(), EcalTrivialConditionRetriever::getChannelStatusFromConfiguration(), EcalBarrelGeometry::getClosestCell(), EcalRingCalibrationTools::getDetIdsInECAL(), EcalRingCalibrationTools::getDetIdsInRing(), popcon::EcalLaserHandler::getNewObjects(), popcon::EcalPedestalsHandler::getNewObjectsP5(), EcalBarrelHardcodedTopology::incrementIphi(), EcalBarrelTopology::incrementIphi(), numberByEtaPhi(), CaloMiscalibMapEcal::prefillMap(), CaloMiscalibMapEcal::print(), EcalTrivialConditionRetriever::produceEcalChannelStatus(), EcalTrivialConditionRetriever::produceEcalGainRatios(), EcalTrivialConditionRetriever::produceEcalIntercalibConstants(), EcalTrivialConditionRetriever::produceEcalIntercalibErrors(), EcalTrivialConditionRetriever::produceEcalLaserAlphas(), EcalTrivialConditionRetriever::produceEcalLaserAPDPNRatios(), EcalTrivialConditionRetriever::produceEcalLaserAPDPNRatiosRef(), EcalTrivialConditionRetriever::produceEcalPedestals(), EcalTrivialConditionRetriever::produceEcalWeightXtalGroups(), StoreEcalCondition::readEcalChannelStatusFromFile(), unhashIndex(), and validDetId().

const int EBDetId::MAX_SM = 36 [static]

Definition at line 106 of file EBDetId.h.

Referenced by EcalTrivialConditionRetriever::getIntercalibConstantsFromConfiguration(), and EcalTrivialConditionRetriever::getIntercalibErrorsFromConfiguration().

const int EBDetId::MIN_C = 1 [static]

Definition at line 107 of file EBDetId.h.

const int EBDetId::MIN_HASH = 0 [static]

Definition at line 109 of file EBDetId.h.

const int EBDetId::MIN_IETA = 1 [static]

range constants

Definition at line 94 of file EBDetId.h.

const int EBDetId::MIN_IPHI = 1 [static]

Definition at line 95 of file EBDetId.h.

Referenced by EcalTPGParamBuilder::analyze(), EcalGetLaserData::analyze(), ClusterShapeAlgo::Calculate_BarrelBasketEnergyFraction(), EcalBarrelTopology::decrementIphi(), EcalBarrelHardcodedTopology::decrementIphi(), ZeeCalibration::endOfJob(), EcalTestDevDB::generateEcalGainRatios(), EcalTestDevDB::generateEcalIntercalibConstants(), EcalTestDevDB::generateEcalLaserAlphas(), EcalTestDevDB::generateEcalLaserAPDPNRatios(), EcalTestDevDB::generateEcalLaserAPDPNRatiosRef(), EcalTestDevDB::generateEcalPedestals(), EcalTestDevDB::generateEcalWeightXtalGroups(), EcalTrivialConditionRetriever::getChannelStatusFromConfiguration(), EcalBarrelGeometry::getClosestCell(), EcalRingCalibrationTools::getDetIdsInECAL(), EcalRingCalibrationTools::getDetIdsInRing(), popcon::EcalLaserHandler::getNewObjects(), popcon::EcalPedestalsHandler::getNewObjectsP5(), EcalBarrelHardcodedTopology::incrementIphi(), EcalBarrelTopology::incrementIphi(), CaloMiscalibMapEcal::prefillMap(), CaloMiscalibMapEcal::print(), EcalTrivialConditionRetriever::produceEcalChannelStatus(), EcalTrivialConditionRetriever::produceEcalGainRatios(), EcalTrivialConditionRetriever::produceEcalIntercalibConstants(), EcalTrivialConditionRetriever::produceEcalIntercalibErrors(), EcalTrivialConditionRetriever::produceEcalLaserAlphas(), EcalTrivialConditionRetriever::produceEcalLaserAPDPNRatios(), EcalTrivialConditionRetriever::produceEcalLaserAPDPNRatiosRef(), EcalTrivialConditionRetriever::produceEcalPedestals(), EcalTrivialConditionRetriever::produceEcalWeightXtalGroups(), and StoreEcalCondition::readEcalChannelStatusFromFile().

const int EBDetId::MIN_SM = 1 [static]

Definition at line 105 of file EBDetId.h.

Referenced by EcalTrivialConditionRetriever::getIntercalibConstantsFromConfiguration(), and EcalTrivialConditionRetriever::getIntercalibErrorsFromConfiguration().

const int EBDetId::SIZE_HASH = 2*MAX_IPHI*MAX_IETA [static]

Definition at line 111 of file EBDetId.h.

const int EBDetId::SMCRYSTALMODE = 1 [static]

Definition at line 116 of file EBDetId.h.

Referenced by EcalTPGParamBuilder::analyze(), EcalSimpleTBAnalyzer::analyze(), EcalTBValidation::analyze(), TBPositionCalc::CalculateCMSPos(), EBDetId(), EcalShowerContainmentCorrections::fillCorrectionCoefficients(), EcalTrivialConditionRetriever::getIntercalibConstantsFromConfiguration(), EcalTrivialConditionRetriever::getIntercalibErrorsFromConfiguration(), popcon::EcalLaserHandler::getNewObjects(), popcon::EcalPedestalsHandler::getNewObjectsP5(), TableDataFormatter::interpretRawData(), FakeTBEventHeaderProducer::produce(), EcalShowerContainmentCorrectionsESProducer::produce(), Ecal2004TBSource::produce(), FakeCaloAlignmentEP::produceEBAli(), StoreEcalCondition::readEcalGainRatiosFromFile(), StoreEcalCondition::readEcalIntercalibConstantsFromFile(), and StoreEcalCondition::readEcalWeightXtalGroupsFromFile().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:19:18 2009 for CMSSW by  doxygen 1.5.4