// or
// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
-#if __GNUC__>= 3
-using namespace std;
-#endif
-
#include "AliHLTTPCClusterConverterComponent.h"
#include "AliHLTTPCOfflineCluster.h"
#include "AliTPCclusterMI.h"
//#include <stdlib.h>
//#include <cerrno>
+using namespace std;
+
/** ROOT macro for the implementation of ROOT specific class methods */
ClassImp(AliHLTTPCClusterConverterComponent)
@brief The TPC cluster finder processing component
*/
-#if __GNUC__>= 3
-using namespace std;
-#endif
#include "AliHLTTPCClusterFinderComponent.h"
#include "AliHLTTPCDigitReaderUnpacked.h"
#include "AliHLTTPCDigitReader32Bit.h"
#include <sys/time.h>
+using namespace std;
+
/** ROOT macro for the implementation of ROOT specific class methods */
ClassImp(AliHLTTPCClusterFinderComponent)
-#if __GNUC__>= 3
-using namespace std;
-#endif
-
// see header file for class documentation
// or
// refer to README to build package
//#include <vector>
#include "AliHLTTPCClusters.h"
+using namespace std;
+
/** ROOT macro for the implementation of ROOT specific class methods */
ClassImp(AliHLTTPCClusters)
// or
// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
-#if __GNUC__>= 3
-using namespace std;
-#endif
-
#include "AliHLTTPCDigitReader.h"
#include "AliHLTTPCTransform.h"
#include "AliHLTStdIncludes.h"
+using namespace std;
+
ClassImp(AliHLTTPCDigitReader)
AliHLTTPCDigitReader::AliHLTTPCDigitReader()
/// @brief DigitReader implementation for the 32 bit offline decoder
///
-#if __GNUC__>= 3
-using namespace std;
-#endif
-
#include <cassert>
#include "AliHLTTPCDigitReader32Bit.h"
#include "AliHLTTPCMapping.h"
#include "AliRawReaderMemory.h"
#include "AliAltroRawStreamV3.h"
+using namespace std;
+
ClassImp(AliHLTTPCDigitReader32Bit)
AliHLTTPCDigitReader32Bit::AliHLTTPCDigitReader32Bit()
@brief A digit reader implementation for unpacked TPC data.
*/
-#if __GNUC__== 3
-using namespace std;
-#endif
-
#include <cassert>
#include "AliHLTTPCDigitReaderUnpacked.h"
#include "AliHLTTPCDigitData.h"
#include "AliHLTStdIncludes.h"
#include "AliHLTTPCMapping.h"
+using namespace std;
+
ClassImp(AliHLTTPCDigitReaderUnpacked)
AliHLTTPCDigitReaderUnpacked::AliHLTTPCDigitReaderUnpacked()
// or //
// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt //
-#if __GNUC__>= 3
-using namespace std;
-#endif
#include "AliHLTTPCHWCFDataReverterComponent.h"
#include "AliHLTTPCDigitReader32Bit.h"
#include "AliHLTTPCTransform.h"
#include "AliHLTAltroEncoder.h"
#include "AliRawDataHeader.h"
+using namespace std;
+
/** ROOT macro for the implementation of ROOT specific class methods */
ClassImp(AliHLTTPCHWCFDataReverterComponent)
@brief
*/
-#if __GNUC__>= 3
-using namespace std;
-#endif
#include "AliHLTTPCHWClusterTransformComponent.h"
#include "AliHLTTPCDefinitions.h"
#include "AliHLTTPCTransform.h"
#include <cerrno>
#include <sys/time.h>
+using namespace std;
+
ClassImp(AliHLTTPCHWClusterTransformComponent) //ROOT macro for the implementation of ROOT specific class methods
const char* AliHLTTPCHWClusterTransformComponent::fgkOCDBEntryHWTransform="HLT/ConfigTPC/TPCHWClusterTransform";
@brief The Histogram Handler component
*/
-#if __GNUC__>= 3
-using namespace std;
-#endif
#include "AliHLTTPCHistogramHandlerComponent.h"
#include "AliHLTTPCDefinitions.h"
#include "AliCDBEntry.h"
#include "TLine.h"
#include "TMath.h"
+using namespace std;
+
ClassImp(AliHLTTPCHistogramHandlerComponent) //ROOT macro for the implementation of ROOT specific class methods
AliHLTTPCHistogramHandlerComponent::AliHLTTPCHistogramHandlerComponent()
// or //
// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt //
-#if __GNUC__>= 3
-using namespace std;
-#endif
#include <cassert>
#include "AliHLTTPCMapping.h"
#include "AliHLTTPCTransform.h"
+using namespace std;
+
ClassImp(AliHLTTPCMapping)
AliHLTTPCMapping::AliHLTTPCMapping(UInt_t patch)
// //
///////////////////////////////////////////////////////////////////////////////
-#if __GNUC__>= 3
-using namespace std;
-#endif
-
#include "AliHLTTPCRawDataUnpackerComponent.h"
#include "AliTPCRawStream.h"
#include "AliRawDataHeader.h"
#include <cstdlib>
#include <cerrno>
+using namespace std;
+
/** ROOT macro for the implementation of ROOT specific class methods */
ClassImp(AliHLTTPCRawDataUnpackerComponent);
int AliHLTTPCTrackGeometry::CalculateTrackPoints(AliHLTGlobalBarrelTrack& track)
{
/// calculate the track points, expects the global magnetic field to be initialized
+ /// depending on the x coordinate of the first track point the corresponding padrow
+ /// is searched and the points are calculated outwards. Eventually the points are
+ /// calculated inwards as a second step.
int iResult=0;
int firstpadrow=0;
for (;
AliHLTTPCTransform::Row2X(firstpadrow)+AliHLTTPCTransform::GetPadLength(firstpadrow)<track.GetX();
firstpadrow++);
if (firstpadrow>=AliHLTTPCTransform::GetNRows()) return 0;
+ // first calculated outwards
iResult=CalculateTrackPoints(track, firstpadrow, 1);
if (iResult>=0 && firstpadrow>0)
+ // now calculate inwards
iResult=CalculateTrackPoints(track, firstpadrow-1, -1);
return iResult;
}
/// @brief Component for reading ESD from chain and produce a dEdx monitoring plot
///
-#if __GNUC__>= 3
-using namespace std;
-#endif
-
-
#include "TSystem.h"
#include "AliESDtrackCuts.h"
#include <AliHLTDAQ.h>
#include "AliHLTTPCdEdxMonitoringComponent.h"
+using namespace std;
+
/** ROOT macro for the implementation of ROOT specific class methods */
ClassImp( AliHLTTPCdEdxMonitoringComponent )
// @note
-#if __GNUC__>= 3
-using namespace std;
-#endif
#include "AliHLTTPCHWCFConsistencyControlComponent.h"
#include "AliHLTTPCDefinitions.h"
#include <sys/time.h>
#include "TFile.h"
+using namespace std;
+
AliHLTTPCHWCFConsistencyControlComponent::AliHLTTPCHWCFConsistencyControlComponent()
:
AliHLTProcessor(),
// @note
-#if __GNUC__>= 3
-using namespace std;
-#endif
#include "AliHLTTPCHWCFEmulatorComponent.h"
#include "AliHLTTPCDefinitions.h"
#include <sys/time.h>
#include "TFile.h"
+using namespace std;
+
AliHLTTPCHWCFEmulatorComponent::AliHLTTPCHWCFEmulatorComponent()
:
AliHLTProcessor(),
#include "AliTPCCalROC.h"
#include "TMath.h"
-#if __GNUC__>= 3
-using namespace std;
-#endif
-
#include <cstdlib>
#include <algorithm>
#include <cerrno>
#include <sys/time.h>
+using namespace std;
AliHLTTPCHWCFSupport::AliHLTTPCHWCFSupport()
:
// or
// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
-#if __GNUC__>= 3
-using namespace std;
-#endif
-
#include "AliHLTTPCAnalysisTaskcalib.h"
#include "AliTPCcalibBase.h"
#include "AliESDEvent.h"
#include "TTimeStamp.h"
#include "TChain.h"
+using namespace std;
+
ClassImp(AliHLTTPCAnalysisTaskcalib)
AliHLTTPCAnalysisTaskcalib::AliHLTTPCAnalysisTaskcalib()
// or
// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
-#if __GNUC__>= 3
-using namespace std;
-#endif
-
//#include "AliHLTTPCLogging.h"
#include "AliHLTTPCDefinitions.h"
//#include "AliHLTTPCTransform.h"
#include <cerrno>
#include "TString.h"
+using namespace std;
+
/** ROOT macro for the implementation of ROOT specific class methods */
ClassImp(AliHLTTPCCalibCEComponent)
// or
// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
-#if __GNUC__>= 3
-using namespace std;
-#endif
-
#include "AliHLTTPCLogging.h"
#include "AliHLTTPCTransform.h"
#include <errno.h>
#include "TString.h"
+using namespace std;
+
/** ROOT macro for the implementation of ROOT specific class methods */
ClassImp(AliHLTTPCCalibPedestalComponent)
// or
// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
-#if __GNUC__>= 3
-using namespace std;
-#endif
-
#include "AliHLTTPCLogging.h"
#include "AliHLTTPCTransform.h"
#include <errno.h>
#include "TString.h"
+using namespace std;
+
/** ROOT macro for the implementation of ROOT specific class methods */
ClassImp(AliHLTTPCCalibPulserComponent)
@brief
*/
-#if __GNUC__>= 3
-using namespace std;
-#endif
-
#include <map>
#include "AliHLTTPCCalibSeedMakerComponent.h"
#include <sys/time.h>
+using namespace std;
+
ClassImp(AliHLTTPCCalibSeedMakerComponent) //ROOT macro for the implementation of ROOT specific class methods
AliHLTTPCCalibSeedMakerComponent::AliHLTTPCCalibSeedMakerComponent()
// or
// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
-#if __GNUC__>= 3
-using namespace std;
-#endif
-
-
#include "AliHLTTPCCalibTimeComponent.h"
#include "AliHLTTPCDefinitions.h"
#include "AliHLTMisc.h"
#include "AliHLTReadoutList.h"
+using namespace std;
+
ClassImp(AliHLTTPCCalibTimeComponent) // ROOT macro for the implementation of ROOT specific class methods
AliHLTTPCCalibTimeComponent::AliHLTTPCCalibTimeComponent()
// or
// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
-#if __GNUC__>= 3
-using namespace std;
-#endif
-
#include "AliHLTTPCCalibTimeGainComponent.h"
#include "AliHLTTPCDefinitions.h"
#include "AliHLTReadoutList.h"
#include <cstdlib>
#include <cerrno>
+using namespace std;
ClassImp(AliHLTTPCCalibTimeGainComponent) // ROOT macro for the implementation of ROOT specific class methods
// or
// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
-#if __GNUC__>= 3
-using namespace std;
-#endif
-
#include "AliHLTTPCCalibTracksComponent.h"
#include "AliHLTTPCLogging.h"
#include <errno.h>
#include "TString.h"
+using namespace std;
+
//AliHLTTPCCalibTracksComponent gAliHLTTPCCalibTracksComponent;
/** ROOT macro for the implementation of ROOT specific class methods */
// or
// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
-#if __GNUC__>= 3
-using namespace std;
-#endif
-
#include "AliHLTTPCCalibrationComponent.h"
#include "AliHLTTPCDefinitions.h"
#include "AliHLTTPCAnalysisTaskcalib.h"
#include <cstdlib>
#include <cerrno>
+using namespace std;
+
ClassImp(AliHLTTPCCalibrationComponent) // ROOT macro for the implementation of ROOT specific class methods
AliHLTTPCCalibrationComponent::AliHLTTPCCalibrationComponent()
#include <istream>
#endif //__CINT__
-using namespace std;
-
/////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
#include "/scratch/prog/HLT/TPCLib/AliHLTTPCSpacePointData.h";
+using namespace std;
+
int testAliHLTTPCOfflineCluster(){
//#ifdef __CINT__
//gSystem->Load("libAliHLTUtil.so");