1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
17 laser track clasification;
18 TCut cutFi("cutFi","abs((180*atan2(x1,x0)/pi-20)%60)<5");
19 TCut cutFi("cutFi","abs((180*atan2(x1,x0)/pi-20)%40)<5");
25 #include "TLinearFitter.h"
26 #include "AliTPCcalibLaser.h"
27 #include "AliExternalTrackParam.h"
28 #include "AliESDtrack.h"
29 #include "AliTPCTracklet.h"
32 #include "TTreeStream.h"
35 #include "TGraphErrors.h"
36 #include "AliTPCclusterMI.h"
37 #include "AliTPCseed.h"
38 #include "AliTracker.h"
39 #include "TClonesArray.h"
42 #include "TTreeStream.h"
47 ClassImp(AliTPCcalibLaser)
49 AliTPCcalibLaser::AliTPCcalibLaser():
57 AliTPCcalibLaser::AliTPCcalibLaser(const Text_t *name, const Text_t *title):
68 AliTPCcalibLaser::~AliTPCcalibLaser() {
74 void AliTPCcalibLaser::Process(AliESDtrack *track) {
78 // 1. Propagate track to the mirror radius
79 Float_t kRadius = 271.6;
80 if (!track->GetOuterParam()) return;
81 AliExternalTrackParam param(*(track->GetOuterParam()));
82 AliTracker::PropagateTrackTo(¶m,270.,0.0005,3,kTRUE);
83 AliTracker::PropagateTrackTo(¶m,kRadius,0.0005,0.1,kTRUE);
86 TTreeSRedirector *cstream = GetDebugStreamer();
90 param.GetPxPyPz(pxyz);
105 void AliTPCcalibLaser::Analyze(){
112 void AliTPCcalibLaser::Terminate(){