]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Removing eff c++ warnings
authorpanos <panos@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 12 Apr 2007 15:37:57 +0000 (15:37 +0000)
committerpanos <panos@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 12 Apr 2007 15:37:57 +0000 (15:37 +0000)
PWG2/FLOW/AliFlowMaker.cxx
PWG2/FLOW/AliFlowWeighter.cxx

index 8e5b5268716099e3f805dde33fcf3b96f5749471..e041be941436f4f9a8e61caf42e309413984db25 100644 (file)
@@ -46,42 +46,22 @@ using namespace std; //required for resolving the 'cout' symbol
 ClassImp(AliFlowMaker) 
 //-----------------------------------------------------------------------
 AliFlowMaker::AliFlowMaker():
+  fEventNumber(0), fTrackNumber(0), fV0Number(0), fGoodTracks(0), fGoodV0s(0),
+  fGoodTracksEta(0), fPosiTracks(0), fNegaTracks(0), fUnconstrained(0),
+  fSumAll(0), fCutEvts(0), fCutTrks(0), fCutV0s(0), fNewAli(kFALSE), 
+  fLoopTrks(kTRUE), fLoopV0s(kTRUE), fCounter(0), 
   fESD(0x0), fTrack(0x0), fV0(0x0), fVertex(0x0),
-  fFlowEvent(0x0), fFlowTrack(0x0), fFlowV0(0x0)
+  fRunID(0), fNumberOfEvents(0), fNumberOfTracks(0), 
+  fNumberOfV0s(0), fMagField(0), 
+  fFlowEvent(0x0), fFlowTrack(0x0), fFlowV0(0x0),
+  fNHits(0), fElow(0.001), fEup(1000.)
 {
  // default constructor 
  // resets counters , sets defaults
  
- fNewAli = kFALSE ;
- // flags
- fLoopTrks = kTRUE ;
- fLoopV0s = kTRUE ;    
- fCounter = 0 ; 
- // loop variable
- fRunID = 0 ;       
- fEventNumber = 0 ; 
- fTrackNumber = 0 ; 
- fV0Number = 0 ;    
- fEventNumber = 0 ;
- fNumberOfTracks = 0 ;
- fNumberOfV0s = 0 ; 
- fMagField = 0. ;
- // counters
- fGoodTracks = 0  ;  
- fGoodV0s    = 0  ;    
- fGoodTracksEta = 0  ;
- fPosiTracks = 0  ;  
- fNegaTracks = 0  ;  
- fUnconstrained = 0  ;
- fCutEvts    = 0  ;    
- fCutTrks    = 0  ;    
- fCutV0s     = 0  ;
  for(Int_t bb=0;bb<5;bb++) { fBayesianAll[bb] = 0 ; } ;
- fSumAll = 0  ; 
 
  // trak cuts
- fNHits = 0 ;                  
- fElow = 0.001 ; fEup = 1000. ;   
  fLabel[0] = 0 ; fLabel[1] = -1 ;
 }
 //-----------------------------------------------------------------------
index 76d1c37a8056b2856db98dceaa03239429ddea60..f56f6c09dce49f35df7f417ec3bc66911643a323 100644 (file)
@@ -54,8 +54,9 @@ using namespace std; //required for resolving the 'cout' symbol
 ClassImp(AliFlowWeighter) 
 //-----------------------------------------------------------------------
 AliFlowWeighter::AliFlowWeighter(const AliFlowSelection* flowSelect):
+  fEventNumber(0), fTrackNumber(0), fNumberOfV0s(0), fNumberOfTracks(0), fPhiBins(0), fPhiMin(0.), fPhiMax(0.), 
   fFlowEvent(0x0), fFlowTrack(0x0), fFlowSelect(0x0), fFlowTracks(0x0),
-  fWgtFile(0x0), fPhiWgtHistList(0x0)
+  fWgtFile(0x0), fWgtFileName("flowPhiWgt.hist.root"), fPhiWgtHistList(0x0)
 {
  // default constructor (selection given or default selection)
 
@@ -63,8 +64,7 @@ AliFlowWeighter::AliFlowWeighter(const AliFlowSelection* flowSelect):
  else          { fFlowSelect = new AliFlowSelection() ; }
  
  // output file (histograms)
- fWgtFileName = "flowPhiWgt.hist.root" ;
- fWgtFile     = 0 ;
+ //fWgtFile     = 0 ;
 }
 //-----------------------------------------------------------------------
 AliFlowWeighter::~AliFlowWeighter()