X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=T0%2FAliT0Align.cxx;h=a5ac69d84d318319db0e5a02ed7c88ea17cf9d3f;hb=d35d51b7d6b52747f7a9e59dac84ac9f7ee43d5b;hp=d846e7a85a5fd709d6e23df5315488c0225f8ca6;hpb=a4c640e15e5a6d358ab4644522029774cca7d961;p=u%2Fmrichter%2FAliRoot.git diff --git a/T0/AliT0Align.cxx b/T0/AliT0Align.cxx index d846e7a85a5..a5ac69d84d3 100644 --- a/T0/AliT0Align.cxx +++ b/T0/AliT0Align.cxx @@ -13,14 +13,16 @@ * provided "as is" without express or implied warranty. * **************************************************************************/ -// Class creating the T0 aligmnent objects from the surveys. +/* +$Log: AliT0Align.cxx,v $ + Revision 2008/01/30 +Removing code violations -// -// Creates the T0 align object -// + Version 1.1 2006/10 +Preliminary test version (T.Malkiewicz) +*/ #include "AliT0Align.h" -// #include "TROOT.h" #include "Riostream.h" #include "TFile.h" @@ -33,19 +35,28 @@ #include #include "AliLog.h" #include "AliCDBManager.h" +#include "AliSurveyPoint.h" + +// Class creating the T0 aligmnent objects +// from the surveys done by surveyers at Point2. +// Survey results are fetched from +// Survey Depot, based on survey results +// position of T0 alignment objects is computed. + ClassImp(AliT0Align) AliT0Align::AliT0Align() : TObject(), + fFileGlob(0x0), fT0AAlignObj(0x0), fT0CAlignObj(0x0), - fFileGlob(0x0), + fDebug(0), fXPos(0.), fYPos(0.), - fDebug(0), fRepLoc(0) -{ + + { // // default constructor // @@ -53,12 +64,12 @@ AliT0Align::AliT0Align() : //________________________________________________________________________ AliT0Align::AliT0Align(Int_t reportloc, Int_t reportglob) : TObject(), + fFileGlob(0x0), fT0AAlignObj(0x0), fT0CAlignObj(0x0), - fFileGlob(0x0), + fDebug(0), fXPos(0.), fYPos(0.), - fDebug(0), fRepLoc(0) { // @@ -77,12 +88,12 @@ AliT0Align::AliT0Align(Int_t reportloc, Int_t reportglob) : //_________________________________________________________________________ AliT0Align::AliT0Align(const AliT0Align &align) : TObject(), + fFileGlob(0x0), fT0AAlignObj(0x0), fT0CAlignObj(0x0), - fFileGlob(0x0), + fDebug(0), fXPos(0.), fYPos(0.), - fDebug(0), fRepLoc(0) { // @@ -177,12 +188,12 @@ Double_t AliT0Align::ComputePosition() { // Float_t fZPos, shift; // fZPos = surveyedPoints[3] - shift; - + return 0; } //_______________________________________________________________________ void AliT0Align::CreateAlignObj(){ // - TClonesArray *array = new TClonesArray("AliAlignObjParams",2); + // TClonesArray *array = new TClonesArray("AliAlignObjParams",2); // TClonesArray &alobj = *array; @@ -216,6 +227,9 @@ void AliT0Align::Run(){ void AliT0Align::StoreAlignObj() { + // + // Storing T0 alignment objects + // AliCDBManager* cdb = AliCDBManager::Instance(); if(!cdb->IsDefaultStorageSet()) cdb->SetDefaultStorage("local://$ALICE_ROOT"); //