![]()  | 
  
    Project
    
   | 
 
Store residuals and local/global deriavtives from a single track processing. More...
#include <MillePedeRecord.h>
Inherits TObject.
Public Member Functions | |
| MillePedeRecord () | |
| default c-tor   | |
| MillePedeRecord (const MillePedeRecord &src) | |
| copy c-tor   | |
| MillePedeRecord & | operator= (const MillePedeRecord &rhs) | 
| assignment op-r   | |
| ~MillePedeRecord () override | |
| destuctor   | |
| void | Reset () | 
| reset all   | |
| void | Print (const Option_t *opt="") const override | 
| print itself   | |
| Int_t | GetSize () const | 
| Int_t * | GetIndex () const | 
| Int_t | GetIndex (int i) const | 
| void | GetIndexValue (Int_t i, Int_t &ind, Double_t &val) const | 
| void | AddIndexValue (Int_t ind, Double_t val) | 
| add new pair of index/value   | |
| void | AddResidual (Double_t val) | 
| void | AddWeight (Double_t val) | 
| void | SetWeight (Double_t w=1) | 
| Bool_t | IsResidual (Int_t i) const | 
| Bool_t | IsWeight (Int_t i) const | 
| Double_t * | GetValue () const | 
| Double_t | GetValue (Int_t i) const | 
| Double_t | GetWeight () const | 
| void | MarkGroup (Int_t id) | 
| mark the presence of the detector group   | |
| Int_t | GetNGroups () const | 
| Int_t | GetGroupID (Int_t i) const | 
| Bool_t | IsGroupPresent (Int_t id) const | 
| check if group is defined   | |
| UInt_t | GetRunID () const | 
| void | SetRunID (UInt_t run) | 
| Double_t | GetGlobalDeriv (Int_t pnt, Int_t indx) const | 
| get derivative over global variable indx at point pnt   | |
| Double_t | GetLocalDeriv (Int_t pnt, Int_t indx) const | 
| get derivative over local variable indx at point pnt   | |
| Double_t | GetResidual (Int_t pnt) const | 
| get residual at point pnt   | |
| Double_t | GetGloResWProd (Int_t indx) const | 
| get sum of derivative over global variable indx * res. at point * weight   | |
| Double_t | GetWeight (Int_t indx) const | 
| get weight of point pnt   | |
Protected Member Functions | |
| Int_t | GetDtBufferSize () const | 
| Int_t | GetGrBufferSize () const | 
| void | SetDtBufferSize (Int_t sz) | 
| void | SetGrBufferSize (Int_t sz) | 
| void | ExpandDtBuffer (Int_t bfsize) | 
| add extra space for derivatives data   | |
| void | ExpandGrBuffer (Int_t bfsize) | 
| add extra space for groupID data   | |
| ClassDefOverride (MillePedeRecord, 3) | |
Protected Attributes | |
| Int_t | fSize | 
| size of the record   | |
| Int_t | fNGroups | 
| number of groups (e.g. detectors) contributing   | |
| UInt_t | fRunID | 
| run ID   | |
| UShort_t * | fGroupID | 
| [fNGroups] groups id's+1 (in increasing order)   | |
| Int_t * | fIndex | 
| [fSize] index of variables   | |
| Double32_t * | fValue | 
| [fSize] array of values: derivs,residuals   | |
| Double32_t | fWeight | 
| global weight for the record   | |
Store residuals and local/global deriavtives from a single track processing.
Format: for each measured point the data is stored consecutively
INDEX VALUE -1 residual Local_param_id dResidual/dLocal_param ... ... -2 weight of the measurement Global_param_od dResidual/dGlobal_param ... ...
Definition at line 39 of file MillePedeRecord.h.
| MillePedeRecord::MillePedeRecord | ( | ) | 
default c-tor
Definition at line 23 of file MillePedeRecord.cxx.
| MillePedeRecord::MillePedeRecord | ( | const MillePedeRecord & | src | ) | 
copy c-tor
Definition at line 36 of file MillePedeRecord.cxx.
      
  | 
  override | 
destuctor
Definition at line 75 of file MillePedeRecord.cxx.
      
  | 
  inline | 
add new pair of index/value
Definition at line 134 of file MillePedeRecord.h.
      
  | 
  inline | 
Definition at line 73 of file MillePedeRecord.h.
      
  | 
  inline | 
Definition at line 74 of file MillePedeRecord.h.
      
  | 
  protected | 
      
  | 
  protected | 
