minor coding violations
authorgconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 9 Oct 2012 06:46:59 +0000 (06:46 +0000)
committergconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 9 Oct 2012 06:46:59 +0000 (06:46 +0000)
EMCAL/AliCaloCalibPedestal.cxx
EMCAL/AliEMCALSpaceFrame.cxx

index 65321ba..fc1609c 100644 (file)
@@ -515,9 +515,10 @@ void AliCaloCalibPedestal::WriteParametersToFile(const char *parameterFile)
 //_____________________________________________________________________
 Bool_t AliCaloCalibPedestal::AddInfo(AliCaloCalibPedestal *ped)
 {
-  ValidateProfiles(); // make sure histos/profiles exist
   // just do this for the basic histograms/profiles that get filled in ProcessEvent
   // may not have data for all modules, but let's just Add everything..
+  ValidateProfiles(); // make sure histos/profiles exist
+
   for (int i = 0; i < fModules; i++) {
     GetPedProfileLowGain(i)->Add( ped->GetPedProfileLowGain(i) );
     GetPedProfileHighGain(i)->Add( ped->GetPedProfileHighGain(i) );
@@ -526,7 +527,6 @@ Bool_t AliCaloCalibPedestal::AddInfo(AliCaloCalibPedestal *ped)
     GetPeakProfileLowGain(i)->Add( ped->GetPeakProfileLowGain(i) );
     GetPeakProfileHighGain(i)->Add( ped->GetPeakProfileHighGain(i) );
     GetPeakHighGainHisto(i)->Add( ped->GetPeakHighGainHisto(i) );
-
   }//end for nModules 
 
   // We should also copy other pieces of info: counters and parameters 
index b66815b..f9b859a 100644 (file)
@@ -136,6 +136,8 @@ AliEMCALSpaceFrame::AliEMCALSpaceFrame(const AliEMCALSpaceFrame &frame)
 //_____________________________________________________________________________
 void AliEMCALSpaceFrame::CreateGeometry()
 {
+  // create geometry
+  
   AliDebug(1,"Create CalFrame Geometry");
   //////////////////////////////////////Setup/////////////////////////////////////////
   TGeoVolume* top = gGeoManager->GetVolume("ALIC");