]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FMD/AliFMDAlignFaker.h
Removing AliHLTPHOSRawAnalyzerChiSquareFit/h/cxx
[u/mrichter/AliRoot.git] / FMD / AliFMDAlignFaker.h
index ef6d90c44b0aace8e15cb0bfce1fa2ae143863cd..691f6609b0cb075933bb333327c2e1565ceff549 100644 (file)
@@ -60,7 +60,7 @@ public:
       @param loc  Where to store the result */
   AliFMDAlignFaker(Int_t mask=kAll, 
                   const char* geo="geometry.root",
-                  const char* loc="local://cdb");
+                  const char* loc="");
   /** Destructor */
   virtual ~AliFMDAlignFaker() {}
   /** Add something to make alignment for 
@@ -120,11 +120,31 @@ public:
   /** Set the file to read the geometry from. 
       @param file File name */
   void SetGeometryFile(const char* file) { SetName(file); }
+  /** Set the comment  */ 
+  void SetComment(const Char_t* comment="dummy data") { fComment = comment; }
   /** Make the alignment objects. 
       @param option Not used. */
   void Exec(Option_t* option="");
+  /** Get the geometry */
+  static Bool_t GetGeometry(Bool_t toCdb=kFALSE, 
+                           const TString& storage=TString());
 protected:
-  AliFMDAlignFaker(const AliFMDAlignFaker& o) : TTask(o) {}
+  AliFMDAlignFaker(const AliFMDAlignFaker& o) 
+    : TTask(o), 
+      fMask(0), 
+      fSensorTransMin(0,0,0),
+      fSensorTransMax(0,0,0),
+      fSensorRotMin(0,0,0),
+      fSensorRotMax(0,0,0),
+      fHalfTransMin(0,0,0),
+      fHalfTransMax(0,0,0),
+      fHalfRotMin(0,0,0),
+      fHalfRotMax(0,0,0),
+      fRunMin(0), 
+      fRunMax(0),
+      fArray(0),
+      fComment("")
+{}
   AliFMDAlignFaker& operator=(const AliFMDAlignFaker&) { return *this; }
   
   /** Make the alignment object for a path
@@ -152,7 +172,6 @@ protected:
   void   WriteToCDB();
   /** Write to file */
   void   WriteToFile();
-  
   Long_t        fMask;            // What to write 
   TVector3      fSensorTransMin;  // Minimum translations of a sensor
   TVector3      fSensorTransMax;  // Maximum translations of a sensor
@@ -165,6 +184,7 @@ protected:
   Int_t         fRunMin;          // Run validity start 
   Int_t         fRunMax;          // Run validity end
   TClonesArray* fArray;           // Cache
+  TString       fComment;         // Comment on data
   
   ClassDef(AliFMDAlignFaker,0)
 };