#include "AliRoot/ADCStreamSource.hpp"
#include "AliRoot/Base.hpp"
#include "TSystem.h"
-#include "stdio.h"
+#include <stdio.h>
// TODO: Change all the Error message statements to AliError at some stage.
}
-void ADCStreamSource::Clear()
+void ADCStreamSource::Clear(Option_t* /*option*/)
{
fCurrentStream = -1;
fList.erase( fList.begin(), fList.end() );
/* Clears all the internal arrays.
*/
- void Clear();
+ virtual void Clear(Option_t* option = "");
// Get methods.
Int_t CurrentStream() const { return fCurrentStream; };
}
-void ClusterSource::Clear()
+void ClusterSource::Clear(Option_t* /*option*/)
{
fFilename = "";
fFoldername = "";
ResetAllPointers();
- fEventList.Clear("C");
+ fEventList.Delete();
}
};
-Bool_t ClusterSource::InFillRegion(Float_t x, Float_t y)
+Bool_t ClusterSource::InFillRegion(Float_t x, Float_t /*y*/)
{
switch (fAreaToUse)
{
/* Clears all the internal arrays.
*/
- void Clear();
+ virtual void Clear(Option_t* option = "");
// Get methods.
TString FileName() const { return fFilename; };
};
- virtual void NoTrackFound(Tracking::Tracker* tracker)
+ virtual void NoTrackFound(Tracking::Tracker* /*tracker*/)
{
DebugMsg(2, "NoTrackFound");
// Again nothing special to do here. The allocated memory is released
};
+#ifdef DEBUG
void MicrodHLT::DebugLevel(Int_t value)
{
- DebugCode( dHLT::DebugLevel = value );
+ dHLT::DebugLevel = value;
};
+#else // DEBUG
+void MicrodHLT::DebugLevel(Int_t /*value*/) {}
+#endif // DEBUG
Int_t MicrodHLT::DebugLevel()
}
-void TrackSink::Clear()
+void TrackSink::Clear(Option_t* /*option*/)
{
fFilename = "";
fFoldername = "";
/* Clears all the internal arrays.
*/
- void Clear();
+ virtual void Clear(Option_t* option = "");
// Get methods for file and folder names.
TString FileName() const { return fFilename; }
TriggerSource::~TriggerSource()
{
- fEventList.Clear("C");
+ fEventList.Delete();
}
}
-void TriggerSource::Clear()
+void TriggerSource::Clear(Option_t* /*option*/)
{
fFilename = "";
fFoldername = "";
TriggerSource::EventData::~EventData()
{
- fBlocks.Clear("C");
+ //fBlocks.Clear("C"); // Done in fBlocks destructor
}
/* Clears all the internal arrays.
*/
- void Clear();
+ virtual void Clear(Option_t* option = "");
// Get methods.
TString FileName() const { return fFilename; };
#include "RegionOfInterest.hpp"
-#ifdef DEBUG
+#if defined(DEBUG) || (defined(USE_ALILOG) && ! defined(LOG_NO_DEBUG))
#include <ostream>
#include "Debug/print.hpp"
namespace
of interests. Refer to MansoFilter() for details about a and b parameters.
*/
static Float GetA7() { return a7; };
- static void SetA7(Float value) { a7 = a7; };
+ static void SetA7(Float value) { a7 = value; };
static Float GetA8() { return a8; };
static void SetA8(Float value) { a8 = value; };
static Float GetA9() { return a9; };
# define DebugMsg(level, message) \
{ \
__DebugMsg_PREECODE__(message) \
- AliDebug(level, os.str()); \
+ AliDebugGeneral("dHLT", level, os.str().c_str()); \
}
#else // USE_ALILOG