* provided "as is" without express or implied warranty. *
**************************************************************************/
-/*
-$Log$
-Revision 1.3 2000/11/02 10:22:50 kowal2
-Logs added
-
-*/
-
-/*
- Author : MI
- macro to compare TClonesArray hits with interpolated hits
- ConvertHits1 read
-*/
+/// \class TestTPCTrackHits
+/// Macro to compare TClonesArray hits with interpolated hits
+/// ConvertHits1 read
+///
+/// \author MI
#include "alles.h"
#include "AliObjectArray.h"
#include "AliArrayBranch.h"
#include "TestTPCTrackHits.h"
+/// \cond CLASSIMP
ClassImp(AliTPChitD)
+/// \endcond
void CompareHits(TClonesArray * arr, AliTPCTrackHits * myhits, Bool_t debug, TClonesArray *arrd=0);
AliTPCTrackHits * MakeTrack(TClonesArray * arr, TClonesArray * arrp, AliTPCTrackHits *myhits);
void ConvertHits(const char * benchmark, Bool_t debug)
{
- //
- //convert - not parametrised hits stored in Clones array
- //to
+ /// convert - not parametrised hits stored in Clones array
+ /// to
TFile f("galice.root","update");
TClonesArray *arr = new TClonesArray("AliTPChit",100);
void CompareHits(const char * benchmark, Bool_t debug)
{
- //compare persistent hits
+ /// compare persistent hits
+
TFile f2("treeh.root");
TTree * treeh2 = (TTree*)f2.Get("TreeTPCH");
AliTPCTrackHits * myhits = new AliTPCTrackHits ;
void CompareHitsG(const char * benchmark, Bool_t debug)
{
- //compare persistent hits
+ /// compare persistent hits
+
TFile f2("galice.root");
TTree * treeh2 = (TTree*)f2.Get("TreeH0");
AliTPCTrackHits * myhits = new AliTPCTrackHits ;
AliTPCTrackHits * MakeTrack(TClonesArray * arr, TClonesArray * arrp, AliTPCTrackHits *myhits)
{
- //
- //make track wit hits according
+ /// make track wit hits according
+
AliTPChit * hit;
// AliTPCTrackHits * myhits= new AliTPCTrackHits;
myhits->SetHitPrecision(0.002);
void CompareHits(TClonesArray * arr, AliTPCTrackHits * myhits, Bool_t debug, TClonesArray *arrd)
{
- //
- // if debug option kTRUE
- // compare hits and write result to the stdoutput
+ /// if debug option kTRUE
+ /// compare hits and write result to the stdoutput
+
AliTPChit * hit, *hit2;
if (arrd) arrd->Clear();
Double_t fSumX4, Int_t n,
Double_t &a, Double_t &b, Double_t &c)
{
- //
- //recalc parameters not fixing origin point
+ /// recalc parameters not fixing origin point
+
Double_t det =
n* (fSumX2*fSumX4-fSumX3*fSumX3) -
fSumX* (fSumX*fSumX4-fSumX3*fSumX2)+