]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
effC++ and warnings
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 5 Apr 2007 10:21:58 +0000 (10:21 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 5 Apr 2007 10:21:58 +0000 (10:21 +0000)
HLT/BASE/AliHLTComponent.cxx
HLT/BASE/AliHLTSystem.h
HLT/TPCLib/AliHLTTPCVertex.cxx

index 1d5b7e23feef74ac98459ea4d71db9510e2e53c3..7bd5211001827a407b986dc7b57cdb546f1ea7ab 100644 (file)
@@ -65,6 +65,7 @@ AliHLTComponent::AliHLTComponent()
 
 AliHLTComponent::AliHLTComponent(const AliHLTComponent&)
   :
+  AliHLTLogging(),
   fEnvironment(),
   fCurrentEvent(0),
   fEventCount(-1),
index 7257be9954d2ba8202b94a3874dada4ec2d877c7..b97387c28bac1dd21e91402c6fe937f3f512d1cf 100644 (file)
@@ -249,7 +249,7 @@ class AliHLTSystem : public AliHLTLogging {
    */
   int BuildTaskListsFromTopConfigurations(AliRunLoader* runloader=NULL);
 
-  enum {
+  enum AliHLTSystemState_t {
     kUninitialized       = 0x0,
     kLibrariesLoaded     = 0x1,
     kConfigurationLoaded = 0x2,
@@ -257,7 +257,7 @@ class AliHLTSystem : public AliHLTLogging {
     kReady               = 0x7,
     kRunning             = 0x8,
     kError               = 0x1000
-  } AliHLTSystemState_t ;
+  };
 
   /**
    * Check status of the system.
index 9da716807cb7edd529dd9e2531399ae76da5dc07..adc39226e530e229b67a9369405ec774684cfa54 100644 (file)
 
 ClassImp(AliHLTTPCVertex)
 
-AliHLTTPCVertex::AliHLTTPCVertex(){
+AliHLTTPCVertex::AliHLTTPCVertex()
+  :
+  fX(0.0),
+  fY(0.0),  
+  fZ(0.0),  
+  fPhi(0.0),
+  fR(0.0),  
+  fXErr(1.0),
+  fYErr(1.0),
+  fZErr(1.0),
+  fMWxy(1.0)
+{
   //
   // default constructor for the AliHLTTPCVertex class. 
   //
@@ -28,7 +39,8 @@ AliHLTTPCVertex::AliHLTTPCVertex(){
   SetZero();  
 }
 
-AliHLTTPCVertex::~AliHLTTPCVertex(){
+AliHLTTPCVertex::~AliHLTTPCVertex()
+{
   //
   // destructor
   //
@@ -61,4 +73,3 @@ void AliHLTTPCVertex::Read(const AliHLTTPCVertexData *vertex)
   fPhi=0;
   fMWxy = 1.;
 }
-