#include <ModuleDefect.h>
Inheritance diagram for SctData::ModuleDefect:

Public Member Functions | |
| ModuleDefect (const ModuleDefect &prototype, const ModuleElement &element) throw () | |
| Public constructor: Copy the given ModuleDefect and give ModuleElement.  | |
| virtual | ~ModuleDefect () throw () | 
| Public destructor.  | |
| bool | isSevere () const throw () | 
| Return true if this ModuleDefect is severe.  | |
| const ModuleElement & | getModuleElement () const throw (LogicError) | 
| Gets the module element affected by this defect.  | |
| bool | isPrototype () const throw () | 
| True if this is a prototype, false if it actually represents a defect.  | |
| bool | isChipDefect () const throw () | 
| True if this defect applies to a whole chip.  | |
| bool | isLinkDefect () const throw () | 
| True if this defect applies to a whole link.  | |
| bool | isUnfittable () const throw () | 
| returns true if defect is serious enough to prevent fitting to this channel.  | |
| bool | isUnuseable () const throw () | 
| SCTDAQ definitition of unusable is dead or stuckon.  | |
| bool | isDodgy () const throw () | 
| SCTDAQ definitition of `dodgy' is any defect other than dead or stuckon.  | |
| const string & | getName () const throw () | 
| Gets the name of this defect.  | |
| const string & | getDescription () const throw () | 
| Get a human readable description for this ModuleDefect.  | |
| double | getParameter () const throw () | 
| Gets a parameter that can be used to determine if something is defective.  | |
| bool | isOfTheSameTypeAs (const ModuleDefect &defect) const throw () | 
| Comparison operators.  | |
| bool | operator== (const ModuleDefect &defect) const throw (LogicError) | 
| Returns true if the defect types are the same.  | |
| virtual string | getClassName () const throw () | 
| Get the class name for this object.  | |
Static Public Attributes | |
Fit Defects  | |
| const ModuleDefect | DEAD | 
| Output always v small.  | |
| const ModuleDefect | STUCKON | 
| Output always v high.  | |
| const ModuleDefect | OVER | 
| Occupancy larger than max.  | |
| const ModuleDefect | UNDER | 
| Occupancy never reaches mas.  | |
| const ModuleDefect | NOINIT | 
| Couldn't initialize the fit.  | |
| const ModuleDefect | FIT_UNDER | 
| Output always v small.  | |
| const ModuleDefect | FIT_OVER | 
| Output always v small.  | |
| const ModuleDefect | SIG_UNDER | 
| Output always v small.  | |
| const ModuleDefect | SIG_OVER | 
| Output always v small.  | |
Strobe Delay Defects  | |
| const ModuleDefect | SD_LO | 
| Low edge is not between 0 and 35.  | |
| const ModuleDefect | SD_HI | 
| Low edge is above 63.  | |
NPt Gain Defects  | |
| const ModuleDefect | LO_GAIN | 
| Gain < 0.75 * chip average.  | |
| const ModuleDefect | HI_GAIN | 
| Gain > 1.25 * chip average.  | |
| const ModuleDefect | LO_OFFSET | 
| Offset < -100.  | |
| const ModuleDefect | HI_OFFSET | 
| Offset > 120.  | |
| const ModuleDefect | UNBONDED | 
| Noise <= 750.  | |
| const ModuleDefect | PARTBONDED | 
| Noise <= 1100.  | |
| const ModuleDefect | NOISY | 
| Noise > 1.15* av chip noise.  | |
Trim Defects  | |
| const ModuleDefect | TR_RANGE | 
| Unexpected chip trim step size.  | |
| const ModuleDefect | TR_STEP | 
| Channel step different from chip.  | |
| const ModuleDefect | TR_OFFSET | 
| Channel offset different from chip.  | |
| const ModuleDefect | TR_NOTRIM | 
| Untrimmable channel.  | |
| const ModuleDefect | NO_HI | 
| Other defects.  | |
| const ModuleDefect | MEAN_ERROR | 
| high noise occupancy  | |
| const ModuleDefect | SIG_ERROR | 
| Other defects.  | |
| const ModuleDefect | STUCK_CELL | 
| pipeline  | |
| const ModuleDefect | DEAD_CELL | 
| pipeline  | |
| const ModuleDefect | TOKEN | 
| full bypass token  | |
| const ModuleDefect | RTOKEN | 
| full bypass token  | |
| const ModuleDefect | TW_HI | 
| time walk too big  | |
| const ModuleDefect | TW_LO | 
| time walk too small  | |
Private Member Functions | |
| ModuleDefect (int id, bool severe, const string &name, const string &d, double parameter) throw () | |
| Private constructor.  | |
| ModuleDefect (int id, bool severe, const string &name, const char *d, double parameter) throw () | |
| Private constructor.  | |
Private Attributes | |
| int | id | 
| The internal id.  | |
| bool | severe | 
| True if severe.  | |
| string | name | 
| Name of the defect.  | |
| string | description | 
| The human readable description.  | |
| double | parameter | 
| A parameter for deciding if something is defective.  | |
| auto_ptr< ModuleElement > | element | 
| The start of the defect.  | |
Static Private Attributes | |
| map< int, ModuleDefect * > | defectMap | 
Friends | |
| class | ModuleDefectIOHelper | 
A ModuleDefect has a description and can be classified as severe or not severe.
Definition at line 26 of file ModuleDefect.h.
      
  | 
  ||||||||||||
| 
 Public constructor: Copy the given ModuleDefect and give ModuleElement. 
 Definition at line 201 of file ModuleDefect.h.  | 
  
      
  | 
  
| 
 Public destructor. 
 
 Definition at line 82 of file ModuleDefect.h.  | 
  
      
  | 
  ||||||||||||||||||||||||
| 
 Private constructor. 
 Definition at line 184 of file ModuleDefect.h.  | 
  
      
  | 
  ||||||||||||||||||||||||
| 
 Private constructor. Differs from above by assuming that description = sprintf(temp, d, parameter); Definition at line 190 of file ModuleDefect.h.  | 
  
      
  | 
  
| 
 Get the class name for this object. This is used to identify the precise type. 
 
 
 Implements Sct::Streamable. Definition at line 259 of file ModuleDefect.h.  | 
  
      
  | 
  
| 
 Get a human readable description for this ModuleDefect. 
 Definition at line 255 of file ModuleDefect.h.  | 
  
      
  | 
  
| 
 Gets the module element affected by this defect. 
 Definition at line 219 of file ModuleDefect.h. Referenced by SctData::TestSummary::SummaryWriter::write().  | 
  
      
  | 
  
| 
 Gets the name of this defect. 
 Definition at line 251 of file ModuleDefect.h. Referenced by SctData::TestSummary::SummaryWriter::write().  | 
  
      
  | 
  
| 
 Gets a parameter that can be used to determine if something is defective. 
 Definition at line 205 of file ModuleDefect.h.  | 
  
      
  | 
  
| 
 True if this defect applies to a whole chip. 
 Definition at line 226 of file ModuleDefect.h.  | 
  
      
  | 
  
| 
 SCTDAQ definitition of `dodgy' is any defect other than dead or stuckon. 
 Definition at line 247 of file ModuleDefect.h.  | 
  
      
  | 
  
