Added RuleChecker jars in trunk and updated CMake .pkg files
authorjjose <jjose@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 25 Nov 2010 17:23:32 +0000 (17:23 +0000)
committerjjose <jjose@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 25 Nov 2010 17:23:32 +0000 (17:23 +0000)
15 files changed:
EMCAL/CMakelibEMCALrec.pkg
EVGEN/CMakelibEVGEN.pkg
HLT/CMakelibAliHLTTPC.pkg
HLT/CMakelibAliHLTTrigger.pkg
HLT/CMakelibAliHLTUtil.pkg
PWG2/CMakelibPWG2resonances.pkg
PWG3/CMakelibPWG3muondep.pkg
PYTHIA8/CMakelibpythia8.pkg
T0/CMakelibT0rec.pkg
TPC/CMakelibTPCbase.pkg
ZDC/CMakelibZDCbase.pkg
cmake/FindRuleChecker.cmake
cmake/RuleChecker/CodingConventions.xml [new file with mode: 0755]
cmake/RuleChecker/FactExtractor.jar [new file with mode: 0755]
cmake/RuleChecker/NewRuleChecker.jar [new file with mode: 0755]

index 847cae0..4af3d20 100644 (file)
@@ -25,7 +25,7 @@
 # SHLIBS - Shared Libraries and objects for linking (Executables only)           #
 #--------------------------------------------------------------------------------#
 
-set ( SRCS  AliEMCALReconstructor.cxx AliEMCALClusterizer.cxx AliEMCALClusterizerv1.cxx AliEMCALClusterizerNxN.cxx AliEMCALUnfolding.cxx AliEMCALTracker.cxx AliEMCALPID.cxx AliEMCALQADataMakerRec.cxx AliEMCALAodCluster.cxx)
+set ( SRCS  AliEMCALReconstructor.cxx AliEMCALClusterizer.cxx AliEMCALClusterizerv1.cxx AliEMCALClusterizerNxN.cxx AliEMCALUnfolding.cxx AliEMCALTracker.cxx AliEMCALPID.cxx AliEMCALQADataMakerRec.cxx AliEMCALAodCluster.cxx AliEMCALAfterBurnerUF.cxx )
 
 string(REPLACE ".cxx" ".h" HDRS  "${SRCS}")
 
index 97cfc79..56e54d6 100644 (file)
@@ -25,7 +25,7 @@
 # SHLIBS - Shared Libraries and objects for linking (Executables only)           #
 #--------------------------------------------------------------------------------#
 
-set ( SRCS  AliGenHIJINGpara.cxx AliGenBox.cxx AliGenFixed.cxx AliGenCocktail.cxx AliGenCocktailAfterBurner.cxx AliGenFLUKAsource.cxx AliGenLib.cxx AliGenMUONlib.cxx AliGenHMPIDlib.cxx AliGenParam.cxx AliDimuCombinator.cxx AliGenHalo.cxx AliGenHaloProtvino.cxx AliGenExtFile.cxx AliGenScan.cxx AliGenPHOSlib.cxx AliGenDoubleScan.cxx AliGenCocktailEntry.cxx AliGenGSIlib.cxx AliGenEMlib.cxx AliGenPMDlib.cxx AliGenMC.cxx AliGenReader.cxx AliGenReaderCwn.cxx AliGenReaderTreeK.cxx AliGenReaderEcalHijing.cxx AliGenReaderEcalJets.cxx AliGenHIJINGparaBa.cxx AliGeVSimParticle.cxx AliGenGeVSim.cxx AliGenThetaSlice.cxx AliGenSTRANGElib.cxx AliGenBeamGas.cxx AliGenAfterBurnerFlow.cxx AliGenSlowNucleons.cxx AliSlowNucleonModel.cxx AliSlowNucleonModelExp.cxx AliGenMUONCocktail.cxx AliGenMUONCocktailpp.cxx AliGenEMCocktail.cxx AliGenHBTosl.cxx AliGenReaderEMD.cxx AliDecayerPolarized.cxx AliGenCorrHF.cxx AliGenCosmicsParam.cxx AliGenKrypton.cxx AliGenThermalPhotons.cxx AliGenPromptPhotons.cxx AliGenPileup.cxx AliGenFunction.cxx AliGenTHnSparse.cxx AliOmegaDalitz.cxx AliGenDeuteron.cxx)
+set ( SRCS  AliGenHIJINGpara.cxx AliGenBox.cxx AliGenFixed.cxx AliGenCocktail.cxx AliGenCocktailAfterBurner.cxx AliGenFLUKAsource.cxx AliGenLib.cxx AliGenMUONlib.cxx AliGenHMPIDlib.cxx AliGenParam.cxx AliDimuCombinator.cxx AliGenHalo.cxx AliGenHaloProtvino.cxx AliGenExtFile.cxx AliGenScan.cxx AliGenPHOSlib.cxx AliGenDoubleScan.cxx AliGenCocktailEntry.cxx AliGenGSIlib.cxx AliGenEMlib.cxx AliGenPMDlib.cxx AliGenMC.cxx AliGenReader.cxx AliGenReaderCwn.cxx AliGenReaderTreeK.cxx AliGenReaderEcalHijing.cxx AliGenReaderEcalJets.cxx AliGenHIJINGparaBa.cxx AliGeVSimParticle.cxx AliGenGeVSim.cxx AliGenThetaSlice.cxx AliGenSTRANGElib.cxx AliGenBeamGas.cxx AliGenAfterBurnerFlow.cxx AliGenSlowNucleons.cxx AliSlowNucleonModel.cxx AliSlowNucleonModelExp.cxx AliGenMUONCocktail.cxx AliGenMUONCocktailpp.cxx AliGenEMCocktail.cxx AliGenHBTosl.cxx AliGenReaderEMD.cxx AliDecayerPolarized.cxx AliGenCorrHF.cxx AliGenCosmicsParam.cxx AliGenKrypton.cxx AliGenThermalPhotons.cxx AliGenPromptPhotons.cxx AliGenPileup.cxx AliGenFunction.cxx AliGenTHnSparse.cxx AliOmegaDalitz.cxx AliGenDeuteron.cxx AliGenReaderSL.cxx)
 
 string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
 
index 9fe188d..545d478 100644 (file)
@@ -25,7 +25,9 @@
 # SHLIBS - Shared Libraries and objects for linking (Executables only)           #
 #--------------------------------------------------------------------------------#
 
