#include <CalibTracker/SiStripQuality/src/SiStripHotStripAlgorithmFromClusterOccupancy.cc>
Classes | |
struct | pHisto |
Public Types | |
typedef SiStrip::QualityHistosMap | HistoMap |
Public Member Functions | |
void | extractBadStrips (SiStripQuality *, HistoMap &, edm::ESHandle< SiStripQuality > &) |
void | setMinNumEntries (unsigned short m) |
void | setMinNumEntriesPerStrip (unsigned short m) |
void | setNumberOfEvents (double Nevents) |
void | setOccupancyThreshold (long double occupancy) |
void | setOutputFileName (std::string OutputFileName, bool WriteOutputFile) |
void | setProbabilityThreshold (long double prob) |
void | setTrackerGeometry (const TrackerGeometry *tkgeom) |
SiStripHotStripAlgorithmFromClusterOccupancy (const edm::ParameterSet &) | |
virtual | ~SiStripHotStripAlgorithmFromClusterOccupancy () |
Private Member Functions | |
void | evaluatePoissonian (std::vector< long double > &, long double &meanVal) |
void | iterativeSearch (pHisto &, std::vector< unsigned int > &, int) |
Private Attributes | |
int | apv_channel |
int | detrawid |
int | disc |
TFile * | f |
float | global_position_x |
float | global_position_y |
float | global_position_z |
int | hotStripsPerAPV |
int | hotstripsperapv [6] |
int | hotStripsPerModule |
int | hotstripspermodule |
int | isback |
int | isexternalstring |
int | isHot |
int | ishot [768] |
int | isstereo |
int | iszminusside |
int | layer_ring |
double | minNevents_ |
unsigned short | MinNumEntries_ |
unsigned short | MinNumEntriesPerStrip_ |
int | module_position |
double | Nevents_ |
int | number_strips |
long double | occupancy_ |
std::string | OutFileName_ |
double | poissonProb |
double | poissonprob [768] |
SiStripQuality * | pQuality |
long double | prob_ |
int | rodstringpetal |
std::stringstream | ss |
int | strip_number |
int | stripHits |
int | striphits [768] |
double | stripOccupancy |
double | stripoccupancy [768] |
TTree * | striptree |
int | subdetid |
const TrackerGeometry * | TkGeom |
bool | UseInputDB_ |
bool | WriteOutputFile_ |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 56 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Definition at line 59 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
SiStripHotStripAlgorithmFromClusterOccupancy::SiStripHotStripAlgorithmFromClusterOccupancy | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 6 of file SiStripHotStripAlgorithmFromClusterOccupancy.cc.
References minNevents_, Nevents_, and occupancy_.
|
virtual |
Definition at line 19 of file SiStripHotStripAlgorithmFromClusterOccupancy.cc.
References LogTrace.
|
private |
Definition at line 278 of file SiStripHotStripAlgorithmFromClusterOccupancy.cc.
References i.
Referenced by iterativeSearch().
void SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips | ( | SiStripQuality * | OutSiStripQuality, |
HistoMap & | DM, | ||
edm::ESHandle< SiStripQuality > & | InSiStripQuality | ||
) |
Definition at line 23 of file SiStripHotStripAlgorithmFromClusterOccupancy.cc.
References SiStripHotStripAlgorithmFromClusterOccupancy::pHisto::_NEntries, SiStripHotStripAlgorithmFromClusterOccupancy::pHisto::_SubdetId, SiStripHotStripAlgorithmFromClusterOccupancy::pHisto::_th1f, apv_channel, SiStripQuality::clear(), SiStripQuality::compact(), gather_cfg::cout, cond::rpcobgas::detid, detrawid, disc, f, SiStripQuality::fillBadComponents(), global_position_x, global_position_y, global_position_z, hotStripsPerAPV, hotstripsperapv, hotStripsPerModule, hotstripspermodule, i, TrackerGeometry::idToDet(), isback, edm::isDebugEnabled(), isexternalstring, isHot, ishot, isstereo, iszminusside, iterativeSearch(), TOBDetId::layer(), TIBDetId::layer(), layer_ring, StripTopology::localPosition(), LogTrace, module_position, TOBDetId::moduleNumber(), TIBDetId::moduleNumber(), TIDDetId::moduleNumber(), TECDetId::moduleNumber(), number_strips, OutFileName_, TECDetId::petalNumber(), poissonProb, poissonprob, pQuality, SiStripBadStrip::put(), TIDDetId::ring(), TECDetId::ring(), TOBDetId::rodNumber(), rodstringpetal, StripGeomDetUnit::specificTopology(), ss, SiStripDetId::stereo(), TIBDetId::stringNumber(), strip(), strip_number, stripHits, striphits, stripOccupancy, stripoccupancy, striptree, DetId::subdetId(), subdetid, StripSubdetector::TEC, StripSubdetector::TIB, StripSubdetector::TID, TkGeom, StripSubdetector::TOB, UseInputDB_, TIDDetId::wheel(), TECDetId::wheel(), WriteOutputFile_, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by SiStripQualityHotStripIdentifier::getNewObject(), and SiStripQualityHotStripIdentifierRoot::getNewObject().
|
private |
Definition at line 230 of file SiStripHotStripAlgorithmFromClusterOccupancy.cc.
References SiStripHotStripAlgorithmFromClusterOccupancy::pHisto::_NEmptyBins, SiStripHotStripAlgorithmFromClusterOccupancy::pHisto::_NEntries, SiStripHotStripAlgorithmFromClusterOccupancy::pHisto::_th1f, diffTreeTool::diff, SiStripBadStrip::encode(), python.tagInventory::entries, evaluatePoissonian(), hotstripsperapv, hotstripspermodule, i, edm::isDebugEnabled(), ishot, LogTrace, minNevents_, MinNumEntries_, MinNumEntriesPerStrip_, Nevents_, poissonprob, pQuality, prob_, striphits, and stripoccupancy.
Referenced by extractBadStrips().
|
inline |
Definition at line 67 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
References m, and MinNumEntries_.
Referenced by SiStripQualityHotStripIdentifier::getNewObject(), and SiStripQualityHotStripIdentifierRoot::getNewObject().
|
inline |
Definition at line 68 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
References m, and MinNumEntriesPerStrip_.
Referenced by SiStripQualityHotStripIdentifier::getNewObject(), and SiStripQualityHotStripIdentifierRoot::getNewObject().
void SiStripHotStripAlgorithmFromClusterOccupancy::setNumberOfEvents | ( | double | Nevents | ) |
Definition at line 284 of file SiStripHotStripAlgorithmFromClusterOccupancy.cc.
References edm::isDebugEnabled(), LogTrace, minNevents_, Nevents_, and occupancy_.
Referenced by SiStripQualityHotStripIdentifierRoot::bookHistos(), and SiStripQualityHotStripIdentifierRoot::getNewObject().
|
inline |
Definition at line 69 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
References minNevents_, Nevents_, and occupancy_.
Referenced by SiStripQualityHotStripIdentifierRoot::getNewObject().
|
inline |
Definition at line 71 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
References OutFileName_, OutputFileName, and WriteOutputFile_.
Referenced by SiStripQualityHotStripIdentifierRoot::getNewObject().
|
inline |
Definition at line 66 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
References prob_.
Referenced by SiStripQualityHotStripIdentifier::getNewObject(), and SiStripQualityHotStripIdentifierRoot::getNewObject().
|
inline |
Definition at line 72 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
References TkGeom.
Referenced by SiStripQualityHotStripIdentifierRoot::getNewObject().
|
private |
Definition at line 121 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 109 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 112 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 106 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by python.Vispa.Views.RootCanvasView.RootCanvasView::createGraph(), python.Vispa.Views.RootCanvasView.RootCanvasView::createLegoPlot(), and extractBadStrips().
|
private |
Definition at line 123 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 124 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 125 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 128 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 135 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips(), and iterativeSearch().
|
private |
Definition at line 129 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 136 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips(), and iterativeSearch().
|
private |
Definition at line 113 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 114 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 127 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 134 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips(), and iterativeSearch().
|
private |
Definition at line 117 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 115 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 111 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 98 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by iterativeSearch(), setNumberOfEvents(), setOccupancyThreshold(), and SiStripHotStripAlgorithmFromClusterOccupancy().
|
private |
Definition at line 95 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by iterativeSearch(), and setMinNumEntries().
|
private |
Definition at line 96 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by iterativeSearch(), and setMinNumEntriesPerStrip().
|
private |
Definition at line 118 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 97 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by iterativeSearch(), setNumberOfEvents(), setOccupancyThreshold(), and SiStripHotStripAlgorithmFromClusterOccupancy().
|
private |
Definition at line 119 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 99 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by setNumberOfEvents(), setOccupancyThreshold(), and SiStripHotStripAlgorithmFromClusterOccupancy().
|
private |
Definition at line 100 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips(), and setOutputFileName().
|
private |
Definition at line 132 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 139 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips(), and iterativeSearch().
|
private |
Definition at line 104 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips(), and iterativeSearch().
|
private |
Definition at line 94 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by iterativeSearch(), and setProbabilityThreshold().
|
private |
Definition at line 116 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 142 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 120 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 131 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 138 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips(), and iterativeSearch().
|
private |
Definition at line 130 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 137 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips(), and iterativeSearch().
|
private |
Definition at line 107 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 110 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 102 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips(), and setTrackerGeometry().
|
private |
Definition at line 108 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 101 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips(), and setOutputFileName().