#include "hmdchitaux.h"

HMdcHitAux


class description - source file - inheritance tree (.pdf)

class HMdcHitAux : public HRecObject

Inheritance Chart:
TObject
<-
HRecObject
<-
HMdcHitAux
<-
HMdcHitAuxSim

    public:
HMdcHitAux() HMdcHitAux(HMdcHitAux& copy) ~HMdcHitAux() void addCal(HMdcCal3* data) void addCal(HMdcCal3* data, Int_t pos) static TClass* Class() void clear() HMdcCal3* getCal(Int_t planeNumber) Float_t getChi() Float_t getCovElement(Int_t i, Int_t j) Float_t getErrorSlope1() Float_t getErrorSlope2() Int_t getIsUsed() Int_t getNumHits() Float_t getPointX() Float_t getPointY() Float_t getPointZ() Float_t getSlopeX() Float_t getSlopeY() Float_t getXError() Float_t getYError() virtual TClass* IsA() const Int_t isDel() void markHits() void notDel() void notUsed() void operator=(HMdcHitAux* other) void operator=(HMdcHitAux& other) void print(ostream& file) void print() void printCal() void printCal(ostream& file) void setChi(Float_t chiSq) void setCovElement(Int_t i, Int_t j, Float_t ele) void setDel() void setError(Float_t xError, Float_t yError) void setErrorSlope(Float_t xerror, Float_t yerror) void setErrorSlopeX(Float_t error) void setErrorSlopeY(Float_t error) void setErrorX(Float_t xError) void setErrorY(Float_t yError) void setHits(Int_t nHits) void setPoint(Float_t x, Float_t y, Float_t z) void setPointX(Float_t x) void setPointY(Float_t y) void setPointZ(Float_t z) void setSlope(Float_t xSlope, Float_t ySlope) void setSlopeX(Float_t xSlope) void setSlopeY(Float_t ySlope) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) void unMarkHits() void used()

Data Members


    protected:
Float_t myPoint[3] three coordinates of the point Float_t mySlope[2] two slopes of the segment: x-z, y-z Float_t myChi chi-square of the fit Int_t myNumberOfHits number of hits in the segment HMdcCal3* cal[6] pointers to the calibrated hits that HSymMat5 cov covariance matrix of parameters Int_t toBeDeleted Int_t isUsed

Class Description

 An HMdcHitAux is a segment in a mdc module.                   
 Basically, it has a point and two slopes and the corresponding 
 errors. It also keep track of the calibrated hits that belong  
 to the segment.                                                
 It has the following functions:                                
  - a default constructor                                       
  - a copy constructor                                          
  - a default destructor                                        
  - addCal(HMdcCal3* data): add a pointer to the calibrated
           data passed as argument to the segment.              
           The pointer to the calibrated hit will be stored in  
           the HMatrixCategory, and the number of hits in the   
           segment increased by one.                            
  - addCal(HMdcCal3* data, int pos):add the calibrated data
           passed as argument to the segment in the position pos
           pos is an integer between 1 and 6, corresponding to  
           the six planes in a mdc module.                      
           The calibrated hit will be stored in the HCategory,  
           the number of hits in the segment is increased only  
           if ...                                               
  - print(ostream &file):prints the segment information to file 
  - printCal():prints the calibrated hits to the standard output
  - operator=                                                   
  - markHits(void):increments the flag of all the hits in the   
    segment                                                     
  - unMarkHits(void):decrements the flag of all the hits in the 
    segment                                                     
                                                                




Inline Functions


               void ~HMdcHitAux()
         HMdcHitAux HMdcHitAux()
         HMdcHitAux HMdcHitAux(HMdcHitAux& copy)
               void clear()
               void addCal(HMdcCal3* data)
               void addCal(HMdcCal3* data, Int_t pos)
               void printCal()
               void printCal(ostream& file)
          HMdcCal3* getCal(Int_t planeNumber)
               void print(ostream& file)
               void print()
               void markHits()
               void unMarkHits()
            Float_t getPointX()
            Float_t getPointY()
            Float_t getPointZ()
            Float_t getSlopeX()
            Float_t getSlopeY()
            Float_t getChi()
            Float_t getXError()
            Float_t getYError()
            Float_t getErrorSlope1()
            Float_t getErrorSlope2()
            Float_t getCovElement(Int_t i, Int_t j)
              Int_t isDel()
              Int_t getNumHits()
               void operator=(HMdcHitAux* other)
               void operator=(HMdcHitAux& other)
               void setPointX(Float_t x)
               void setPointY(Float_t y)
               void setPointZ(Float_t z)
               void setPoint(Float_t x, Float_t y, Float_t z)
               void setSlopeX(Float_t xSlope)
               void setSlopeY(Float_t ySlope)
               void setSlope(Float_t xSlope, Float_t ySlope)
               void setErrorX(Float_t xError)
               void setErrorY(Float_t yError)
               void setError(Float_t xError, Float_t yError)
               void setErrorSlopeX(Float_t error)
               void setErrorSlopeY(Float_t error)
               void setErrorSlope(Float_t xerror, Float_t yerror)
               void setCovElement(Int_t i, Int_t j, Float_t ele)
               void setChi(Float_t chiSq)
               void setHits(Int_t nHits)
               void setDel()
               void notDel()
               void used()
               void notUsed()
              Int_t getIsUsed()
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)


Author: Beatriz Fuentes Arenaz
Last update: 11/06/98 by Beatriz Fuentes
Copyright GENP (Univ. Santiago de Compostela)


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.