return pObj;
}
-TObject* AliHLTComponent::GetInputObject(int idx, const char* classname, int bForce)
+TObject* AliHLTComponent::GetInputObject(int idx, const char* /*classname*/, int bForce)
{
// see header file for function documentation
if (fpInputObjects==NULL) {
AliHLTComponentHandler::AliHLTComponentHandler(AliHLTComponentEnvironment* pEnv)
:
+ AliHLTLogging(),
fComponentList(),
fScheduleList(),
fLibraryList(),
AddStandardComponents();
}
-AliHLTComponentHandler::AliHLTComponentHandler(const AliHLTComponentHandler&)
- :
- fComponentList(),
- fScheduleList(),
- fLibraryList(),
- fEnvironment(),
- fStandardList()
-{
- // see header file for class documentation
- HLTFatal("copy constructor untested");
-}
-
-AliHLTComponentHandler& AliHLTComponentHandler::operator=(const AliHLTComponentHandler&)
-{
- // see header file for class documentation
- HLTFatal("assignment operator untested");
- return *this;
-}
-
AliHLTComponentHandler::~AliHLTComponentHandler()
{
// see header file for class documentation
AliHLTComponentHandler();
/** constructor */
AliHLTComponentHandler(AliHLTComponentEnvironment* pEnv);
- /** not a valid copy constructor, defined according to effective C++ style */
- AliHLTComponentHandler(const AliHLTComponentHandler&);
- /** not a valid assignment op, but defined according to effective C++ style */
- AliHLTComponentHandler& operator=(const AliHLTComponentHandler&);
/** destructor */
virtual ~AliHLTComponentHandler();
protected:
private:
+ /** copy constructor prohibited */
+ AliHLTComponentHandler(const AliHLTComponentHandler&);
+ /** assignment operator prohibited */
+ AliHLTComponentHandler& operator=(const AliHLTComponentHandler&);
+
/**
* Find a component.
* @param componentID ID of the component to find
segment++;
}
// check whether there was enough space for the segments
- if (i!=tgtList.size()) {
+ if (i!=(int)tgtList.size()) {
HLTError("too little space in block descriptor array: required %d, available %d", tgtList.size(), iArraySize);
iResult=-ENOSPC;
} else {
}
int AliHLTDataSink::DumpEvent( const AliHLTComponentEventData& evtData,
- const AliHLTComponentBlockData* blocks,
+ const AliHLTComponentBlockData* /*blocks*/,
AliHLTComponentTriggerData& trigData )
{
// we just forward to the high level method, all other parameters already
return DumpEvent(evtData, trigData);
}
-int AliHLTDataSink::DumpEvent( const AliHLTComponentEventData& evtData, AliHLTComponentTriggerData& trigData)
+int AliHLTDataSink::DumpEvent( const AliHLTComponentEventData& /*evtData*/, AliHLTComponentTriggerData& /*trigData*/)
{
HLTFatal("no processing method implemented");
return -ENOSYS;
}
int AliHLTDataSource::GetEvent( const AliHLTComponentEventData& evtData,
- AliHLTComponentTriggerData& trigData,
- AliHLTUInt8_t* outputPtr,
- AliHLTUInt32_t& size,
- vector<AliHLTComponentBlockData>& outputBlocks )
+ AliHLTComponentTriggerData& trigData,
+ AliHLTUInt8_t* /*outputPtr*/,
+ AliHLTUInt32_t& /*size*/,
+ vector<AliHLTComponentBlockData>& /*outputBlocks*/ )
{
// we just forward to the high level method, all other parameters already
// have been stored internally
return GetEvent(evtData, trigData);
}
-int AliHLTDataSource::GetEvent( const AliHLTComponentEventData& evtData, AliHLTComponentTriggerData& trigData)
+int AliHLTDataSource::GetEvent( const AliHLTComponentEventData& /*evtData*/, AliHLTComponentTriggerData& /*trigData*/)
{
HLTFatal("no processing method implemented");
return -ENOSYS;
return -fErrno;
}
-Int_t AliHLTMemoryFile::SysOpen(const char *pathname, Int_t flags, UInt_t mode)
+Int_t AliHLTMemoryFile::SysOpen(const char* /*pathname*/, Int_t /*flags*/, UInt_t /*mode*/)
{
// see header file for function documentation
if (fpBuffer==NULL || fSize==0) return 1;
return -1;
}
-Int_t AliHLTMemoryFile::SysClose(Int_t fd)
+Int_t AliHLTMemoryFile::SysClose(Int_t /*fd*/)
{
// see header file for function documentation
//HLTDebug("closing file %p size %d", this, fSize);
return 0;
}
-Int_t AliHLTMemoryFile::SysRead(Int_t fd, void *buf, Int_t len)
+Int_t AliHLTMemoryFile::SysRead(Int_t /*fd*/, void *buf, Int_t len)
{
// see header file for function documentation
if (buf==NULL) return 0;
return read;
}
-Int_t AliHLTMemoryFile::SysWrite(Int_t fd, const void *buf, Int_t len)
+Int_t AliHLTMemoryFile::SysWrite(Int_t /*fd*/, const void *buf, Int_t len)
{
// see header file for function documentation
if (buf==NULL) return 0;
return -1;
}
-Long64_t AliHLTMemoryFile::SysSeek(Int_t fd, Long64_t offset, Int_t whence)
+Long64_t AliHLTMemoryFile::SysSeek(Int_t /*fd*/, Long64_t offset, Int_t whence)
{
// see header file for function documentation
//HLTDebug("seek %d from %d", offset, whence);
return position;
}
-Int_t AliHLTMemoryFile::SysStat(Int_t fd, Long_t *id, Long64_t *size, Long_t *flags, Long_t *modtime)
+Int_t AliHLTMemoryFile::SysStat(Int_t /*fd*/, Long_t */*id*/, Long64_t *size, Long_t */*flags*/, Long_t */*modtime*/)
{
// see header file for function documentation
if (size) *size=fSize;
return 0;
}
-Int_t AliHLTMemoryFile::SysSync(Int_t fd)
+Int_t AliHLTMemoryFile::SysSync(Int_t /*fd*/)
{
// see header file for function documentation
return 0;
return fpRawReader!=NULL?fpRawReader:fgpRawReader;
}
-int AliHLTOfflineInterface::SetESD(Int_t eventNo, AliESDEvent* pESD)
+int AliHLTOfflineInterface::SetESD(Int_t /*eventNo*/, AliESDEvent* pESD)
{
fpESD=pESD;
return 0;
}
int AliHLTProcessor::DoEvent( const AliHLTComponentEventData& evtData,
- const AliHLTComponentBlockData* blocks,
- AliHLTComponentTriggerData& trigData,
- AliHLTUInt8_t* outputPtr,
- AliHLTUInt32_t& size,
- vector<AliHLTComponentBlockData>& outputBlocks )
+ const AliHLTComponentBlockData* /*blocks*/,
+ AliHLTComponentTriggerData& trigData,
+ AliHLTUInt8_t* /*outputPtr*/,
+ AliHLTUInt32_t& /*size*/,
+ vector<AliHLTComponentBlockData>& /*outputBlocks*/ )
{
// we just forward to the high level method, all other parameters already
// have been stored internally
return DoEvent(evtData, trigData);
}
-int AliHLTProcessor::DoEvent( const AliHLTComponentEventData& evtData, AliHLTComponentTriggerData& trigData)
+int AliHLTProcessor::DoEvent( const AliHLTComponentEventData& /*evtData*/, AliHLTComponentTriggerData& /*trigData*/)
{
HLTFatal("no processing method implemented");
return -ENOSYS;
}
int AliHLTAgentUtil::CreateConfigurations(AliHLTConfigurationHandler* handler,
- AliRunLoader* runloader) const
+ AliRunLoader* /*runloader*/) const
{
// see header file for class documentation
if (handler) {
return 0;
}
-const char* AliHLTAgentUtil::GetLocalRecConfigurations(AliRunLoader* runloader) const
+const char* AliHLTAgentUtil::GetLocalRecConfigurations(AliRunLoader* /*runloader*/) const
{
// see header file for class documentation
return NULL;
/**
* Notification callback for AliRoot logging methods
*/
-void LogNotification(AliLog::EType_t level, const char* message)
+void LogNotification(AliLog::EType_t /*level*/, const char* /*message*/)
{
// Notification callback for AliRoot logging methods
return iResult;
}
-int AliHLTLoaderPublisherComponent::GetEvent(const AliHLTComponentEventData& evtData,
- AliHLTComponentTriggerData& trigData)
+int AliHLTLoaderPublisherComponent::GetEvent(const AliHLTComponentEventData& /*evtData*/,
+ AliHLTComponentTriggerData& /*trigData*/)
{
// see header file for class documentation
int iResult=0;
return iResult;
}
-int AliHLTRootFileStreamerComponent::DoEvent( const AliHLTComponentEventData& evtData,
+int AliHLTRootFileStreamerComponent::DoEvent( const AliHLTComponentEventData& /*evtData*/,
AliHLTComponentTriggerData& /*trigData*/ )
{
// see header file for class documentation
}
int AliHLTTPCAgent::CreateConfigurations(AliHLTConfigurationHandler* handler,
- AliRunLoader* runloader) const
+ AliRunLoader* /*runloader*/) const
{
// see header file for class documentation
if (handler) {
return 0;
}
-const char* AliHLTTPCAgent::GetLocalRecConfigurations(AliRunLoader* runloader) const
+const char* AliHLTTPCAgent::GetLocalRecConfigurations(AliRunLoader* /*runloader*/) const
{
// see header file for class documentation
return NULL;
fAltroBlock10BitWordCnt(0),
fAltroBlock10BitFillWordCnt(0),
fDataFormatVersion(formatVersion),
- fVerify(false),
fBunchPosition(0xFFFFU),
fBunchTimebinStart(~0U),
fBunchLength(0),
fWordInBunch((unsigned)-1),
+ fVerify(false),
fCurrentRow(0),
fCurrentPad(0),
}
}
-AliHLTTPCDigitReaderRaw::AliHLTTPCDigitReaderRaw(const AliHLTTPCDigitReaderRaw& src)
- :
- fBuffer(NULL),
- fBufferSize(0),
- fPatch(-1),
- fSlice(-1),
- fRow(-1),
- fPad(-1),
- fAltroBlockPositionBytes(0),
- fAltroBlockLengthBytes(0),
- fAltroBlockHWAddress(0),
- fAltroBlock10BitWordCnt(0),
- fAltroBlock10BitFillWordCnt(0),
- fDataFormatVersion(src.fDataFormatVersion),
- fVerify(false),
- fBunchPosition(0xFFFFU),
- fBunchTimebinStart(~0U),
- fBunchLength(0),
- fWordInBunch((unsigned)-1),
-
- fCurrentRow(0),
- fCurrentPad(0),
- fCurrentBin(-1),
- fRowOffset(0),
- fNRows(0),
- fNMaxRows(0),
- fNMaxPads(0),
- fNTimeBins(0),
- fData(NULL),
- fMapErrThrown(0)
-{
- // see header file for class documentation
-#ifndef HAVE_TPC_MAPPING
- memset(fgMapping0, 0, fgkMapping0Size*fgkMappingDimension*sizeof(Int_t));
- memset(fgMapping1, 0, fgkMapping1Size*fgkMappingDimension*sizeof(Int_t));
- memset(fgMapping2, 0, fgkMapping2Size*fgkMappingDimension*sizeof(Int_t));
- memset(fgMapping3, 0, fgkMapping3Size*fgkMappingDimension*sizeof(Int_t));
- memset(fgMapping4, 0, fgkMapping4Size*fgkMappingDimension*sizeof(Int_t));
- memset(fgMapping5, 0, fgkMapping5Size*fgkMappingDimension*sizeof(Int_t));
-#endif //#ifndef HAVE_TPC_MAPPING
- HLTFatal("copy constructor not for use");
-}
-
-AliHLTTPCDigitReaderRaw& AliHLTTPCDigitReaderRaw::operator=(const AliHLTTPCDigitReaderRaw& src)
-{
- // see header file for class documentation
-#ifndef HAVE_TPC_MAPPING
- memset(fgMapping0, 0, fgkMapping0Size*fgkMappingDimension*sizeof(Int_t));
- memset(fgMapping1, 0, fgkMapping1Size*fgkMappingDimension*sizeof(Int_t));
- memset(fgMapping2, 0, fgkMapping2Size*fgkMappingDimension*sizeof(Int_t));
- memset(fgMapping3, 0, fgkMapping3Size*fgkMappingDimension*sizeof(Int_t));
- memset(fgMapping4, 0, fgkMapping4Size*fgkMappingDimension*sizeof(Int_t));
- memset(fgMapping5, 0, fgkMapping5Size*fgkMappingDimension*sizeof(Int_t));
-#endif //#ifndef HAVE_TPC_MAPPING
- fBuffer=NULL;
- fBufferSize=0;
- fPatch=-1;
- fSlice=-1;
- fRow=-1;
- fPad=-1;
- fDataFormatVersion=src.fDataFormatVersion;
- fCurrentRow=0;
- fCurrentPad=0;
- fCurrentBin=-1;
- fVerify=false;
-
- // For sorting
- fNRows=0;
- fRowOffset=0;
- fNMaxRows=0;
- fNMaxPads=0;
- fNTimeBins=0;
- fData=NULL;
- fMapErrThrown=0;
- HLTFatal("assignment operator not for use");
- return (*this);
-}
-
AliHLTTPCDigitReaderRaw::~AliHLTTPCDigitReaderRaw()
{
// see header file for class documentation
* - 5: As 1, but RCU trailer is 2 32 bit words.
*/
AliHLTTPCDigitReaderRaw( unsigned formatVersion );
- /** not a valid copy constructor, defined according to effective C++ style */
- AliHLTTPCDigitReaderRaw(const AliHLTTPCDigitReaderRaw& src);
- /** not a valid assignment op, but defined according to effective C++ style */
- AliHLTTPCDigitReaderRaw& operator=(const AliHLTTPCDigitReaderRaw& src);
/** destructor */
virtual ~AliHLTTPCDigitReaderRaw();
bool fVerify; // see above
private:
+ /** copy constructor prohibited */
+ AliHLTTPCDigitReaderRaw(const AliHLTTPCDigitReaderRaw& src);
+ /** assignment operator prohibited */
+ AliHLTTPCDigitReaderRaw& operator=(const AliHLTTPCDigitReaderRaw& src);
/** number of patches */
static const Int_t fgkNofPatches=6; // see above
/** dimension of each mapping array */
LOG(AliHLTTPCLog::kWarning,"AliHLTTPCFileHandler::AliDigits2Memory","ndigits")
<<"No TPC digits (entries==0)!"<<ENDLOG;
nrow = (UInt_t)(fRowMax-fRowMin+1);
- Int_t size = nrow*sizeof(AliHLTTPCDigitRowData);
+ UInt_t size = nrow*sizeof(AliHLTTPCDigitRowData);
if (tgtBuffer!=NULL && pTgtSize!=NULL && *pTgtSize>0) {
if (size<=*pTgtSize) {
data=reinterpret_cast<AliHLTTPCDigitRowData*>(tgtBuffer);
nrows++;
}
- Int_t size = sizeof(AliHLTTPCDigitData)*ndigitcount
+ UInt_t size = sizeof(AliHLTTPCDigitData)*ndigitcount
+ nrows*sizeof(AliHLTTPCDigitRowData);
LOG(AliHLTTPCLog::kDebug,"AliHLTTPCFileHandler::AliDigits2Memory","Digits")
memset(fNcl,0,36*6*sizeof(UInt_t));
}
-AliHLTTPCFitter::AliHLTTPCFitter(const AliHLTTPCFitter& src)
- :
- fTrack(NULL),
- fVertex(NULL),
- fVertexConstraint(0)
-{
- // dummy copy constructor according to eff C++
- memset(fClusters,0,36*6*sizeof(AliHLTTPCSpacePointData*));
- memset(fNcl,0,36*6*sizeof(UInt_t));
-}
-
-AliHLTTPCFitter& AliHLTTPCFitter::operator=(const AliHLTTPCFitter& src)
-{
- // dummy assignment operator according to eff C++
- return *this;
-}
-
AliHLTTPCFitter::AliHLTTPCFitter(AliHLTTPCVertex *vertex,Bool_t vertexconstraint)
:
fTrack(NULL),
public:
AliHLTTPCFitter();
- /** not a valid copy constructor, defined according to effective C++ style */
- AliHLTTPCFitter(const AliHLTTPCFitter& src);
- /** not a valid assignment op, but defined according to effective C++ style */
- AliHLTTPCFitter& operator=(const AliHLTTPCFitter& src);
AliHLTTPCFitter(AliHLTTPCVertex *vertex,Bool_t vertexconstraint=kTRUE);
virtual ~AliHLTTPCFitter();
void NoVertex() {fVertexConstraint=kFALSE;}
private:
+ /** copy constructor prohibited */
+ AliHLTTPCFitter(const AliHLTTPCFitter& src);
+ /** assignment operator prohibited */
+ AliHLTTPCFitter& operator=(const AliHLTTPCFitter& src);
+
AliHLTTPCTrack *fTrack; //! actual track
AliHLTTPCVertex *fVertex; //! vertex info
Bool_t fVertexConstraint; // include vertex constraint
rewind(fInBinary);
AliHLTTPCDigitRowData *rowPt = data;
UInt_t rowcount = 0;
- Int_t outsize =0;
+ UInt_t outsize =0;
while(!feof(fInBinary)){
Byte_t *bytePt =(Byte_t *) rowPt;
bytePt += sizeof(AliHLTTPCDigitRowData);
outsize += sizeof(AliHLTTPCDigitRowData);
- Int_t size = sizeof(AliHLTTPCDigitData) * rowPt->fNDigit;
+ UInt_t size = sizeof(AliHLTTPCDigitData) * rowPt->fNDigit;
if (sz<outsize+size) {
LOG(AliHLTTPCLog::kFatal,"AliHLTTPCMemHandler::Binary2Memory","Memory")