HMdcCal2Par
class description - source file - inheritance tree (.pdf)
public:
HMdcCal2Par(const char* name = "MdcCal2Par", const char* title = "cal2 calibration parameters for Mdc [time->distance]", const char* context = "MdcCal2ParSimProduction", Int_t n = 6)
HMdcCal2Par(const HMdcCal2Par&)
~HMdcCal2Par()
Double_t calcDistance(Int_t, Int_t, Double_t, Double_t)
void calcDistance(Int_t, Int_t, Double_t, Double_t, Double_t*, Double_t*)
Double_t calcDistanceErr(Int_t, Int_t, Double_t, Double_t)
static TClass* Class()
virtual void clear()
TString getContainerComment()
Int_t getNumberOfLines()
Int_t getSize()
virtual Bool_t init(HParIo*)
virtual TClass* IsA() const
HMdcCal2Par& operator=(const HMdcCal2Par&)
HMdcCal2ParSec& operator[](Int_t i)
void plot(Int_t, Int_t)
void plot2D(Int_t, Int_t, Int_t)
void printContainerComment()
void printParam()
void putAsciiHeader(TString&)
void setContainerComment(TString mycomment)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
virtual Int_t write(HParIo*)
Bool_t writeline(char*, Int_t, Int_t, Int_t)
protected:
TObjArray* array array of pointers of type HMdcCal2ParSec
HMdcDetector* fMdc
TString comment
Int_t sector
Int_t module
Int_t linecounter
Int_t linecounterwrite
Int_t type
HMdcCal2ParSim* cal2parsim
Float_t myslopeOutside
HMdcCal2Par
Container class for the calibration parameters from Cal1 to Cal2 of the MDC
time -> distance.Contains functions for calculating time ->distance for santiago track fitter
and Calibrater2 of Mdc
HMdcCal2Par(const char* name,const char* title,
const char* context,Int_t n)
: HParSet(name,title,context)
constructor
~HMdcCal2Par()
destructor
Bool_t init(HParIo* inp)
intitializes the container from an input
void plot(Int_t s,Int_t m)
plots data into TGraphErrors for distance including errors
void plot2D(Int_t s,Int_t m,Int_t type)
Plots data into 2d-Hists
type = 0 ->distance
type = 1 ->Error distance
Double_t calcDistance(Int_t s,Int_t m,Double_t a,Double_t time)
This function calculates the distance from sense wire for a given drift time.
A Interpolation between the two closest angle steps
is performed and the distance value returned.
Input is the angle of the track (alphaTrack:90 degree for perpendicular impact),which
has to be recalculated to the angle of minimum drift distance (alphaDrDist:0 degree for
perpendicular impact).
y ^
| |------------*----| cathod plane
| | cell * |
| | / * |
| | /90 * |
| | driftDist/ *|
| | / | *
--|--|--------*^-|-----|*---------> sense/potential plane
| | | | * x
| | alphaDrDist| *
| |/ * alphaDriftDist=90-alphaTrack
| alphaTrack / *
|-----------------| * track cathod plane
angles must be between 0 and 90 degree, all other angles have to be shifted
before calling the function.
Double_t calcDistanceErr(Int_t s,Int_t m,Double_t a,Double_t time)
This function calculates the Error of distance from sense wire for a given drift time.
A Interpolation between the two closest angle steps
is performed and the distance value returned.
Input is the angle of the track (alphaTrack:90 degree for perpendicular impact),which
has to be recalculated to the angle of minimum drift distance (alphaDrDist:0 degree for
perpendicular impact).
y ^
| |------------*----| cathod plane
| | cell * |
| | / * |
| | /90 * |
| | driftDist/ *|
| | / | *
--|--|--------*^-|-----|*---------> sense/potential plane
| | | | * x
| | alphaDrDist| *
| |/ * alphaDriftDist=90-alphaTrack
| alphaTrack / *
|-----------------| * track cathod plane
angles must be between 0 and 90 degree, all other angles have to be shifted
before calling the function.
void calcDistance(Int_t s,Int_t m,Double_t a,Double_t time
,Double_t*dist,Double_t*distErr)
This function calculates the distance from sense wire for a given drift time.
A Interpolation between the two closest angle steps
is performed and the distance value returned.
Input is the angle of the track (alphaTrack:90 degree for perpendicular impact),which
has to be recalculated to the angle of minimum drift distance (alphaDrDist:0 degree for
perpendicular impact).
y ^
| |------------*----| cathod plane
| | cell * |
| | / * |
| | /90 * |
| | driftDist/ *|
| | / | *
--|--|--------*^-|-----|*---------> sense/potential plane
| | | | * x
| | alphaDrDist| *
| |/ * alphaDriftDist=90-alphaTrack
| alphaTrack / *
|-----------------| * track cathod plane
angles must be between 0 and 90 degree, all other angles have to be shifted
before calling the function.
Distance and Error of Distance are returned to Float pointers
Int_t write(HParIo* output)
writes the container to an output
void putAsciiHeader(TString& header)
puts the ascii header to the string used in HMdcParAsciiFileIo
Bool_t writeline(char *buf, Int_t sec, Int_t mod, Int_t angle)
writes one line to the buffer used by ascii file I/O
void clear()
clears the container
void printParam()
prints the container
Inline Functions
HMdcCal2ParSec& operator[](Int_t i)
void setContainerComment(TString mycomment)
TString getContainerComment()
void printContainerComment()
Int_t getSize()
Int_t getNumberOfLines()
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
HMdcCal2Par HMdcCal2Par(const HMdcCal2Par&)
HMdcCal2Par& operator=(const HMdcCal2Par&)
Last update: Fri Jan 26 12:02:09 2007
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.