#include <SiStripBadModuleGenerator.h>
Public Member Functions | |
void | getObj (SiStripBadStrip *&obj) |
SiStripBadModuleGenerator (const edm::ParameterSet &, const edm::ActivityRegistry &) | |
~SiStripBadModuleGenerator () | |
Public Member Functions inherited from SiStripCondObjBuilderBase< SiStripBadStrip > | |
virtual bool | checkForCompatibility (std::string ss) |
virtual void | getMetaDataString (std::stringstream &ss) |
virtual void | initialize () |
SiStripCondObjBuilderBase (const edm::ParameterSet &pset) | |
virtual | ~SiStripCondObjBuilderBase () |
Private Types | |
typedef std::vector < edm::ParameterSet > | Parameters |
Private Member Functions | |
void | createObject () |
bool | isTECDetector (const uint32_t &therawid, uint32_t requested_side, uint32_t requested_wheel, uint32_t requested_petal_bkw_frw, uint32_t requested_petal, uint32_t requested_ring, uint32_t requested_ster, uint32_t requested_detid) const |
bool | isTIBDetector (const uint32_t &therawid, uint32_t requested_layer, uint32_t requested_bkw_frw, uint32_t requested_int_ext, uint32_t requested_string, uint32_t requested_ster, uint32_t requested_detid) const |
bool | isTIDDetector (const uint32_t &therawid, uint32_t requested_side, uint32_t requested_wheel, uint32_t requested_ring, uint32_t requested_ster, uint32_t requested_detid) const |
bool | isTOBDetector (const uint32_t &therawid, uint32_t requested_layer, uint32_t requested_bkw_frw, uint32_t requested_rod, uint32_t requested_ster, uint32_t requested_detid) const |
void | selectDetectors (const std::vector< uint32_t > &, std::vector< uint32_t > &) |
Private Attributes | |
Parameters | BadComponentList_ |
bool | printdebug_ |
Additional Inherited Members | |
Protected Attributes inherited from SiStripCondObjBuilderBase< SiStripBadStrip > | |
edm::ParameterSet | _pset |
SiStripBadStrip * | obj_ |
Definition at line 10 of file SiStripBadModuleGenerator.h.
|
private |
Definition at line 56 of file SiStripBadModuleGenerator.h.
|
explicit |
Definition at line 16 of file SiStripBadModuleGenerator.cc.
SiStripBadModuleGenerator::~SiStripBadModuleGenerator | ( | ) |
Definition at line 23 of file SiStripBadModuleGenerator.cc.
|
private |
Definition at line 28 of file SiStripBadModuleGenerator.cc.
References SiStripCondObjBuilderBase< SiStripBadStrip >::_pset, BadComponentList_, SiStripQuality::cleanUp(), SiStripBadStrip::encode(), edm::FileInPath::fullPath(), SiStripQuality::getBadComponentList(), edm::ParameterSet::getUntrackedParameter(), getGTfromDQMFile::obj, SiStripCondObjBuilderBase< SiStripBadStrip >::obj_, printdebug_, SiStripBadStrip::put(), matplotRender::reader, selectDetectors(), and AlCaHarvesting_cff::SiStripQuality.
Referenced by Vispa.Views.LineDecayView.LineDecayContainer::dropEvent(), and getObj().
|
inlinevirtual |
Returns the CondObj
Reimplemented from SiStripCondObjBuilderBase< SiStripBadStrip >.
Definition at line 16 of file SiStripBadModuleGenerator.h.
References createObject(), and SiStripCondObjBuilderBase< SiStripBadStrip >::obj_.
|
private |
Definition at line 255 of file SiStripBadModuleGenerator.cc.
References TECDetId::isFrontPetal(), TECDetId::isStereo(), TECDetId::isZPlusSide(), TECDetId::petalNumber(), DetId::rawId(), TECDetId::ringNumber(), SiStripDetId::subDetector(), SiStripDetId::TEC, and TECDetId::wheelNumber().
Referenced by selectDetectors().
|
private |
Definition at line 178 of file SiStripBadModuleGenerator.cc.
References TIBDetId::isInternalString(), TIBDetId::isRPhi(), TIBDetId::isStereo(), TIBDetId::isZPlusSide(), TIBDetId::layerNumber(), DetId::rawId(), TIBDetId::stringNumber(), SiStripDetId::subDetector(), and SiStripDetId::TIB.
Referenced by selectDetectors().
|
private |
Definition at line 230 of file SiStripBadModuleGenerator.cc.
References TIDDetId::diskNumber(), TIDDetId::isRPhi(), TIDDetId::isStereo(), TIDDetId::isZPlusSide(), DetId::rawId(), TIDDetId::ringNumber(), SiStripDetId::subDetector(), and SiStripDetId::TID.
Referenced by selectDetectors().
|
private |
Definition at line 205 of file SiStripBadModuleGenerator.cc.
References TOBDetId::isRPhi(), TOBDetId::isStereo(), TOBDetId::isZPlusSide(), TOBDetId::layerNumber(), DetId::rawId(), TOBDetId::rodNumber(), SiStripDetId::subDetector(), and SiStripDetId::TOB.
Referenced by selectDetectors().
|
private |
Definition at line 87 of file SiStripBadModuleGenerator.cc.
References BadComponentList_, gather_cfg::cout, spr::find(), isTECDetector(), isTIBDetector(), isTIDDetector(), isTOBDetector(), printdebug_, DetId::rawId(), SiStripDetId::TEC, SiStripDetId::TIB, SiStripDetId::TID, SiStripDetId::TOB, DetId::Tracker, and SiStripDetId::UNKNOWN.
Referenced by createObject().
|
private |
Definition at line 57 of file SiStripBadModuleGenerator.h.
Referenced by createObject(), and selectDetectors().
|
private |
Definition at line 55 of file SiStripBadModuleGenerator.h.
Referenced by createObject(), and selectDetectors().