]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Compiler Warning removed
authorskowron <skowron@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 15 Feb 2004 17:23:22 +0000 (17:23 +0000)
committerskowron <skowron@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 15 Feb 2004 17:23:22 +0000 (17:23 +0000)
HBTAN/AliHBTLLWeights.cxx
HBTAN/AliHBTLLWeights.h

index 92e514364fb195ef43a894637a4c1456867caeb0..347eb01f3993bba46b962ee8831d422c5b28d355 100644 (file)
@@ -192,6 +192,8 @@ AliHBTLLWeights::AliHBTLLWeights():
  fSigma(0.0)
 {
 // Default Constructor 
+  if (fgLLWeights)
+   Fatal("AliHBTLLWeights","LLWeights already instatiated. Use AliHBTLLWeights::Instance()");
 }
 /**************************************************************/
 
index 0508539f5dfef5b96f44dac9bbfdeb235c8d0135..fe1ff8c2969793b524f1af77f93a4a92a1fc90ba 100644 (file)
@@ -15,8 +15,10 @@ class AliHBTPair;
 class AliHBTLLWeights: public AliHBTWeights
  {
    public:
+     AliHBTLLWeights();
      virtual ~AliHBTLLWeights(){;}
      static AliHBTLLWeights* Instance();
+     
      void Set();
      
      Double_t GetWeight(const AliHBTPair* partpair); //get weight calculated by Lednicky's algorithm
@@ -66,7 +68,6 @@ class AliHBTLLWeights: public AliHBTWeights
      static Int_t GetPairCode(const AliHBTPair* partpair);//calculate automatically internal code 
 
    private:
-     AliHBTLLWeights();
      AliHBTLLWeights(const AliHBTLLWeights &/*source*/);
      AliHBTLLWeights & operator=(const AliHBTLLWeights& /*source*/);