-set ( CLASS_HDRS       AliHLTTPCTransform.h AliHLTTPCClusterTransformation.h AliHLTTPCAgent.h AliHLTTPCMemHandler.h AliHLTTPCDataCompressorHelper.h AliHLTTPCFitter.h AliHLTTPCFileHandler.h AliHLTTPCClusterFinder.h AliHLTTPCMapping.h AliHLTTPCDigitReader.h AliHLTTPCDigitReaderPacked.h AliHLTTPCDigitReaderUnpacked.h AliHLTTPCDigitReaderDecoder.h AliHLTTPCDigitReader32Bit.h AliHLTTPCDigitDumpComponent.h AliHLTTPCDataCheckerComponent.h AliHLTTPCZeroSuppressionComponent.h AliHLTTPCNoiseMap.h AliHLTTPCNoiseMapComponent.h AliHLTTPCVertex.h AliHLTTPCVertexArray.h AliHLTTPCVertexFinder.h AliHLTTPCTrackArray.h AliHLTTPCTrack.h offline/AliHLTTPCDigitPublisherComponent.h offline/AliHLTTPCOfflineClustererComponent.h offline/AliHLTTPCOfflineTrackerComponent.h offline/AliHLTTPCOfflineTrackerCalibComponent.h offline/AliHLTTPCOfflineCalibrationComponent.h offline/AliHLTTPCOfflineCluster.h AliHLTTPCClusters.h AliHLTTPCConfMapFit.h AliHLTTPCConfMapTrack.h AliHLTTPCConfMapPoint.h AliHLTTPCConfMapper.h AliHLTTPCModelTrack.h AliHLTTPCMerger.h AliHLTTPCTrackMerger.h AliHLTTPCGlobalMerger.h AliHLTTPCInterMerger.h AliHLTTPCPad.h AliHLTTPCDefinitions.h AliHLTTPCRawDataUnpackerComponent.h AliHLTTPCClusterFinderComponent.h AliHLTTPCHWClusterTransformComponent.h AliHLTTPCCFComparisonComponent.h AliHLTTPCVertexFinderComponent.h AliHLTTPCSliceTrackerComponent.h AliHLTTPCGlobalMergerComponent.h AliHLTTPCEsdWriterComponent.h AliHLTTPCHistogramHandlerComponent.h AliHLTTPCClusterConverterComponent.h tracking-ca/AliHLTTPCCATrack.h tracking-ca/AliHLTTPCCATracklet.h tracking-ca/AliHLTTPCCATracker.h tracking-ca/AliHLTTPCCABaseTrackParam.h tracking-ca/AliHLTTPCCATrackParam.h tracking-ca/AliHLTTPCCATrackConvertor.h tracking-ca/AliHLTTPCCAParam.h tracking-ca/AliHLTTPCCARow.h tracking-ca/AliHLTTPCCAGrid.h tracking-ca/AliHLTTPCCAHitArea.h tracking-ca/AliHLTTPCCAMCPoint.h tracking-ca/AliHLTTPCCATrackerComponent.h tracking-ca/AliHLTTPCCANeighboursFinder.h tracking-ca/AliHLTTPCCANeighboursCleaner.h tracking-ca/AliHLTTPCCAStartHitsFinder.h tracking-ca/AliHLTTPCCATrackletConstructor.h tracking-ca/AliHLTTPCCATrackletSelector.h tracking-ca/AliHLTTPCCADisplay.h tracking-ca/AliHLTTPCCAMCTrack.h tracking-ca/AliHLTTPCCAPerformance.h tracking-ca/AliHLTTPCCAMerger.h tracking-ca/AliHLTTPCCAGlobalMergerComponent.h tracking-ca/AliHLTTPCCAClusterData.h tracking-ca/AliHLTTPCCASliceData.h tracking-ca/AliHLTTPCCASliceOutput.h tracking-ca/AliHLTTPCCAStandaloneFramework.h tracking-ca/AliTPCtrackerCA.h tracking-ca/AliHLTTPCCATrackerFramework.h tracking-ca/AliHLTTPCCAInputDataCompressorComponent.h tracking-ca/AliHLTTPCCAGPUTracker.h tracking-ca/AliHLTTPCCATrackerOutputConverter.h comp/AliHLTTPCCompDataCompressorHelper.h comp/AliHLTTPCCompDumpComponent.h comp/AliHLTTPCCompModelAnalysis.h comp/AliHLTTPCCompModelConverter.h comp/AliHLTTPCCompModelConverterComponent.h comp/AliHLTTPCCompModelDeconverter.h comp/AliHLTTPCCompModelDeconverterComponent.h comp/AliHLTTPCCompModelDeflater.h comp/AliHLTTPCCompModelDeflaterComponent.h comp/AliHLTTPCCompModelInflater.h comp/AliHLTTPCCompModelInflaterComponent.h AliHLTTPCEventStatistics.h AliHLTTPCEventStatisticsProducerComponent.h AliHLTTPCRunStatistics.h AliHLTTPCRunStatisticsProducerComponent.h AliHLTTPCKryptonClusterFinder.h AliHLTTPCKryptonClusterFinderComponent.h AliHLTTPCClusterHistoComponent.h AliHLTTPCTrackHistoComponent.h AliHLTTPCTrackDumpComponent.h AliHLTTPCClusterDumpComponent.h AliHLTTPCHWCFDataReverterComponent.h AliHLTTPCTrackMCMarkerComponent.h AliHLTTPCdEdxComponent.h)
+set ( CLASS_HDRS       AliHLTTPCTransform.h AliHLTTPCClusterTransformation.h AliHLTTPCAgent.h AliHLTTPCMemHandler.h AliHLTTPCDataCompressorHelper.h AliHLTTPCFitter.h AliHLTTPCFileHandler.h AliHLTTPCClusterFinder.h AliHLTTPCMapping.h AliHLTTPCDigitReader.h AliHLTTPCDigitReaderPacked.h AliHLTTPCDigitReaderUnpacked.h AliHLTTPCDigitReaderDecoder.h AliHLTTPCDigitReader32Bit.h AliHLTTPCDigitDumpComponent.h AliHLTTPCDataCheckerComponent.h AliHLTTPCZeroSuppressionComponent.h AliHLTTPCNoiseMap.h AliHLTTPCNoiseMapComponent.h AliHLTTPCVertex.h AliHLTTPCVertexArray.h AliHLTTPCVertexFinder.h AliHLTTPCTrackArray.h AliHLTTPCTrack.h offline/AliHLTTPCDigitPublisherComponent.h offline/AliHLTTPCOfflineClustererComponent.h offline/AliHLTTPCOfflineTrackerComponent.h offline/AliHLTTPCOfflineTrackerCalibComponent.h offline/AliHLTTPCOfflineCalibrationComponent.h offline/AliHLTTPCOfflineCluster.h AliHLTTPCClusters.h AliHLTTPCConfMapFit.h AliHLTTPCConfMapTrack.h AliHLTTPCConfMapPoint.h AliHLTTPCConfMapper.h AliHLTTPCModelTrack.h AliHLTTPCMerger.h AliHLTTPCTrackMerger.h AliHLTTPCGlobalMerger.h AliHLTTPCInterMerger.h AliHLTTPCPad.h AliHLTTPCDefinitions.h AliHLTTPCRawDataUnpackerComponent.h AliHLTTPCClusterFinderComponent.h AliHLTTPCHWClusterTransformComponent.h AliHLTTPCCFComparisonComponent.h AliHLTTPCVertexFinderComponent.h AliHLTTPCSliceTrackerComponent.h AliHLTTPCGlobalMergerComponent.h AliHLTTPCEsdWriterComponent.h AliHLTTPCHistogramHandlerComponent.h AliHLTTPCClusterConverterComponent.h tracking-ca/AliHLTTPCCATrack.h tracking-ca/AliHLTTPCCATracklet.h tracking-ca/AliHLTTPCCATracker.h tracking-ca/AliHLTTPCCABaseTrackParam.h tracking-ca/AliHLTTPCCATrackParam.h tracking-ca/AliHLTTPCCATrackConvertor.h tracking-ca/AliHLTTPCCAParam.h tracking-ca/AliHLTTPCCARow.h tracking-ca/AliHLTTPCCAGrid.h tracking-ca/AliHLTTPCCAHitArea.h tracking-ca/AliHLTTPCCAMCPoint.h tracking-ca/AliHLTTPCCATrackerComponent.h tracking-ca/AliHLTTPCCANeighboursFinder.h tracking-ca/AliHLTTPCCANeighboursCleaner.h tracking-ca/AliHLTTPCCAStartHitsFinder.h tracking-ca/AliHLTTPCCATrackletConstructor.h tracking-ca/AliHLTTPCCATrackletSelector.h tracking-ca/AliHLTTPCCADisplay.h tracking-ca/AliHLTTPCCAMCTrack.h tracking-ca/AliHLTTPCCAPerformance.h tracking-ca/AliHLTTPCCAMerger.h tracking-ca/AliHLTTPCCAGlobalMergerComponent.h tracking-ca/AliHLTTPCCAClusterData.h tracking-ca/AliHLTTPCCASliceData.h tracking-ca/AliHLTTPCCASliceOutput.h tracking-ca/AliHLTTPCCAStandaloneFramework.h tracking-ca/AliTPCtrackerCA.h tracking-ca/AliHLTTPCCATrackerFramework.h tracking-ca/AliHLTTPCCAInputDataCompressorComponent.h tracking-ca/AliHLTTPCCAGPUTracker.h tracking-ca/AliHLTTPCCATrackerOutputConverter.h 
+    merger-ca/AliHLTTPCGMTrackParam.h merger-ca/AliHLTTPCGMSliceTrack.h merger-ca/AliHLTTPCGMMerger.h 
+    comp/AliHLTTPCCompDataCompressorHelper.h comp/AliHLTTPCCompDumpComponent.h comp/AliHLTTPCCompModelAnalysis.h comp/AliHLTTPCCompModelConverter.h comp/AliHLTTPCCompModelConverterComponent.h comp/AliHLTTPCCompModelDeconverter.h comp/AliHLTTPCCompModelDeconverterComponent.h comp/AliHLTTPCCompModelDeflater.h comp/AliHLTTPCCompModelDeflaterComponent.h comp/AliHLTTPCCompModelInflater.h comp/AliHLTTPCCompModelInflaterComponent.h AliHLTTPCEventStatistics.h AliHLTTPCEventStatisticsProducerComponent.h AliHLTTPCRunStatistics.h AliHLTTPCRunStatisticsProducerComponent.h AliHLTTPCKryptonClusterFinder.h AliHLTTPCKryptonClusterFinderComponent.h AliHLTTPCClusterHistoComponent.h AliHLTTPCTrackHistoComponent.h AliHLTTPCTrackDumpComponent.h AliHLTTPCClusterDumpComponent.h AliHLTTPCHWCFDataReverterComponent.h AliHLTTPCTrackMCMarkerComponent.h AliHLTTPCdEdxComponent.h)
 
 string ( REPLACE ".h" ".cxx" MODULE_SRCS "${CLASS_HDRS}")
 list(APPEND MODULE_SRCS AliHLTTPCLog.cxx)
