Go to the documentation of this file. 1 #ifndef _EcalElectronicsMapper_HH_
2 #define _EcalElectronicsMapper_HH_
103 return scDetIds_[smId - 1][feChannel - 1];
107 return scEleIds_[smId - 1][feChannel - 1];
142 unsigned int getDCCId(
unsigned int aSMId)
const;
144 unsigned int getSMId(
unsigned int aDCCId)
const;
219 bool isGhost(
const int FED,
const int CCU,
const int VFE);
223 std::map<int, std::map<int, std::map<int, bool> > >
ghost_;
void setEcalElectronicsMapping(const EcalElectronicsMapping *)
unsigned int computeEBTCCBlockLength()
std::string getDCCMapFilePath() const
unsigned int numbTriggerTSamples_
bool setDCCMapFilePath(std::string)
unsigned tccId(DetId const &)
unsigned int getDCCId(unsigned int aSMId) const
unsigned int ebTccBlockLength_
unsigned int numbXtalTSamples_
EcalElectronicsId * getSCElectronicsPointer(unsigned int smId, unsigned int feChannel)
bool makeMapFromVectors(std::vector< int > &, std::vector< int > &)
unsigned int computeEETCCBlockLength()
unsigned int getActiveSM()
friend std::ostream & operator<<(std::ostream &o, const EcalElectronicsMapper &aEcalElectronicsMapper)
bool setActiveDCC(unsigned int dccId)
EcalScDetId * getSCDetIdPointer(unsigned int smId, unsigned int feChannel)
std::vector< EcalSrFlag * > srFlags_[NUMB_SM][NUMB_FE]
EcalScDetId * scDetIds_[NUMB_SM][NUMB_FE]
unsigned int numbXtalTSamples()
EcalTriggerPrimitiveDigi * ttTPIds_[NUMB_TCC][NUMB_FE]
EcalPseudoStripInputDigi * psInput_[NUMB_TCC][TCC_EB_NUMBTTS][NUMB_STRIP]
std::map< int, std::map< int, std::map< int, bool > > > ghost_
unsigned int eeTccBlockLength_
DetId * getDetIdPointer(unsigned int feChannel, unsigned int strip, unsigned int xtal)
unsigned int getEBTCCBlockLength()
unsigned int getActiveDCC()
Ecal readout channel identification [32:20] Unused (so far) [19:13] DCC id [12:6] tower [5:3] strip [...
unsigned int getNumChannelsInDcc(unsigned int aDCCId)
const std::map< unsigned int, unsigned int > & getDCCMap() const
std::string pathToMapFile_
std::vector< EcalSrFlag * > getSrFlagPointer(unsigned int feChannel)
std::vector< unsigned int > * getTccs(unsigned int smId)
bool isGhost(const int FED, const int CCU, const int VFE)
EcalPseudoStripInputDigi * getPSInputDigiPointer(unsigned int tccId, unsigned int towerId, unsigned int psId)
const EcalElectronicsMapping * mapping()
std::map< unsigned int, unsigned int > myDCCMap_
const EcalElectronicsMapping * mappingBuilder_
EcalElectronicsMapper(unsigned int numbOfXtalTSamples, unsigned int numbOfTriggerTSamples)
std::map< unsigned int, std::vector< unsigned int > * > mapSmIdToTccIds_
unsigned int getSMId(unsigned int aDCCId) const
DetId * xtalDetIds_[NUMB_SM][NUMB_FE][NUMB_STRIP][NUMB_XTAL]
short tTandPs_[NUMB_TCC][5 *EcalTrigTowerDetId::kEBTowersPerSM][2]
unsigned int computeUnfilteredFEBlockLength()
unsigned towerId(DetId const &)
EcalTriggerPrimitiveDigi * getTPPointer(unsigned int tccId, unsigned int tower)
static const int kEBTowersPerSM
bool isTCCExternal(unsigned int TCCId)
unsigned int srpBlockLength_
unsigned int unfilteredFEBlockLength_
unsigned int getSRPBlockLength()
unsigned int numbTriggerTSamples()
EcalElectronicsId * getTTEleIdPointer(unsigned int tccId, unsigned int tower)
unsigned int getUnfilteredTowerBlockLength()
unsigned int getEETCCBlockLength()
EcalTrigTowerDetId * ttDetIds_[NUMB_TCC][NUMB_FE]
EcalElectronicsId * scEleIds_[NUMB_SM][NUMB_FE]
EcalElectronicsId * ttEleIds_[NUMB_TCC][NUMB_FE]
EcalPseudoStripInputDigi * getPSInputDigiPointer(unsigned int tccId, unsigned int psCounter)
static const unsigned int numChannelsInDcc_[NUMB_SM]
EcalTrigTowerDetId * getTTDetIdPointer(unsigned int tccId, unsigned int tower)
unsigned dccId(DetId const &)