| 
 True if this defect applies to a whole link. 
 Definition at line 230 of file ModuleDefect.h.  | 
  
      
  | 
  
| 
 Comparison operators. Returns true if the defect types are the same. AND defects refer to the same channels. Definition at line 216 of file ModuleDefect.h.  | 
  
      
  | 
  
| 
 True if this is a prototype, false if it actually represents a defect. 
 
 Definition at line 209 of file ModuleDefect.h.  | 
  
      
  | 
  
| 
 Return true if this ModuleDefect is severe. 
 Definition at line 234 of file ModuleDefect.h.  | 
  
      
  | 
  
| 
 returns true if defect is serious enough to prevent fitting to this channel. 
 Definition at line 238 of file ModuleDefect.h.  | 
  
      
  | 
  
| 
 SCTDAQ definitition of unusable is dead or stuckon. 
 Definition at line 243 of file ModuleDefect.h.  | 
  
      
  | 
  
| 
 Returns true if the defect types are the same. 
 
 
 Definition at line 213 of file ModuleDefect.h.  | 
  
      
  | 
  
| 
 
 Definition at line 179 of file ModuleDefect.h.  | 
  
      
  | 
  
| 
 Output always v small. 
 
  | 
  
      
  | 
  
| 
 pipeline 
  | 
  
      
  | 
  