add extra space for derivatives data
Definition at line 293 of file MillePedeRecord.cxx.
      
  | 
  protected | 
add extra space for groupID data
Definition at line 310 of file MillePedeRecord.cxx.
      
  | 
  inlineprotected | 
Definition at line 110 of file MillePedeRecord.h.
| Double_t MillePedeRecord::GetGlobalDeriv | ( | Int_t | pnt, | 
| Int_t | indx | ||
| ) | const | 
get derivative over global variable indx at point pnt
Definition at line 175 of file MillePedeRecord.cxx.
| Double_t MillePedeRecord::GetGloResWProd | ( | Int_t | indx | ) | const | 
get sum of derivative over global variable indx * res. at point * weight
Definition at line 143 of file MillePedeRecord.cxx.
      
  | 
  inlineprotected | 
Definition at line 111 of file MillePedeRecord.h.
      
  | 
  inline | 
Definition at line 86 of file MillePedeRecord.h.
      
  | 
  inline | 
Definition at line 61 of file MillePedeRecord.h.
      
  | 
  inline | 
Definition at line 62 of file MillePedeRecord.h.
      
  | 
  inline | 
Definition at line 64 of file MillePedeRecord.h.
| Double_t MillePedeRecord::GetLocalDeriv | ( | Int_t | pnt, | 
| Int_t | indx | ||
| ) | const | 
get derivative over local variable indx at point pnt
Definition at line 209 of file MillePedeRecord.cxx.
      
  | 
  inline | 
Definition at line 85 of file MillePedeRecord.h.
| Double_t MillePedeRecord::GetResidual | ( | Int_t | pnt | ) | const | 
get residual at point pnt
Definition at line 243 of file MillePedeRecord.cxx.
      
  | 
  inline | 
Definition at line 91 of file MillePedeRecord.h.
      
  | 
  inline | 
Definition at line 60 of file MillePedeRecord.h.
      
  | 
  inline | 
Definition at line 79 of file MillePedeRecord.h.
      
  | 
  inline | 
Definition at line 80 of file MillePedeRecord.h.
      
  | 
  inline | 
Definition at line 81 of file MillePedeRecord.h.
| Double_t MillePedeRecord::GetWeight | ( | Int_t | indx | ) | const | 
get weight of point pnt
Definition at line 268 of file MillePedeRecord.cxx.
      
  | 
  inline | 
check if group is defined
Definition at line 144 of file MillePedeRecord.h.
      
  | 
  inline | 
Definition at line 76 of file MillePedeRecord.h.
      
  | 
  inline | 
Definition at line 77 of file MillePedeRecord.h.
| void MillePedeRecord::MarkGroup | ( | Int_t | id | ) | 
mark the presence of the detector group
Definition at line 325 of file MillePedeRecord.cxx.
| MillePedeRecord & MillePedeRecord::operator= | ( | const MillePedeRecord & | rhs | ) | 
assignment op-r
Definition at line 55 of file MillePedeRecord.cxx.
      
  | 
  override | 
print itself
Definition at line 95 of file MillePedeRecord.cxx.
| void MillePedeRecord::Reset | ( | ) | 
reset all
Definition at line 83 of file MillePedeRecord.cxx.
      
  | 
  inlineprotected | 
Definition at line 112 of file MillePedeRecord.h.
      
  | 
  inlineprotected | 
Definition at line 113 of file MillePedeRecord.h.
      
  | 
  inline | 
Definition at line 92 of file MillePedeRecord.h.
      
  | 
  inline | 
Definition at line 75 of file MillePedeRecord.h.
      
  | 
  protected | 
[fNGroups] groups id's+1 (in increasing order)
Definition at line 125 of file MillePedeRecord.h.
      
  | 
  protected | 
[fSize] index of variables
Definition at line 126 of file MillePedeRecord.h.
      
  | 
  protected | 
number of groups (e.g. detectors) contributing
Definition at line 123 of file MillePedeRecord.h.
      
  | 
  protected | 
run ID
Definition at line 124 of file MillePedeRecord.h.
      
  | 
  protected | 
size of the record
Definition at line 122 of file MillePedeRecord.h.
      
  | 
  protected | 
[fSize] array of values: derivs,residuals
Definition at line 127 of file MillePedeRecord.h.
      
  | 
  protected | 
global weight for the record
Definition at line 128 of file MillePedeRecord.h.