]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
In AliMUONAlignment, AliMUONAlignmentRecord:
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 28 Feb 2012 10:05:03 +0000 (10:05 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 28 Feb 2012 10:05:03 +0000 (10:05 +0000)
Adding ctors for Root IO - fixing coding conventions.
(Javier)

MUON/AliMUONAlignment.cxx
MUON/AliMUONAlignment.h
MUON/AliMUONAlignmentRecord.cxx
MUON/AliMUONAlignmentRecord.h

index 8c2572812775a09ee82cac2672820ab96c56301c..c873e92cb529ac7c1ed886994bc5c47480b14950 100644 (file)
@@ -103,6 +103,31 @@ AliMUONAlignment::AliMUONAlignment()
 
 }
 
+//_____________________________________________________________________
+AliMUONAlignment::AliMUONAlignment(TRootIOCtor* /*dummy*/)
+: TObject(),
+fBFieldOn(kFALSE),
+fStartFac(0.),
+fResCutInitial(0.),
+fResCut(0.),
+fMillepede(0),
+fTrack(0),
+fCluster(0),
+fTrackParam(0),
+fNGlobal(0),
+fNLocal(0),
+fNStdDev(0),
+fDetElemId(0),
+fDetElemNumber(0),
+fPhi(0.),
+fCosPhi(0.),
+fSinPhi(0.),
+fTrackRecord(),
+fTransform(0)
+{
+       /// Root IO constructor
+}
+
 //_____________________________________________________________________
 AliMUONAlignment::~AliMUONAlignment()
 {}
index ed518bab71cf014ed7ca8a60eed7289b63a5e9d7..6fe0c823a08a4cb8e5b75285a0d9d816615030a7 100644 (file)
@@ -32,6 +32,8 @@ class AliMUONAlignment:public TObject
 
   /// constructor
   AliMUONAlignment();
+       /// rootio constructor
+       AliMUONAlignment(TRootIOCtor* dummy);
 
   /// destructor
   virtual ~AliMUONAlignment();
index 13089b361cc339da278cbbe3d90721f42ba55afc..cbb63f32a97cde551b437d900923be46d23abd61 100644 (file)
@@ -73,11 +73,18 @@ void AliMUONAlignmentClusterRecord::Print( Option_t* ) const
 }
 
 //__________________________________________________________________________
-AliMUONAlignmentTrackRecord::AliMUONAlignmentTrackRecord( void ):
-  fClusterRecords (new TClonesArray( "AliMUONAlignmentClusterRecord", fSize ) ),
+AliMUONAlignmentTrackRecord::AliMUONAlignmentTrackRecord( TRootIOCtor* /*dummy*/ ):
+  fClusterRecords (0x0),
   fClusterCount( 0 )
   {}
 
+//__________________________________________________________________________
+AliMUONAlignmentTrackRecord::AliMUONAlignmentTrackRecord( void ):
+fClusterRecords (new TClonesArray( "AliMUONAlignmentClusterRecord", fSize ) ),
+fClusterCount( 0 )
+{}
+
+
 //__________________________________________________________________________
 AliMUONAlignmentTrackRecord::AliMUONAlignmentTrackRecord( const AliMUONAlignmentTrackRecord& other ):
   TObject(other),
index 7ee29b3afa3f1d5ac5429c42fa7883bd0a18df71..1ed2d238b70ea15fe81352d078a94767b3adab5b 100644 (file)
@@ -137,6 +137,9 @@ class AliMUONAlignmentTrackRecord:public TObject
 
 public:
 
+       /// constructor
+  AliMUONAlignmentTrackRecord(TRootIOCtor* dummy);
+       
   /// constructor
   AliMUONAlignmentTrackRecord( void );