]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSv11GeomCable.h
Remove some of the bkg calc alterantives; add switch for histos for time calibration...
[u/mrichter/AliRoot.git] / ITS / AliITSv11GeomCable.h
index 8c1cb5556ababe7b9ef434f93a066765985c4a16..5915fcad680ae016833a8066209e086c6192ff21 100644 (file)
@@ -21,11 +21,8 @@ class TGeoNode;
 class AliITSv11GeomCable : public TNamed {
 
  public:
-  AliITSv11GeomCable()
-    { fInitialNode = 0; fPointArray.SetOwner(); fDebug=0; };
+  AliITSv11GeomCable();
   AliITSv11GeomCable(const char* name);
-  AliITSv11GeomCable(const AliITSv11GeomCable &source);
-  AliITSv11GeomCable& operator=(const AliITSv11GeomCable &source);
 
   virtual ~AliITSv11GeomCable();
   void SetDebug(Int_t debug = 1) {fDebug = debug;};
@@ -49,7 +46,9 @@ class AliITSv11GeomCable : public TNamed {
   void ResetPoints();
 
  protected:
-  bool     CheckDaughter(TGeoNode* node, Int_t i = 0);
+  AliITSv11GeomCable(const AliITSv11GeomCable &source);
+  AliITSv11GeomCable& operator=(const AliITSv11GeomCable &source);
+  bool     CheckDaughter(const TGeoNode* node, Int_t i = 0);
   void     ResetCheckDaughter();
   void     CopyFrom(Double_t *c, const Double_t *o) const;
   Double_t ScalProd(const Double_t *a, const Double_t *b) const;
@@ -68,19 +67,19 @@ class AliITSv11GeomCable : public TNamed {
 };
 
 inline Int_t AliITSv11GeomCable::GetNCheckPoints() const{
-  return fVolumeArray.GetEntriesFast(); };
+  return fVolumeArray.GetEntriesFast(); }
 
 inline void AliITSv11GeomCable::ResetCheckDaughter() {
-  for (Int_t i=0; i<fgkCableMaxNodeLevel; i++) fNodeInd[i] = -1; };
+  for (Int_t i=0; i<fgkCableMaxNodeLevel; i++) fNodeInd[i] = -1; }
 
 inline void AliITSv11GeomCable::CopyFrom(Double_t *c, const Double_t *o)
-const { *(c++)=*(o++); *(c++)=*(o++); *c=*o; };
+const { *(c++)=*(o++); *(c++)=*(o++); *c=*o; }
 
 inline Double_t AliITSv11GeomCable::ScalProd(const Double_t *a,
                                                const Double_t *b) const {
   Double_t s = *(a++)*(*(b++)); s+=*(a++)*(*(b++)); s+=*a*(*b);
   return s;
-};
+}