#include <TMem.h>
Public Member Functions | |
bool | isMemRelevant (int) |
int | Mem (int, int) |
TMem (int) | |
TMem () | |
virtual | ~TMem () |
Private Member Functions | |
void | init (int) |
Private Attributes | |
int | _fedid |
std::vector< int > | _memFromDcc |
void TMem::init | ( | int | fedid | ) | [private] |
Definition at line 35 of file TMem.cc.
References ME::memFromDcc().
{ _fedid=fedid; _memFromDcc=ME::memFromDcc(_fedid); }
bool TMem::isMemRelevant | ( | int | mem | ) |
Definition at line 41 of file TMem.cc.
Referenced by EcalLaserAnalyzer::analyze(), and EcalLaserAnalyzer2::analyze().
{ bool isMemOK=false; for (unsigned int imem=0;imem<_memFromDcc.size();imem++){ if(mem == _memFromDcc[imem]) { isMemOK=true; imem=_memFromDcc.size(); } } return isMemOK; }
int TMem::Mem | ( | int | lmr, |
int | n | ||
) |
Definition at line 53 of file TMem.cc.
References ME::memFromLmr().
Referenced by EcalLaserAnalyzer::analyze(), and EcalLaserAnalyzer2::analyze().
{ std::pair<int,int> mempair=ME::memFromLmr(lmr); if(n==0) return mempair.first; else return mempair.second; }
int TMem::_fedid [private] |
std::vector<int> TMem::_memFromDcc [private] |