CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
HcalLogicalMap Class Reference

#include <HcalLogicalMap.h>

Public Member Functions

void checkElectronicsHashIds ()
 
void checkHashIds ()
 
void checkIdFunctions ()
 
HcalElectronicsMap generateHcalElectronicsMap ()
 
const DetId getDetId (const HcalElectronicsId &)
 
const HcalFrontEndId getHcalFrontEndId (const DetId &)
 
 HcalLogicalMap (const HcalTopology *, std::vector< HBHEHFLogicalMapEntry > &, std::vector< HOHXLogicalMapEntry > &, std::vector< CALIBLogicalMapEntry > &, std::vector< ZDCLogicalMapEntry > &, std::vector< HTLogicalMapEntry > &, std::vector< uint32_t > &, std::vector< uint32_t > &, std::vector< uint32_t > &, std::vector< uint32_t > &, std::vector< uint32_t > &, std::vector< uint32_t > &, std::vector< uint32_t > &, std::vector< uint32_t > &)
 
void printMap (unsigned int mapIOV)
 
 ~HcalLogicalMap ()
 

Static Public Member Functions

static uint32_t makeEntryNumber (bool, int, int)
 

Private Member Functions

void printCalibMap (FILE *calibmapfile)
 
void printHBEFMap (FILE *hbefmapfile)
 
void printHOXMap (FILE *hoxmapfile)
 
void printHTMap (FILE *htmapfile)
 
void printZDCMap (FILE *zdcmapfile)
 

Private Attributes

std::vector< CALIBLogicalMapEntryCALIBEntries_
 
std::vector< uint32_t > HbHash2Entry_
 
std::vector
< HBHEHFLogicalMapEntry
HBHEHFEntries_
 
std::vector< uint32_t > HeHash2Entry_
 
std::vector< uint32_t > HfHash2Entry_
 
std::vector< uint32_t > HoHash2Entry_
 
std::vector< HOHXLogicalMapEntryHOHXEntries_
 
std::vector< HTLogicalMapEntryHTEntries_
 
std::vector< uint32_t > HtHash2Entry_
 
std::vector< uint32_t > HxCalibHash2Entry_
 
std::vector< uint32_t > LinearIndex2Entry_
 
unsigned int mapIOV_
 
const HcalTopologytopo_
 
std::vector< ZDCLogicalMapEntryZDCEntries_
 
std::vector< uint32_t > ZdcHash2Entry_
 

Detailed Description

Definition at line 9 of file HcalLogicalMap.h.

Constructor & Destructor Documentation

HcalLogicalMap::HcalLogicalMap ( const HcalTopology topo,
std::vector< HBHEHFLogicalMapEntry > &  HBHEHFEntries,
std::vector< HOHXLogicalMapEntry > &  HOHXEntries,
std::vector< CALIBLogicalMapEntry > &  CALIBEntries,
std::vector< ZDCLogicalMapEntry > &  ZDCEntries,
std::vector< HTLogicalMapEntry > &  HTEntries,
std::vector< uint32_t > &  LinearIndex2Entry,
std::vector< uint32_t > &  HbHash2Entry,
std::vector< uint32_t > &  HeHash2Entry,
std::vector< uint32_t > &  HfHash2Entry,
std::vector< uint32_t > &  HtHash2Entry,
std::vector< uint32_t > &  HoHash2Entry,
std::vector< uint32_t > &  HxCalibHash2Entry,
std::vector< uint32_t > &  ZdcHash2Entry 
)

Definition at line 16 of file HcalLogicalMap.cc.

HcalLogicalMap::~HcalLogicalMap ( )

Definition at line 61 of file HcalLogicalMap.cc.

Member Function Documentation

void HcalLogicalMap::checkElectronicsHashIds ( )

Definition at line 482 of file HcalLogicalMap.cc.

void HcalLogicalMap::checkHashIds ( )

Definition at line 380 of file HcalLogicalMap.cc.

void HcalLogicalMap::checkIdFunctions ( )

Definition at line 304 of file HcalLogicalMap.cc.

HcalElectronicsMap HcalLogicalMap::generateHcalElectronicsMap ( )

Definition at line 156 of file HcalLogicalMap.cc.

const DetId HcalLogicalMap::getDetId ( const HcalElectronicsId eid)

Definition at line 252 of file HcalLogicalMap.cc.

const HcalFrontEndId HcalLogicalMap::getHcalFrontEndId ( const DetId did)
uint32_t HcalLogicalMap::makeEntryNumber ( bool  isvalid,
int  vectorid,
int  entry 
)
static

Definition at line 65 of file HcalLogicalMap.cc.

void HcalLogicalMap::printCalibMap ( FILE *  calibmapfile)
private

Definition at line 205 of file HcalLogicalMap.cc.

void HcalLogicalMap::printHBEFMap ( FILE *  hbefmapfile)
private

Definition at line 175 of file HcalLogicalMap.cc.

void HcalLogicalMap::printHOXMap ( FILE *  hoxmapfile)
private

Definition at line 190 of file HcalLogicalMap.cc.

void HcalLogicalMap::printHTMap ( FILE *  htmapfile)
private

Definition at line 235 of file HcalLogicalMap.cc.

void HcalLogicalMap::printMap ( unsigned int  mapIOV)

Definition at line 74 of file HcalLogicalMap.cc.

void HcalLogicalMap::printZDCMap ( FILE *  zdcmapfile)
private

Definition at line 220 of file HcalLogicalMap.cc.

Member Data Documentation

std::vector<CALIBLogicalMapEntry> HcalLogicalMap::CALIBEntries_
private

Definition at line 50 of file HcalLogicalMap.h.

std::vector<uint32_t> HcalLogicalMap::HbHash2Entry_
private

Definition at line 54 of file HcalLogicalMap.h.

std::vector<HBHEHFLogicalMapEntry> HcalLogicalMap::HBHEHFEntries_
private

Definition at line 48 of file HcalLogicalMap.h.

std::vector<uint32_t> HcalLogicalMap::HeHash2Entry_
private

Definition at line 55 of file HcalLogicalMap.h.

std::vector<uint32_t> HcalLogicalMap::HfHash2Entry_
private

Definition at line 56 of file HcalLogicalMap.h.

std::vector<uint32_t> HcalLogicalMap::HoHash2Entry_
private

Definition at line 58 of file HcalLogicalMap.h.

std::vector<HOHXLogicalMapEntry> HcalLogicalMap::HOHXEntries_
private

Definition at line 49 of file HcalLogicalMap.h.

std::vector<HTLogicalMapEntry> HcalLogicalMap::HTEntries_
private

Definition at line 52 of file HcalLogicalMap.h.

std::vector<uint32_t> HcalLogicalMap::HtHash2Entry_
private

Definition at line 57 of file HcalLogicalMap.h.

std::vector<uint32_t> HcalLogicalMap::HxCalibHash2Entry_
private

Definition at line 59 of file HcalLogicalMap.h.

std::vector<uint32_t> HcalLogicalMap::LinearIndex2Entry_
private

Definition at line 53 of file HcalLogicalMap.h.

unsigned int HcalLogicalMap::mapIOV_
private

Definition at line 46 of file HcalLogicalMap.h.

const HcalTopology* HcalLogicalMap::topo_
private

Definition at line 62 of file HcalLogicalMap.h.

std::vector<ZDCLogicalMapEntry> HcalLogicalMap::ZDCEntries_
private

Definition at line 51 of file HcalLogicalMap.h.

std::vector<uint32_t> HcalLogicalMap::ZdcHash2Entry_
private

Definition at line 60 of file HcalLogicalMap.h.