@@ -34,7 +36,7 @@ set ( MODULE_HDRS     ${CLASS_HDRS} AliHLTTPCLog.h AliHLTTPCLogging.h AliHLTTPCSpa
 
 set ( MODULE_DHDR )
 
-set ( EINCLUDE  HLT/TPCLib HLT/TPCLib/tracking HLT/TPCLib/comp HLT/TPCLib/tracking-ca HLT/TPCLib/offline HLT/BASE HLT/BASE/util HLT/RCU TPC RAW STEER)
+set ( EINCLUDE  HLT/TPCLib HLT/TPCLib/tracking HLT/TPCLib/comp HLT/TPCLib/tracking-ca HLT/TPCLib/merger-ca HLT/TPCLib/offline HLT/BASE HLT/BASE/util HLT/RCU TPC RAW STEER)
 set ( ELIBS  dl)
 
 set ( LIBRARY_DEP  -lHLTbase -lAliHLTRCU -lAliHLTUtil -lCDB -lESD -lSTEER -lSTEERBase -lTPCrec -lTPCcalib -lTPCbase -lRAWDatarec -lRAWDatabase -L${ROOTLIBDIR} -lEG)
index 3052a06..fc56ef6 100644 (file)
@@ -25,8 +25,7 @@
 # SHLIBS - Shared Libraries and objects for linking (Executables only)           #
 #--------------------------------------------------------------------------------#
 
-set ( CLASS_HDRS  AliHLTTrigger.h AliHLTGlobalTrigger.h AliHLTGlobalTriggerWrapper.h AliHLTGlobalTriggerConfig.h AliHLTGlobalTriggerComponent.h AliHLTTriggerBarrelMultiplicity.h AliHLTD0Trigger.h AliHLTD0toKpi.h AliHLTTriggerITSMultiplicity.h AliHLTTriggerAgent.h AliHLTEventSummary.h AliHLTEventSummaryProducerComponent.h AliHLTRunSummary.h AliHLTRunSummaryProducerComponent.h AliHLTTriggerMonitoringComponent.h AliHLTTriggerCaloClusterEnergy.h AliHLTTriggerPhosClusterEnergy.h AliHLTTriggerEmcalClusterEnergy.h AliHLTTriggerPhosMip.h AliHLTTriggerTrdClusterMultiplicity.h AliHLTTriggerBarrelGeomMultiplicity.h AliHLTTriggerDetectorGeom.h AliHLTTriggerDetectorGeomRectangle.h AliHLTTriggerDecisionParameters.h AliHLTTriggerGammaConversion.h AliHLTMuonSpectroScalars.h AliHLTMuonSpectroTriggerComponent.h AliHLTUpcTriggerComponent.h)
-
+set ( CLASS_HDRS  AliHLTTrigger.h AliHLTGlobalTrigger.h AliHLTGlobalTriggerWrapper.h AliHLTGlobalTriggerConfig.h AliHLTGlobalTriggerComponent.h AliHLTTriggerBarrelMultiplicity.h AliHLTD0Trigger.h AliHLTD0toKpi.h AliHLTD0Candidate.h AliHLTTriggerITSMultiplicity.h AliHLTTriggerAgent.h AliHLTEventSummary.h AliHLTEventSummaryProducerComponent.h AliHLTRunSummary.h AliHLTRunSummaryProducerComponent.h AliHLTTriggerMonitoringComponent.h AliHLTTriggerCaloClusterEnergy.h AliHLTTriggerPhosClusterEnergy.h AliHLTTriggerEmcalClusterEnergy.h AliHLTTriggerPhosMip.h AliHLTTriggerTrdClusterMultiplicity.h AliHLTTriggerBarrelGeomMultiplicity.h AliHLTTriggerDetectorGeom.h AliHLTTriggerDetectorGeomRectangle.h AliHLTTriggerDecisionParameters.h AliHLTTriggerGammaConversion.h AliHLTMuonSpectroScalars.h AliHLTMuonSpectroTriggerComponent.h AliHLTUpcTriggerComponent.h AliHLTTriggerCounterComponent.h AliHLTTriggerCounters.h )
 string ( REPLACE ".h" ".cxx" MODULE_SRCS "${CLASS_HDRS}" )
 
 set ( MODULE_HDRS      ${CLASS_HDRS})
index 8b99982..98fd14d 100644 (file)
@@ -25,7 +25,7 @@
 # SHLIBS - Shared Libraries and objects for linking (Executables only)           #
 #--------------------------------------------------------------------------------#
 
-set ( CLASS_HDRS       AliHLTFilePublisher.h AliHLTFileWriter.h AliHLTMCEvent.h AliHLTJets.h AliHLTRootFilePublisherComponent.h AliHLTESDMCEventPublisherComponent.h AliHLTRootFileWriterComponent.h AliHLTRootFileStreamerComponent.h AliHLTRootSchemaEvolutionComponent.h AliHLTRecoParamComponent.h AliHLTLoaderPublisherComponent.h AliHLTRawReaderPublisherComponent.h AliHLTOUTPublisherComponent.h AliHLTEsdCollectorComponent.h AliHLTReadoutListDumpComponent.h AliHLTDataGenerator.h AliHLTBlockFilterComponent.h AliHLTMonitoringRelay.h AliHLTCompStatCollector.h AliHLTGlobalBarrelTrack.h AliHLTAgentUtil.h AliHLTESDCaloClusterMaker.h AliHLTCaloClusterReader.h AliHLTComponentBenchmark.h AliHLTCorruptorComponent.h AliHLTESDTrackCuts.h)
+set ( CLASS_HDRS       AliHLTFilePublisher.h AliHLTFileWriter.h AliHLTMCEvent.h AliHLTJets.h AliHLTRootFilePublisherComponent.h AliHLTESDMCEventPublisherComponent.h AliHLTRootFileWriterComponent.h AliHLTRootFileStreamerComponent.h AliHLTRootSchemaEvolutionComponent.h AliHLTRecoParamComponent.h AliHLTLoaderPublisherComponent.h AliHLTRawReaderPublisherComponent.h AliHLTOUTPublisherComponent.h AliHLTEsdCollectorComponent.h AliHLTReadoutListDumpComponent.h AliHLTDataGenerator.h AliHLTBlockFilterComponent.h AliHLTMonitoringRelay.h AliHLTObjectCompressionComponent.h AliHLTCompStatCollector.h AliHLTGlobalBarrelTrack.h AliHLTAgentUtil.h AliHLTESDCaloClusterMaker.h AliHLTCaloClusterReader.h AliHLTComponentBenchmark.h AliHLTCorruptorComponent.h AliHLTESDTrackCuts.h)
 
 string ( REPLACE ".h" ".cxx" MODULE_SRCS "${CLASS_HDRS}" )
 
index f2a02d9..967eebd 100644 (file)
@@ -25,7 +25,7 @@
 # SHLIBS - Shared Libraries and objects for linking (Executables only)           #
 #--------------------------------------------------------------------------------#
 
-set ( SRCS  RESONANCES/AliRsnDaughter.cxx RESONANCES/AliRsnMother.cxx RESONANCES/AliRsnEvent.cxx RESONANCES/AliRsnValue.cxx RESONANCES/AliRsnFunction.cxx RESONANCES/AliRsnExpression.cxx RESONANCES/AliRsnVariableExpression.cxx RESONANCES/AliRsnCut.cxx RESONANCES/AliRsnCutStd.cxx RESONANCES/AliRsnCutPID.cxx RESONANCES/AliRsnCutBetheBloch.cxx RESONANCES/AliRsnCutPrimaryVertex.cxx RESONANCES/AliRsnCutESDPrimary.cxx RESONANCES/AliRsnCutDaughterType.cxx RESONANCES/AliRsnCutESD2010.cxx RESONANCES/AliRsnCutAOD2010.cxx RESONANCES/AliRsnCutSet.cxx RESONANCES/AliRsnCutValue.cxx RESONANCES/AliRsnCutManager.cxx RESONANCES/AliRsnPairDef.cxx RESONANCES/AliRsnPair.cxx RESONANCES/AliRsnPairFunctions.cxx RESONANCES/AliRsnPairNtuple.cxx RESONANCES/AliRsnAnalysisManager.cxx RESONANCES/AliRsnVATProcessInfo.cxx RESONANCES/AliRsnVAnalysisTaskSE.cxx RESONANCES/AliRsnVAnalysisTaskME.cxx RESONANCES/AliRsnAnalysisSE.cxx RESONANCES/AliRsnAnalysisME.cxx RESONANCES/AliRsnAnalysisEffSE.cxx RESONANCES/AliRsnTOFT0maker.cxx RESONANCES/AliRsnAnalysisPhi900GeV.cxx RESONANCES/AliRsnAnalysisPhi7TeV.cxx RESONANCES/AliRsnAnalysisPhi7TeVNoPID.cxx RESONANCES/AliRsnMonitorTrack.cxx RESONANCES/AliRsnAnalysisMonitorTask.cxx RESONANCES/AliRsnAnalysisMonitorPairTask.cxx)
+set ( SRCS  RESONANCES/AliRsnDaughter.cxx RESONANCES/AliRsnMother.cxx RESONANCES/AliRsnPairDef.cxx RESONANCES/AliRsnEvent.cxx RESONANCES/AliRsnTarget.cxx RESONANCES/AliRsnValue.cxx RESONANCES/AliRsnCut.cxx RESONANCES/AliRsnCutValue.cxx RESONANCES/AliRsnCutPID.cxx RESONANCES/AliRsnCutBetheBloch.cxx RESONANCES/AliRsnCutPrimaryVertex.cxx RESONANCES/AliRsnCutESDPrimary.cxx RESONANCES/AliRsnCutDaughterType.cxx RESONANCES/AliRsnCutESD2010.cxx RESONANCES/AliRsnCutAOD2010.cxx RESONANCES/AliRsnCutSet.cxx RESONANCES/AliRsnExpression.cxx RESONANCES/AliRsnVariableExpression.cxx RESONANCES/AliRsnCutManager.cxx RESONANCES/AliRsnFunction.cxx RESONANCES/AliRsnPair.cxx RESONANCES/AliRsnPairFunctions.cxx RESONANCES/AliRsnPairNtuple.cxx RESONANCES/AliRsnAnalysisManager.cxx RESONANCES/AliRsnVATProcessInfo.cxx RESONANCES/AliRsnVAnalysisTaskSE.cxx RESONANCES/AliRsnVAnalysisTaskME.cxx RESONANCES/AliRsnAnalysisSE.cxx RESONANCES/AliRsnAnalysisME.cxx RESONANCES/AliRsnAnalysisEffSE.cxx RESONANCES/AliRsnTOFT0maker.cxx RESONANCES/AliRsnAnalysisPhi900GeV.cxx RESONANCES/AliRsnAnalysisPhi7TeV.cxx RESONANCES/AliRsnAnalysisPhi7TeVNoPID.cxx RESONANCES/AliRsnMonitorTrack.cxx RESONANCES/AliRsnAnalysisMonitorTask.cxx )
 
 string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
 
index 6ba2efc..1ea8516 100644 (file)
@@ -25,7 +25,7 @@
 # SHLIBS - Shared Libraries and objects for linking (Executables only)           #
 #--------------------------------------------------------------------------------#
 
-set ( SRCS      muondep/AliAnalysisTaskMuonTrackingEff.cxx muondep/AliCheckMuonDetEltResponse.cxx muondep/AliAnalysisTaskRecoCheck.cxx muondep/AliAnalysisTaskESDMCLabelAddition.cxx muondep/AliAnalysisTaskMuonResolution.cxx muondep/AliAnalysisTaskPileup.cxx)
+set ( SRCS      muondep/AliAnalysisTaskMuonTrackingEff.cxx muondep/AliCheckMuonDetEltResponse.cxx muondep/AliAnalysisTaskRecoCheck.cxx muondep/AliAnalysisTaskESDMCLabelAddition.cxx muondep/AliAnalysisTaskMuonResolution.cxx muondep/AliAnalysisTaskPileup.cxx muondep/AliAnalysisTaskMuonFakes.cxx muondep/AliAnalysisTaskMuonRefit.cxx)
 
 string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
 
index 6169b12..005c608 100644 (file)
@@ -25,7 +25,9 @@
 # SHLIBS - Shared Libraries and objects for linking (Executables only)           #
 #--------------------------------------------------------------------------------#
 
-set ( SRCS  pythia8140/src/Analysis.cxx pythia8140/src/Basics.cxx pythia8140/src/BeamParticle.cxx pythia8140/src/BeamRemnants.cxx pythia8140/src/BeamShape.cxx pythia8140/src/BoseEinstein.cxx pythia8140/src/Event.cxx pythia8140/src/FragmentationFlavZpT.cxx pythia8140/src/FragmentationSystems.cxx pythia8140/src/HadronLevel.cxx pythia8140/src/Info.cxx pythia8140/src/LesHouches.cxx pythia8140/src/MiniStringFragmentation.cxx pythia8140/src/MultipleInteractions.cxx pythia8140/src/ParticleData.cxx pythia8140/src/ParticleDecays.cxx pythia8140/src/PartonDistributions.cxx pythia8140/src/PartonLevel.cxx pythia8140/src/PartonSystems.cxx pythia8140/src/PhaseSpace.cxx pythia8140/src/ProcessContainer.cxx pythia8140/src/ProcessLevel.cxx pythia8140/src/Pythia.cxx pythia8140/src/PythiaStdlib.cxx pythia8140/src/ResonanceDecays.cxx pythia8140/src/ResonanceWidths.cxx pythia8140/src/Settings.cxx pythia8140/src/SigmaCompositeness.cxx pythia8140/src/SigmaEW.cxx pythia8140/src/SigmaExtraDim.cxx pythia8140/src/SigmaGeneric.cxx pythia8140/src/SigmaHiggs.cxx pythia8140/src/SigmaLeftRightSym.cxx pythia8140/src/SigmaLeptoquark.cxx pythia8140/src/SigmaNewGaugeBosons.cxx pythia8140/src/SigmaOnia.cxx pythia8140/src/SigmaProcess.cxx pythia8140/src/SigmaQCD.cxx pythia8140/src/SigmaSUSY.cxx pythia8140/src/SigmaTotal.cxx pythia8140/src/SpaceShower.cxx pythia8140/src/StandardModel.cxx pythia8140/src/StringFragmentation.cxx pythia8140/src/SusyCouplings.cxx pythia8140/src/SusyLesHouches.cxx pythia8140/src/TimeShower.cxx pythia8140/src/UserHooks.cxx)
+set ( SRCS  pythia8145/src/Analysis.cxx pythia8145/src/Basics.cxx pythia8145/src/BeamParticle.cxx pythia8145/src/BeamRemnants.cxx pythia8145/src/BeamShape.cxx pythia8145/src/BoseEinstein.cxx pythia8145/src/Event.cxx pythia8145/src/FragmentationFlavZpT.cxx pythia8145/src/FragmentationSystems.cxx pythia8145/src/HadronLevel.cxx pythia8145/src/Info.cxx pythia8145/src/LesHouches.cxx pythia8145/src/MiniStringFragmentation.cxx pythia8145/src/MultipleInteractions.cxx pythia8145/src/ParticleData.cxx pythia8145/src/ParticleDecays.cxx pythia8145/src/PartonDistributions.cxx pythia8145/src/PartonLevel.cxx pythia8145/src/PartonSystems.cxx pythia8145/src/PhaseSpace.cxx pythia8145/src/ProcessContainer.cxx pythia8145/src/ProcessLevel.cxx pythia8145/src/Pythia.cxx pythia8145/src/PythiaStdlib.cxx pythia8145/src/ResonanceDecays.cxx pythia8145/src/ResonanceWidths.cxx pythia8145/src/Settings.cxx pythia8145/src/SigmaCompositeness.cxx pythia8145/src/SigmaEW.cxx pythia8145/src/SigmaExtraDim.cxx pythia8145/src/SigmaGeneric.cxx pythia8145/src/SigmaHiggs.cxx pythia8145/src/SigmaLeftRightSym.cxx pythia8145/src/SigmaLeptoquark.cxx pythia8145/src/SigmaNewGaugeBosons.cxx pythia8145/src/SigmaOnia.cxx pythia8145/src/SigmaProcess.cxx pythia8145/src/SigmaQCD.cxx pythia8145/src/SigmaSUSY.cxx pythia8145/src/SigmaTotal.cxx pythia8145/src/SpaceShower.cxx pythia8145/src/StandardModel.cxx pythia8145/src/StringFragmentation.cxx pythia8145/src/SusyCouplings.cxx pythia8145/src/SusyLesHouches.cxx pythia8145/src/TimeShower.cxx pythia8145/src/UserHooks.cxx)
+
+set (EINCLUDE PYTHIA8/pythia8145/include)
 
 if( ALICE_TARGET STREQUAL "macosxicc")
        
index aafed21..8234186 100644 (file)
@@ -25,7 +25,7 @@
 # SHLIBS - Shared Libraries and objects for linking (Executables only)           #
 #--------------------------------------------------------------------------------#
 
-set ( SRCS  AliT0Reconstructor.cxx AliT0Calibrator.cxx AliT0CalibLaserData.cxx AliT0QADataMakerRec.cxx AliT0RecoParam.cxx)
+set ( SRCS  AliT0Reconstructor.cxx AliT0Calibrator.cxx AliT0CalibLaserData.cxx AliT0QADataMakerRec.cxx AliT0RecoParam.cxx AliT0CalibSeasonTimeShift.cxx)
 
 string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
 
index e5ea7e7..df3eb75 100644 (file)
@@ -25,8 +25,8 @@
 # SHLIBS - Shared Libraries and objects for linking (Executables only)           #
 #--------------------------------------------------------------------------------#
 
-set ( SRCS   AliSegmentID.cxx  AliSegmentArray.cxx AliDigits.cxx AliH2F.cxx AliTPCLoader.cxx AliTPCPRF2D.cxx AliTPCRF1D.cxx AliDetectorParam.cxx AliTPCParam.cxx AliTPCParamSR.cxx AliTPCParamCR.cxx AliTPCdigit.cxx AliSimDigits.cxx AliDigitsArray.cxx AliTPCDigitsArray.cxx AliTPCmapper.cxx AliTPCROC.cxx AliTPCCalROC.cxx AliTPCCalPad.cxx AliTPCCalDet.cxx AliTPCcalibDB.cxx AliTPCcalibDButil.cxx AliTPCAltroMapping.cxx AliTPCRawStream.cxx AliTPCRawStreamFast.cxx AliTPCRawStreamV3.cxx AliTPCLaserTracks.cxx AliTPCSensorTemp.cxx  AliTPCSensorTempArray.cxx AliTPCCalibRawBase.cxx AliTPCCalibPedestal.cxx AliTPCCalibPulser.cxx   AliTPCCalibCE.cxx AliTPCCalibRaw.cxx AliTPCPreprocessor.cxx   AliTPCPreprocessorOnline.cxx AliTPCCalibViewer.cxx  AliTPCCalibViewerGUI.cxx  AliTPCCalibViewerGUItime.cxx AliTPCCalibViewerGUIAlarms.cxx AliTPCCalibQAChecker.cxx AliTPCGenDBTemp.cxx AliTPCGenDBConf.cxx AliTPCExB.cxx  AliTPCExBExact.cxx AliTPCExBFirst.cxx AliTPCTempMap.cxx AliTPCCalibVdrift.cxx AliTPCCalibTCF.cxx AliTPCAltroEmulator.cxx  AliTPCeventInfo.cxx AliTransform.cxx AliTPCTransform.cxx AliTPCAlign.cxx AliTPCGoofieValues.cxx AliTPCdataQA.cxx AliTPCQAChecker.cxx AliTPCConfigDA.cxx AliTPCConfigParser.cxx AliExternalComparison.cxx AliTPCkalmanTime.cxx AliESDcosmic.cxx AliTPCPointCorrection.cxx AliTPCTransformation.cxx AliTPCkalmanFit.cxx AliTPCLaserTrack.cxx AliTPCcalibBase.cxx AliTPCCorrection.cxx AliTPCInverseCorrection.cxx AliTPCComposedCorrection.cxx AliTPCExBBShape.cxx AliTPCExBTwist.cxx AliTPCGGVoltError.cxx AliTPCFCVoltError3D.cxx AliTPCROCVoltError3D.cxx AliTPCBoundaryVoltError.cxx AliTPCSpaceCharge.cxx AliXRDPROOFtoolkit.cxx AliTPCCalibGlobalMisalignment.cxx AliTPCExBEffective.cxx AliTPCExBEffectiveSector.cxx)
-
+set ( SRCS   AliSegmentID.cxx  AliSegmentArray.cxx AliDigits.cxx AliH2F.cxx AliTPCLoader.cxx AliTPCPRF2D.cxx AliTPCRF1D.cxx AliDetectorParam.cxx AliTPCParam.cxx AliTPCParamSR.cxx AliTPCParamCR.cxx AliTPCdigit.cxx AliSimDigits.cxx AliDigitsArray.cxx AliTPCDigitsArray.cxx AliTPCmapper.cxx AliTPCROC.cxx AliTPCCalROC.cxx AliTPCCalPad.cxx AliTPCCalDet.cxx AliTPCcalibDB.cxx AliTPCcalibDButil.cxx AliTPCAltroMapping.cxx AliTPCRawStream.cxx AliTPCRawStreamFast.cxx AliTPCRawStreamV3.cxx AliTPCLaserTracks.cxx AliTPCSensorTemp.cxx  AliTPCSensorTempArray.cxx AliTPCCalibRawBase.cxx AliTPCCalibPedestal.cxx AliTPCCalibPulser.cxx   AliTPCCalibCE.cxx AliTPCCalibRaw.cxx AliTPCPreprocessor.cxx   AliTPCPreprocessorOnline.cxx AliTPCCalibViewer.cxx  AliTPCCalibViewerGUI.cxx  AliTPCCalibViewerGUItime.cxx AliTPCCalibViewerGUIAlarms.cxx AliTPCCalibQAChecker.cxx AliTPCGenDBTemp.cxx AliTPCGenDBConf.cxx AliTPCExB.cxx  AliTPCExBExact.cxx AliTPCExBFirst.cxx AliTPCTempMap.cxx AliTPCCalibVdrift.cxx AliTPCCalibTCF.cxx AliTPCAltroEmulator.cxx  AliTPCeventInfo.cxx AliTransform.cxx AliTPCTransform.cxx AliTPCAlign.cxx AliTPCGoofieValues.cxx AliTPCdataQA.cxx AliTPCQAChecker.cxx AliTPCConfigDA.cxx AliTPCConfigParser.cxx AliExternalComparison.cxx AliTPCkalmanTime.cxx AliESDcosmic.cxx AliTPCPointCorrection.cxx AliTPCTransformation.cxx AliTPCkalmanFit.cxx AliTPCLaserTrack.cxx AliTPCcalibBase.cxx AliTPCCorrection.cxx AliTPCInverseCorrection.cxx AliTPCComposedCorrection.cxx AliTPCExBBShape.cxx AliTPCExBTwist.cxx AliTPCGGVoltError.cxx AliTPCBoundaryVoltError.cxx AliTPCCalibGlobalMisalignment.cxx AliTPCFCVoltError3D.cxx AliTPCROCVoltError3D.cxx AliTPCSpaceCharge.cxx AliTPCSpaceCharge3D.cxx AliXRDPROOFtoolkit.cxx AliTPCExBEffective.cxx AliTPCExBEffectiveSector.cxx )
+    
 string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
 
 set ( DHDR  TPCbaseLinkDef.h)
index 7e314c2..e7c7868 100644 (file)
@@ -25,7 +25,7 @@
 # SHLIBS - Shared Libraries and objects for linking (Executables only)           #
 #--------------------------------------------------------------------------------#
 
-set ( SRCS  AliZDCDigit.cxx AliZDCRawStream.cxx AliZDCPedestals.cxx AliZDCLaserCalib.cxx AliZDCEnCalib.cxx AliZDCTowerCalib.cxx AliZDCMBCalib.cxx AliZDCChMap.cxx AliZDCMisAligner.cxx AliZDCDataDCS.cxx AliZDCPreprocessor.cxx AliZDCQAChecker.cxx)
+set ( SRCS  AliZDCDigit.cxx AliZDCRawStream.cxx AliZDCCalib.cxx AliZDCPedestals.cxx AliZDCLaserCalib.cxx AliZDCEnCalib.cxx AliZDCTowerCalib.cxx AliZDCMBCalib.cxx AliZDCChMap.cxx AliZDCMisAligner.cxx AliZDCDataDCS.cxx AliZDCPreprocessor.cxx AliZDCQAChecker.cxx)
 
 string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
 
index 4843427..8a02bb5 100644 (file)
@@ -14,16 +14,19 @@ set(IRST_INSTALLDIR $ENV{IRST_INSTALLDIR})
 if(NOT IRST_INSTALLDIR)
   if(ALICE)
     message(STATUS "Setting IRST_INSTALLDIR to ${ALICE}/local/ALICENewRuleChecker")
-    set(IRST_INSTALLDIR ${ALICE}/local/ALICENewRuleChecker)
+    set(IRST_INSTALLDIR ${ALICE_ROOT}/cmakelocal/ALICENewRuleChecker)
   endif(ALICE)
 endif(NOT IRST_INSTALLDIR)
 
 if(IRST_INSTALLDIR)
-  find_file(RULECHECKER_JAR NAMES NewRuleChecker.jar PATHS ${IRST_INSTALLDIR}/NewRuleChecker)
-  find_file(RULECHECKER_RULES NAMES CodingConventions.xml PATHS ${IRST_INSTALLDIR}/NewRuleChecker/config)
-  find_file(FACTEXTRACTOR_JAR NAME FactExtractor.jar PATHS ${IRST_INSTALLDIR}/FactExtractor)
+  find_file(RULECHECKER_JAR NAMES NewRuleChecker.jar PATHS ${IRST_INSTALLDIR}/NewRuleChecker ${ALICE_ROOT}/cmake/RuleChecker)
+  find_file(RULECHECKER_RULES NAMES CodingConventions.xml PATHS ${IRST_INSTALLDIR}/NewRuleChecker/config ${ALICE_ROOT}/cmake/RuleChecker)
+  find_file(FACTEXTRACTOR_JAR NAME FactExtractor.jar PATHS ${IRST_INSTALLDIR}/FactExtractor ${ALICE_ROOT}/cmake/RuleChecker)
   if(RULECHECKER_JAR AND RULECHECKER_RULES AND RULECHECKER_SRCML AND JAVA_RUNTIME)
     set(RULECHECKER_FOUND TRUE)
+    message(STATUS "RuleChecker jar : ${RULECHECKER_JAR}")
+    message(STATUS "RuleChecker rules : ${RULECHECKER_RULES}")
+    message(STATUS "RuleChecker factextractor : ${FACTEXTRACTOR_JAR}")
     message(STATUS "RuleChecker found on the system")
   else()
     message(STATUS "RuleChecker not found on this system")
diff --git a/cmake/RuleChecker/CodingConventions.xml b/cmake/RuleChecker/CodingConventions.xml
new file mode 100755 (executable)
index 0000000..43a19b7
--- /dev/null
@@ -0,0 +1,316 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<ConventionConfigurations>
+   <ALICEConfig>
+      <ALICECodingRules check = "true">
+       <Rules category = "NamingRules" check = "true">
+               <Rule check = "true">
+                       <Name>RN3</Name>
+                       <Description>@ No special characters in names are allowed (_,#,$,&amp;,@,-,%).</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RN4</Name>
+                       <Description>@ Header file names are derived from the 
+@ class name and have the suffix ".h" (Classname.h).</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RN5</Name>
+                       <Description>@ Implementation file names are derived from 
+@ the class name and have the suffix ".cxx" (Classname.cxx).</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RN6</Name>
+                       <Description>@ Class name starts with the prefix "Ali".</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RN8</Name>
+                       <Description>@ Class names follow the general rule RN3.</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RN9</Name>
+                       <Description>@ Member function names start with a capital.</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RN10</Name>
+                       <Description>@ Member function names follow the general rule RN3.</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RN11</Name>
+                       <Description>@ Data member names start with a prefix "f".</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RN12</Name>
+                       <Description>@ Data member names follow the general rule RN3.</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RN13</Name>
+                       <Description>@ Local variables names start with a lower case letter.</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RN14</Name>
+                       <Description>@ Local variable names follow the general rule RN3.</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RN15</Name>
+                       <Description>@ Global non-constant, objects names start with a 
+@ prefix "gAli". Global constant objects names start 
+@ with a prefix "k".</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RN16</Name>
+                       <Description>@ Global variables names follow the general rule RN3.</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RN17</Name>
+                       <Description>@ Constants, including names in enumeration 
+@ types and constant statics start with a prefix "k".</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RN18</Name>
+                       <Description>@ Constant names follow the general rule RN3.</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RN19</Name>
+                       <Description>@ Static data members names start with a prefix "fg", 
+@ constant data members names start with a prefix "fk", 
+@ static constant data members start with a prefix "fgk".</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RN20</Name>
+                       <Description>@ Special data member names follow the general rule RN3.</Description>
+               </Rule>
+       </Rules>
+       <Rules category = "CodingRules" check = "true">
+               <Rule check = "true">
+                       <Name>RC3</Name>
+                       <Description>@ Header files begin and end with multiple-inclusion 
+@ protection, as follows:
+@         #ifndef CLASSNAME_H 
+@         #define CLASSNAME_H
+@          ....
+@         #endif
+@ where CLASSNAME is constructed from the name of 
+@ class by converting all letters to capitals.</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RC4</Name>
+                       <Description>@ Header files should hold the definition of a single 
+@ class. It is possible to define more classes in one 
+@ header file only if these classes are embedded.</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RC5</Name>
+                       <Description>@ Implementation files should hold all the member 
+@ function definitions for a single class (or embedded 
+@ classes) as defined in the corresponding header file.</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RC6</Name>
+                       <Description>@ All declarations are declared with friend first 
+@ (if there are any), then public, protected and private.</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RC7</Name>
+                       <Description>@ Usage of global variables should be avoided: they 
+@ should be encapsulated in a class. However global 
+@ variables pointing to the main object of a package can occur 
+@ (e.g. gAlice in AliRoot package).</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RC8</Name>
+                       <Description>@ The usage of friend classes should be avoided apart 
+@ from I/O overloading where it is needed.</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RC9</Name>
+                       <Description>@ All classes containing at least on virtual function 
+@ MUST have a virtual destractor.</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RC10</Name>
+                       <Description>@ A class that has a member datum with a type which is 
+@ a built-in pointer should have a copy constructor and 
+@ an assignment operator.</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RC11</Name>
+                       <Description>@ Make const all member functions that are not supposed 
+@ to change member data.</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RC12</Name>
+                       <Description>@ Dummy argument names in member function declarations 
+@ should be always provided, apart from arguments that are not used.</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RC14</Name>
+                       <Description>@ All class data members should be declared as 
+@ "private" or "protected".</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RC15</Name>
+                       <Description>@ Structures can be used only for accessing FORTRAN 
+@ common blocks, functions from external libraries, or internally 
+@ within a class. They can have only data members and eventually a 
+@ default constructor, member functions are not allowed. Classes 
+@ should be used instead in all other cases.</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RC16</Name>
+                       <Description>@ Using the following words or phrases 
+@ is not allowed in output statements.
+@      Segmentation violation
+@      Segmentation fault
+@      Bus error
+@      Abort
+@      Floating point exception
+@      Killed
+@      Busy flag cleared</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RC17</Name>
+                       <Description>@ Floating point numbers must not be compared 
+@ with the "==" or "!=" operators , but with
+@ an appropriate function that calculates 
+@ how close the two values are to each other.
+@ If the two numbers are "close enough", 
+@ then we call them equal. This rule does 
+@ not apply to the variables just after 
+@ initialization whose value is not 
+@ affected by rounding errors.</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RC18</Name>
+                       <Description>@ Data members of a class must not be redefined 
+@ in derived classes.</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RC19</Name>
+                       <Description>@ In parameters of a method, objects that are 
+@ passed by pointer or by reference and that are not 
+@ modified should be declared const.</Description>
+               </Rule>
+       </Rules>
+       <Rules category = "Guidelines" check = "true">
+               <Rule check = "true">
+                       <Name>GC1</Name>
+                       <Description>@ To be careful especially with using exceptions, 
+@ and templates</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>GC2</Name>
+                       <Description>@ When only referring to pointers or references to 
+@ types defined in the header file its often not necessary to 
+@ include that file. It may be sufficient to use forward declaration.</Description>
+               </Rule>
+       </Rules>
+       <Rules category = "StyleRules" check = "true">
+               <Rule check = "true">
+                       <Name>RS1</Name>
+                       <Description>@ Each class contains a description of the class 
+@ functionality placed at the beginning of the class header 
+@ file and an extensive description at the beginning of the 
+@class implementation file.</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RS2</Name>
+                       <Description>@ All data members of a class are described by a short 
+@comment following the data member declaration on the same line.</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RS3</Name>
+                       <Description>@ Member functions comments in implementation files should 
+@ be put on the new line after the first "{".</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RS4</Name>
+                       <Description>@ Header files should not have method body inside the class 
+@ definitions in case they do not fit on one or two lines or when the 
+@ inline function has unused arguments. The bodies of "inline" functions 
+@ should go to the end of the header file after the class definition.</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RS5</Name>
+                       <Description>@ There is no need to use the keyword "inline" when defining 
+@ the body of a function in the class definition.</Description>
+               </Rule>
+       </Rules>
+      </ALICECodingRules>
+      <ForbiddenStrings>
+       <String>Segmentation violation</String>
+       <String>Segmentation fault</String>
+       <String>Bus error</String>
+       <String>Abort</String>
+       <String>Floating point exception</String>
+       <String>Segmentation fault</String>
+       <String>Killed</String>
+       <String>Busy flag cleared</String>
+      </ForbiddenStrings>
+   </ALICEConfig>
+   <ROOTConfig>
+      <ROOTCodingRules check = "true">
+       <Rules category = "NamingRules" check = "true">
+               <Rule check = "true">
+                       <Name>RN2</Name>
+                       <Description>@ No special characters in names are allowed (_,#,$,&amp;,@,-,%).</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RN3</Name>
+                       <Description>@ Types begin with a capital letter and end with '_t'.</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RN4</Name>
+                       <Description>@ Base classes begin with 'T'.</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RN6</Name>
+                       <Description>@ Enumeration types begin with 'E'.</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RN7</Name>
+                       <Description>@ Avoid raw C types, we check for the non-portable (memory-wise) types
+@ 'long', 'unsigned long', 'long double', 'bool', 'long long' and 
+@ 'unsigned long long'.</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RN9</Name>
+                       <Description>@ Attributes begin with 'f' and function begin with a capital letter.</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RN10</Name>
+                       <Description>@ Global static variables begin with 'g'.</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RN11</Name>
+                       <Description>@ Static data members begin with 'fg'.</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RN12</Name>
+                       <Description>@ Local variables and parameters begin with a lowercase word.</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RN13</Name>
+                       <Description>@ Constants begin with 'k', including names of enumeration, 
+@ constants and constant statics.</Description>
+               </Rule>
+       </Rules>
+       <Rules category = "StyleRules" check = "true">
+               <Rule check = "true">
+                       <Name>RS1</Name>
+                       <Description>@ &lt;TAB&gt; used for indentation.</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RS2</Name>
+                       <Description>@ &lt;SPACE&gt; of 3 should be used for indentation.</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RS3</Name>
+                       <Description>@ Comments should be written after ClassDef(...,#).</Description>
+               </Rule>
+               <Rule check = "true">
+                       <Name>RS4</Name>
+                       <Description>@ Member functions' comments should be put on the new line after the first &quot;{&quot;.</Description>
+               </Rule>
+       </Rules>
+      </ROOTCodingRules>
+   </ROOTConfig>
+</ConventionConfigurations>
diff --git a/cmake/RuleChecker/FactExtractor.jar b/cmake/RuleChecker/FactExtractor.jar
new file mode 100755 (executable)
index 0000000..ba2c27a
Binary files /dev/null and b/cmake/RuleChecker/FactExtractor.jar differ
diff --git a/cmake/RuleChecker/NewRuleChecker.jar b/cmake/RuleChecker/NewRuleChecker.jar
new file mode 100755 (executable)
index 0000000..6949abb
Binary files /dev/null and b/cmake/RuleChecker/NewRuleChecker.jar differ