#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, int 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 cond::rpcobtemp::temp.
float ApvAnalysisFactory::getStripPedestal | ( | uint32_t | det_id, |
int | stripNumber | ||
) |
Definition at line 258 of file ApvAnalysisFactory.cc.
References cond::rpcobtemp::temp.
float ApvAnalysisFactory::getStripRawNoise | ( | uint32_t | det_id, |
int | stripNumber | ||
) |
Definition at line 325 of file ApvAnalysisFactory.cc.
References cond::rpcobtemp::temp.
bool ApvAnalysisFactory::instantiateApvs | ( | uint32_t | det_id, |
int | numberOfApvs | ||
) |
Definition at line 60 of file ApvAnalysisFactory.cc.
References gather_cfg::cout, i, and cond::rpcobtemp::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 python.seqvaluedict.seqdict::__setslice__(), SiStripMonitorPedestals::analyze(), python.Vispa.Gui.VispaWidget.VispaWidget::autosize(), python.Vispa.Views.LineDecayView.LineDecayContainer::createObject(), python.Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), python.Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), python.seqvaluedict.seqdict::extend(), python.Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), python.Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), python.Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), python.Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), python.Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), python.Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), python.Vispa.Gui.FindDialog.FindDialog::reset(), python.Vispa.Gui.PortConnection.PointToPointConnection::select(), python.Vispa.Gui.VispaWidget.VispaWidget::select(), python.Vispa.Views.LineDecayView.LineDecayContainer::select(), python.Vispa.Gui.VispaWidget.VispaWidget::setText(), python.Vispa.Gui.VispaWidget.VispaWidget::setTitle(), python.Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), python.Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and python.Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
void ApvAnalysisFactory::updatePair | ( | uint32_t | det_id, |
int | 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.