#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 25 of file ApvAnalysisFactory.h.
typedef std::map< uint32_t, ApvAnalysisVector> ApvAnalysisFactory::ApvAnalysisMap |
Definition at line 73 of file ApvAnalysisFactory.h.
typedef std::vector<ApvAnalysis *> ApvAnalysisFactory::ApvAnalysisVector |
Definition at line 28 of file ApvAnalysisFactory.h.
typedef std::map< ApvAnalysis *, uint32_t> ApvAnalysisFactory::InverseMap |
Definition at line 75 of file ApvAnalysisFactory.h.
typedef std::map< ApvAnalysis *,int > ApvAnalysisFactory::MapNumberingPosition |
Definition at line 74 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 26 of file ApvAnalysisFactory.cc.
References edm::ParameterSet::getParameter().
ApvAnalysisFactory::~ApvAnalysisFactory | ( | ) |
Definition at line 47 of file ApvAnalysisFactory.cc.
|
private |
Definition at line 87 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 421 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 80 of file ApvAnalysisFactory.cc.
Referenced by NoiseTask::book().
void ApvAnalysisFactory::getCommonMode | ( | uint32_t | det_id, |
ApvAnalysis::PedestalType & | tmp | ||
) |
Definition at line 369 of file ApvAnalysisFactory.cc.
References 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 444 of file ApvAnalysisFactory.cc.
References 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 386 of file ApvAnalysisFactory.cc.
References i.
Referenced by SiStripMonitorPedestals::analyze().
void ApvAnalysisFactory::getNoise | ( | uint32_t | det_id, |
int | apvNumber, | ||
ApvAnalysis::PedestalType & | noise | ||
) |
Definition at line 269 of file ApvAnalysisFactory.cc.
Referenced by SiStripMonitorPedestals::analyze(), and NoiseTask::update().
void ApvAnalysisFactory::getNoise | ( | uint32_t | det_id, |
ApvAnalysis::PedestalType & | noise | ||
) |
void ApvAnalysisFactory::getPedestal | ( | uint32_t | det_id, |
int | apvNumber, | ||
ApvAnalysis::PedestalType & | peds | ||
) |
Definition at line 229 of file ApvAnalysisFactory.cc.
Referenced by SiStripMonitorPedestals::analyze(), NoiseTask::update(), and PedsOnlyTask::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 312 of file ApvAnalysisFactory.cc.
Referenced by SiStripMonitorPedestals::analyze(), and PedsOnlyTask::update().
void ApvAnalysisFactory::getRawNoise | ( | uint32_t | det_id, |
ApvAnalysis::PedestalType & | noise | ||
) |
std::string ApvAnalysisFactory::getStatus | ( | uint32_t | det_id | ) |
float ApvAnalysisFactory::getStripNoise | ( | uint32_t | det_id, |
int | stripNumber | ||
) |
Definition at line 282 of file ApvAnalysisFactory.cc.
References groupFilesInBlocks::temp.
float ApvAnalysisFactory::getStripPedestal | ( | uint32_t | det_id, |
int | stripNumber | ||
) |
Definition at line 258 of file ApvAnalysisFactory.cc.
References groupFilesInBlocks::temp.
float ApvAnalysisFactory::getStripRawNoise | ( | uint32_t | det_id, |
int | stripNumber | ||
) |
Definition at line 325 of file ApvAnalysisFactory.cc.
References groupFilesInBlocks::temp.
bool ApvAnalysisFactory::instantiateApvs | ( | uint32_t | det_id, |
int | numberOfApvs | ||
) |
Definition at line 60 of file ApvAnalysisFactory.cc.
References gather_cfg::cout, i, and groupFilesInBlocks::temp.
Referenced by NoiseTask::book(), PedsOnlyTask::book(), and SiStripMonitorPedestals::createMEs().
bool ApvAnalysisFactory::isUpdating | ( | uint32_t | detId | ) |
Definition at line 405 of file ApvAnalysisFactory.cc.
References end.
void ApvAnalysisFactory::update | ( | uint32_t | det_id, |
const edm::DetSet< SiStripRawDigi > & | in | ||
) |
Definition at line 199 of file ApvAnalysisFactory.cc.
References edm::DetSet< T >::data, end, and i.
Referenced by progressbar.ProgressBar::__next__(), relval_steps.Matrix::__setitem__(), relval_steps.Steps::__setitem__(), python.seqvaluedict.seqdict::__setslice__(), SiStripMonitorPedestals::analyze(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), python.seqvaluedict.seqdict::extend(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), relval_steps.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
void ApvAnalysisFactory::updatePair | ( | uint32_t | det_id, |
size_t | apvPair, | ||
const edm::DetSet< SiStripRawDigi > & | in | ||
) |
Definition at line 157 of file ApvAnalysisFactory.cc.
References edm::DetSet< T >::data, and end.
Referenced by NoiseTask::fill(), and PedsOnlyTask::fill().
|
private |
Definition at line 81 of file ApvAnalysisFactory.h.
|
private |
Definition at line 82 of file ApvAnalysisFactory.h.
|
private |
Definition at line 91 of file ApvAnalysisFactory.h.
|
private |
Definition at line 88 of file ApvAnalysisFactory.h.
|
private |
Definition at line 89 of file ApvAnalysisFactory.h.
|
private |
Definition at line 90 of file ApvAnalysisFactory.h.
|
private |
Definition at line 84 of file ApvAnalysisFactory.h.
|
private |
Definition at line 86 of file ApvAnalysisFactory.h.
|
private |
Definition at line 85 of file ApvAnalysisFactory.h.
|
private |
Definition at line 87 of file ApvAnalysisFactory.h.
|
private |
Definition at line 83 of file ApvAnalysisFactory.h.
|
private |
Definition at line 92 of file ApvAnalysisFactory.h.