3 #ifndef ALIHLTRUNSTATISTICS_H
4 #define ALIHLTRUNSTATISTICS_H
6 /* This file is property of and copyright by the ALICE HLT Project *
7 * ALICE Experiment at CERN, All rights reserved. *
8 * See cxx source for full Copyright notice */
10 /** @file AliHLTRunStatistics.h
11 @author Jochen Thaeder
13 @brief Base class for run statistics, for all detectors
16 // see below for class documentation
18 // refer to README to build package
20 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
25 #include "AliHLTDataTypes.h"
28 * @class AliHLTRunStatistics
29 * @brief Base class for run statistics, for all detectors
31 * The run statistic classes hold information / histograms about certain
32 * characteristica of the processed events. They are devided into 3 parts.
33 * A base class @see AliHLTRunStatistics for general Information, detector
34 * specific classes like @see AliHLTTPCRunStatistics for the TPC and a summary
35 * class @see AliHLTRunStatisticsSummary which can hold several detector classes.
37 * This is the base class.
39 * Currently implemented detecor classes <br>
40 * * @see AliHLTTPCRunStatistics <br>
42 * @ingroup alihlt_run_statistics alihlt_trigger
45 class AliHLTRunStatistics : public TObject {
50 AliHLTRunStatistics();
52 virtual ~AliHLTRunStatistics();
55 * @return name of detector
57 TString GetDetectorName() { return fDetectorName; }
59 /** Set Total number of tracks
60 * @param s name of detector
62 void SetDetectorName( TString s ) { fDetectorName = s; }
64 // -- event parameters ------------------------
66 /** Set Number of events
67 * @param i number of events
69 void SetNEvents( ULong_t i ) { fNEvents = i; }
72 void AddNEvents() { fNEvents++; }
74 /** Get number of events
75 * @return number of events
77 ULong_t GetNEvents() { return fNEvents; }
81 /** copy constructor prohibited */
82 AliHLTRunStatistics (const AliHLTRunStatistics&);
84 /** assignment operator prohibited */
85 AliHLTRunStatistics& operator= (const AliHLTRunStatistics&);
88 TString fDetectorName; // see above
90 /** Number of events */
91 ULong_t fNEvents; // see above
93 ClassDef(AliHLTRunStatistics, 0);