]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/TPCLib/AliHLTTPCRunStatisticsProducerComponent.cxx
minor update of documentation
[u/mrichter/AliRoot.git] / HLT / TPCLib / AliHLTTPCRunStatisticsProducerComponent.cxx
index 860f432cd8c797e06180f1c24e22eb748d20b396..3aa369b0dfd2661e757c729bd429aac29927767b 100644 (file)
@@ -38,9 +38,7 @@ using namespace std;
 
 #include <cerrno>
 
-// ** This is a global object used for automatic component registration, do not use this
-AliHLTTPCRunStatisticsProducerComponent gAliHLTTPCRunStatisticsProducerComponent;
-
+/** ROOT macro for the implementation of ROOT specific class methods */
 ClassImp(AliHLTTPCRunStatisticsProducerComponent)
     
 // ------------------------------------------------------------------------------------------
@@ -99,7 +97,7 @@ AliHLTComponent* AliHLTTPCRunStatisticsProducerComponent::Spawn() {
 }
  
 // ------------------------------------------------------------------------------------------
-Int_t AliHLTTPCRunStatisticsProducerComponent::DoInit( int argc, const char** argv ) {
+Int_t AliHLTTPCRunStatisticsProducerComponent::DoInit( int /*argc*/, const char** /*argv*/ ) {
   // see header file for class documentation
 
   Int_t iResult = 0;
@@ -124,7 +122,8 @@ Int_t AliHLTTPCRunStatisticsProducerComponent::DoDeinit() {
 }
 
 // ------------------------------------------------------------------------------------------
-Int_t AliHLTTPCRunStatisticsProducerComponent::DoEvent( const AliHLTComponentEventData& /*evtData*/, AliHLTComponentTriggerData& trigData ) {
+Int_t AliHLTTPCRunStatisticsProducerComponent::DoEvent( const AliHLTComponentEventData& /*evtData*/,
+                                                       AliHLTComponentTriggerData& /*trigData*/ ) {
   // see header file for class documentation
 
   // ** Process EventStatistics Block
@@ -141,7 +140,7 @@ Int_t AliHLTTPCRunStatisticsProducerComponent::DoEvent( const AliHLTComponentEve
   }
 
   // ** increase number of events
-  fRunStat->AddNEvents();
+  fRunStat->IncrementNEvents();
 
 
   PushBack ( (TObject*) GetRunStatistics(), sizeof(AliHLTTPCRunStatistics), kAliHLTDataTypeRunStatistics|kAliHLTDataOriginTPC, (AliHLTUInt32_t) 0 );