]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSAlignMille2Constraint.cxx
Coverity fix
[u/mrichter/AliRoot.git] / ITS / AliITSAlignMille2Constraint.cxx
index bdeec73ad0a78fba28919876f42520aba0ec3e57..97b34527b9ab056ab42537a7e0beb3db9468a6ec 100644 (file)
@@ -21,7 +21,8 @@ TNamed(),
 fType(kTypeMean),
 fVal(0),
 fModuleID(0),
-fApplied(0)
+fApplied(0),
+fPattern(0)
 {}
 
 //________________________________________________________________________________________________________
@@ -30,9 +31,9 @@ TNamed(name,""),
 fType(t),
 fVal(val),
 fModuleID(mdID),
-fApplied(0)
+fApplied(0),
+fPattern(pattern)
 {
-  SetPattern(pattern);
 }
 
 //________________________________________________________________________________________________________
@@ -41,7 +42,8 @@ TNamed(src),
 fType(src.fType),
 fVal(src.fVal),
 fModuleID(src.fModuleID),
-fApplied(src.fApplied)
+fApplied(src.fApplied),
+fPattern(src.fPattern)
 {/* DUMMY */} 
 
 //________________________________________________________________________________________________________
@@ -57,6 +59,7 @@ Bool_t AliITSAlignMille2Constraint::IncludesModPar(const AliITSAlignMille2Module
 //________________________________________________________________________________________________________
 void AliITSAlignMille2Constraint::Print(Option_t* ) const
 {
+  // print data
   printf("#%3d Constraint %s of type %d on module %d to value %+e\n",GetConstraintID(),GetName(),GetType(),GetModuleID(),GetValue());
   printf("Paremeters: ");
   for (int i=0;i<=8;i++) if (TestBit(0x1<<i)) printf("%d ",i); printf("\n");