| 
 
 Definition at line 5 of file ModuleDefect.cpp.  | 
  
      
  | 
  
| 
 The human readable description. 
 Definition at line 174 of file ModuleDefect.h.  | 
  
      
  | 
  
| 
 The start of the defect. 
 Definition at line 176 of file ModuleDefect.h.  | 
  
      
  | 
  
| 
 Output always v small. 
 
  | 
  
      
  | 
  
| 
 Output always v small. 
 
  | 
  
      
  | 
  
| 
 Gain > 1.25 * chip average. 
  | 
  
      
  | 
  
| 
 Offset > 120. 
  | 
  
      
  | 
  
| 
 The internal id. 
 Definition at line 171 of file ModuleDefect.h. Referenced by SctData::ModuleDefectIOHelper::getRepresentation().  | 
  
      
  | 
  
| 
 Gain < 0.75 * chip average. 
  | 
  
      
  | 
  
| 
 Offset < -100. 
  | 
  
      
  | 
  
| 
 high noise occupancy 
  | 
  
      
  | 
  
| 
 Name of the defect. 
 Definition at line 173 of file ModuleDefect.h.  | 
  
      
  | 
  
| 
 Other defects. 
  | 
  
      
  | 
  
| 
 Couldn't initialize the fit. 
  | 
  
      
  | 
  
| 
 Noise > 1.15* av chip noise. 
  | 
  
      
  | 
  
| 
 Occupancy larger than max. 
  | 
  
      
  | 
  
| 
 A parameter for deciding if something is defective. 
 Definition at line 175 of file ModuleDefect.h.  | 
  
      
  | 
  
| 
 Noise <= 1100. 
  | 
  
      
  | 
  
| 
 full bypass token 
  | 
  
      
  | 
  
| 
 Low edge is above 63. 
  | 
  
      
  | 
  
| 
 Low edge is not between 0 and 35. 
  | 
  
      
  | 
  
| 
 True if severe. 
 Definition at line 172 of file ModuleDefect.h.  | 
  
      
  | 
  
| 
 Other defects. 
  | 
  
      
  | 
  
| 
 Output always v small. 
 
  | 
  
      
  | 
  
| 
 Output always v small. 
 
  | 
  
      
  | 
  
| 
 pipeline 
  | 
  
      
  | 
  
| 
 Output always v high. 
  | 
  
      
  | 
  
| 
 full bypass token 
  | 
  
      
  | 
  
| 
 Untrimmable channel. 
  | 
  
      
  | 
  
| 
 Channel offset different from chip. 
  | 
  
      
  | 
  
| 
 Unexpected chip trim step size. 
  | 
  
      
  | 
  
| 
 Channel step different from chip. 
  | 
  
      
  | 
  
| 
 time walk too big 
  | 
  
      
  | 
  
| 
 time walk too small 
  | 
  
      
  | 
  
| 
 Noise <= 750. 
  | 
  
      
  | 
  
| 
 Occupancy never reaches mas. 
  | 
  
1.3-rc3