#include <ApvAnalysisFactory.h>
Public Types | |
typedef std::map< uint32_t, ApvAnalysisVector > | ApvAnalysisMap |
typedef std::vector < ApvAnalysis * > | ApvAnalysisVector |
typedef std::map< ApvAnalysis *, uint32_t > | InverseMap |
typedef std::map< ApvAnalysis *, int > | MapNumberingPosition |
Public Member Functions | |
ApvAnalysisFactory (std::string theAlgorithmType, int theNumCMstripsInGroup, int theMaskCalcFlag, float theMaskNoiseCut, float theMaskDeadCut, float theMaskTruncCut, float theCutToAvoidSignal, int theEventInitNumber, int theEventIterNumber) | |
ApvAnalysisFactory (const edm::ParameterSet &pset) | |
ApvAnalysisVector | getApvAnalysis (const uint32_t nDET_ID) |
void | getCommonMode (uint32_t det_id, ApvAnalysis::PedestalType &tmp) |
std::vector< float > | getCommonMode (uint32_t det_id, int apvNumber) |
void | getCommonModeSlope (uint32_t det_id, ApvAnalysis::PedestalType &tmp) |
float | getCommonModeSlope (uint32_t det_id, int apvNumber) |
void | getMask (uint32_t det_id, TkApvMask::MaskType &tmp) |
void | getNoise (uint32_t det_id, int apvNumber, ApvAnalysis::PedestalType &noise) |
void | getNoise (uint32_t det_id, ApvAnalysis::PedestalType &noise) |
void | getPedestal (uint32_t det_id, int apvNumber, ApvAnalysis::PedestalType &peds) |
void | getPedestal (uint32_t det_id, ApvAnalysis::PedestalType &peds) |
void | getRawNoise (uint32_t det_id, int apvNumber, ApvAnalysis::PedestalType &noise) |
void | getRawNoise (uint32_t det_id, ApvAnalysis::PedestalType &noise) |
std::string | getStatus (uint32_t det_id) |
float | getStripNoise (uint32_t det_id, int stripNumber) |
float | getStripPedestal (uint32_t det_id, int stripNumber) |
float | getStripRawNoise (uint32_t det_id, int stripNumber) |
bool | instantiateApvs (uint32_t det_id, int numberOfApvs) |
bool | isUpdating (uint32_t detId) |
void | update (uint32_t det_id, const edm::DetSet< SiStripRawDigi > &in) |
void | updatePair (uint32_t det_id, size_t apvPair, const edm::DetSet< SiStripRawDigi > &in) |
~ApvAnalysisFactory () | |
Private Member Functions | |
void | constructAuxiliaryApvClasses (ApvAnalysis *theApv, uint32_t det_id, int thisApv) |
void | deleteApv (ApvAnalysis *apv) |
Private Attributes | |
ApvAnalysisMap | apvMap_ |
std::string | theAlgorithmType_ |
std::string | theCMType_ |
float | theCutToAvoidSignal_ |
int | theEventInitNumber_ |
int | theEventIterNumber_ |
int | theMaskCalcFlag_ |
float | theMaskDeadCut_ |
float | theMaskNoiseCut_ |
float | theMaskTruncCut_ |
int | theNumCMstripsInGroup_ |
bool | useDB_ |
Definition at line 22 of file ApvAnalysisFactory.h.
typedef std::map<uint32_t, ApvAnalysisVector> ApvAnalysisFactory::ApvAnalysisMap |
Definition at line 68 of file ApvAnalysisFactory.h.
typedef std::vector<ApvAnalysis*> ApvAnalysisFactory::ApvAnalysisVector |
Definition at line 24 of file ApvAnalysisFactory.h.
typedef std::map<ApvAnalysis*, uint32_t> ApvAnalysisFactory::InverseMap |
Definition at line 70 of file ApvAnalysisFactory.h.
typedef std::map<ApvAnalysis*, int> ApvAnalysisFactory::MapNumberingPosition |
Definition at line 69 of file ApvAnalysisFactory.h.
ApvAnalysisFactory::ApvAnalysisFactory | ( | std::string | theAlgorithmType, |
int | theNumCMstripsInGroup, | ||
int | theMaskCalcFlag, | ||
float | theMaskNoiseCut, | ||
float | theMaskDeadCut, | ||
float | theMaskTruncCut, | ||
float | theCutToAvoidSignal, | ||
int | theEventInitNumber, | ||
int | theEventIterNumber | ||
) |
ApvAnalysisFactory::ApvAnalysisFactory | ( | const edm::ParameterSet & | pset | ) |
Definition at line 27 of file ApvAnalysisFactory.cc.
References edm::ParameterSet::getParameter().
ApvAnalysisFactory::~ApvAnalysisFactory | ( | ) |
Definition at line 45 of file ApvAnalysisFactory.cc.
|
private |
Definition at line 81 of file ApvAnalysisFactory.cc.
References gather_cfg::cout, TkCommonModeCalculator::setCM(), ApvAnalysis::setCommonModeCalculator(), ApvAnalysis::setMask(), ApvAnalysis::setNoiseCalculator(), ApvAnalysis::setPedestalCalculator(), and TkCommonMode::setTopology().
|
private |
Definition at line 353 of file ApvAnalysisFactory.cc.
References TkCommonModeCalculator::commonMode(), ApvAnalysis::commonModeCalculator(), ApvAnalysis::mask(), ApvAnalysis::noiseCalculator(), ApvAnalysis::pedestalCalculator(), and TkCommonMode::topology().
std::vector< ApvAnalysis * > ApvAnalysisFactory::getApvAnalysis | ( | const uint32_t | nDET_ID | ) |
Definition at line 75 of file ApvAnalysisFactory.cc.
Referenced by NoiseTask::book().
void ApvAnalysisFactory::getCommonMode | ( | uint32_t | det_id, |
ApvAnalysis::PedestalType & | tmp | ||
) |
Definition at line 311 of file ApvAnalysisFactory.cc.
References mps_fire::i.
Referenced by SiStripMonitorPedestals::analyze(), and NoiseTask::update().
vector< float > ApvAnalysisFactory::getCommonMode | ( | uint32_t | det_id, |
int | apvNumber | ||
) |
void ApvAnalysisFactory::getCommonModeSlope | ( | uint32_t | det_id, |
ApvAnalysis::PedestalType & | tmp | ||
) |
Definition at line 375 of file ApvAnalysisFactory.cc.
References mps_fire::i.
Referenced by SiStripMonitorPedestals::analyze().
float ApvAnalysisFactory::getCommonModeSlope | ( | uint32_t | det_id, |
int | apvNumber | ||
) |
void ApvAnalysisFactory::getMask | ( | uint32_t | det_id, |
TkApvMask::MaskType & | tmp | ||
) |
Definition at line 324 of file ApvAnalysisFactory.cc.
References mps_fire::i, and cuy::ii.
Referenced by SiStripMonitorPedestals::analyze().
void ApvAnalysisFactory::getNoise | ( | uint32_t | det_id, |
int | apvNumber, | ||
ApvAnalysis::PedestalType & | noise | ||
) |
Definition at line 230 of file ApvAnalysisFactory.cc.
Referenced by SiStripMonitorPedestals::analyze(), and NoiseTask::update().
void ApvAnalysisFactory::getNoise | ( | uint32_t | det_id, |
ApvAnalysis::PedestalType & | noise | ||
) |
Definition at line 251 of file ApvAnalysisFactory.cc.
References SplitLinear::begin, dataset::end, and createJobs::tmp.
void ApvAnalysisFactory::getPedestal | ( | uint32_t | det_id, |
int | apvNumber, | ||
ApvAnalysis::PedestalType & | peds | ||
) |
Definition at line 198 of file ApvAnalysisFactory.cc.
Referenced by SiStripMonitorPedestals::analyze(), PedsOnlyTask::update(), and NoiseTask::update().
void ApvAnalysisFactory::getPedestal | ( | uint32_t | det_id, |
ApvAnalysis::PedestalType & | peds | ||
) |
void ApvAnalysisFactory::getRawNoise | ( | uint32_t | det_id, |
int | apvNumber, | ||
ApvAnalysis::PedestalType & | noise | ||
) |
Definition at line 265 of file ApvAnalysisFactory.cc.
Referenced by SiStripMonitorPedestals::analyze(), and PedsOnlyTask::update().
void ApvAnalysisFactory::getRawNoise | ( | uint32_t | det_id, |
ApvAnalysis::PedestalType & | noise | ||
) |
Definition at line 286 of file ApvAnalysisFactory.cc.
References SplitLinear::begin, dataset::end, and createJobs::tmp.
std::string ApvAnalysisFactory::getStatus | ( | uint32_t | det_id | ) |
float ApvAnalysisFactory::getStripNoise | ( | uint32_t | det_id, |
int | stripNumber | ||
) |
Definition at line 241 of file ApvAnalysisFactory.cc.
References groupFilesInBlocks::temp.
float ApvAnalysisFactory::getStripPedestal | ( | uint32_t | det_id, |
int | stripNumber | ||
) |
Definition at line 221 of file ApvAnalysisFactory.cc.
References groupFilesInBlocks::temp.
float ApvAnalysisFactory::getStripRawNoise | ( | uint32_t | det_id, |
int | stripNumber | ||
) |
Definition at line 276 of file ApvAnalysisFactory.cc.
References groupFilesInBlocks::temp.
bool ApvAnalysisFactory::instantiateApvs | ( | uint32_t | det_id, |
int | numberOfApvs | ||
) |
Definition at line 57 of file ApvAnalysisFactory.cc.
References gather_cfg::cout, mps_fire::i, and groupFilesInBlocks::temp.
Referenced by PedsOnlyTask::book(), NoiseTask::book(), and SiStripMonitorPedestals::createMEs().
bool ApvAnalysisFactory::isUpdating | ( | uint32_t | detId | ) |
void ApvAnalysisFactory::update | ( | uint32_t | det_id, |
const edm::DetSet< SiStripRawDigi > & | in | ||
) |
Definition at line 171 of file ApvAnalysisFactory.cc.
References edm::DetSet< T >::data, dataset::end, and mps_fire::i.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), SiStripMonitorPedestals::analyze(), dqm-mbProfile.Profile::finish(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
void ApvAnalysisFactory::updatePair | ( | uint32_t | det_id, |
size_t | apvPair, | ||
const edm::DetSet< SiStripRawDigi > & | in | ||
) |
Definition at line 136 of file ApvAnalysisFactory.cc.
References edm::DetSet< T >::data, and dataset::end.
Referenced by PedsOnlyTask::fill(), and NoiseTask::fill().
|
private |
Definition at line 76 of file ApvAnalysisFactory.h.
|
private |
Definition at line 77 of file ApvAnalysisFactory.h.
|
private |
Definition at line 86 of file ApvAnalysisFactory.h.
|
private |
Definition at line 83 of file ApvAnalysisFactory.h.
|
private |
Definition at line 84 of file ApvAnalysisFactory.h.
|
private |
Definition at line 85 of file ApvAnalysisFactory.h.
|
private |
Definition at line 79 of file ApvAnalysisFactory.h.
|
private |
Definition at line 81 of file ApvAnalysisFactory.h.
|
private |
Definition at line 80 of file ApvAnalysisFactory.h.
|
private |
Definition at line 82 of file ApvAnalysisFactory.h.
|
private |
Definition at line 78 of file ApvAnalysisFactory.h.
|
private |
Definition at line 87 of file ApvAnalysisFactory.h.