]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Adding new data block type for trigger counters.
authoraszostak <aszostak@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 1 Sep 2010 23:05:32 +0000 (23:05 +0000)
committeraszostak <aszostak@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 1 Sep 2010 23:05:32 +0000 (23:05 +0000)
HLT/BASE/AliHLTDataTypes.cxx
HLT/BASE/AliHLTDataTypes.h

index 009ed4a254058a759c4f4ed237e752d8cd4a6af7..4efdf81a30b4e5d19642004a4f107559330e2935 100644 (file)
@@ -182,6 +182,10 @@ const AliHLTComponentDataType kAliHLTDataTypeHistogram = AliHLTComponentDataType
 const char kAliHLTTNtupleDataTypeIDstring[8] = kAliHLTTNtupleDataTypeID;
 const AliHLTComponentDataType kAliHLTDataTypeTNtuple = AliHLTComponentDataTypeInitializer(kAliHLTTNtupleDataTypeIDstring, kAliHLTDataOriginAny);
 
+/** AliHLTTriggerCounters object */
+const char kAliHLTTriggerCountersDataTypeIDstring[8] = kAliHLTTriggerCountersDataTypeID;
+const AliHLTComponentDataType kAliHLTDataTypeTriggerCounters = AliHLTComponentDataTypeInitializer(kAliHLTTriggerCountersDataTypeIDstring, kAliHLTDataOriginHLT);
+
 /** Array of HLT Tracks (AliHLTTracksData) */
 const char kAliHLTTrackDataTypeIDstring[8] = kAliHLTTrackDataTypeID;
 const AliHLTComponentDataType kAliHLTDataTypeTrack = AliHLTComponentDataTypeInitializer(kAliHLTTrackDataTypeIDstring, kAliHLTDataOriginAny);
index 6019b98570970b054ec9aff3a0c280fc250e80eb..a4697df24cf02741320b4307bd437b2d52bd2f81 100644 (file)
@@ -62,8 +62,9 @@
  *                 kAliHLTDataTypeStreamerInfo (ROOTSTRI)
  *  13       Changed AliHLTEventDDL to now contain 31 words. The extra word is
  *           for the EMCAL detector, which needs 46 DDLs after DCAL was added.
+ *  14       Adding new data block type for HLT global trigger counters.
  */
-#define ALIHLT_DATA_TYPES_VERSION 13
+#define ALIHLT_DATA_TYPES_VERSION 14
 
 //////////////////////////////////////////////////////////////////////////
 //
@@ -477,6 +478,12 @@ const int kAliHLTComponentDataTypefIDsize=8;
  */
 #define kAliHLTTNtupleDataTypeID              {'R','O','O','T','T','U','P','L'}
 
+/** HLT trigger counters.
+ * - For the AliHLTTriggerCounters object. Normally with HLT as origin.
+ * @ingroup alihlt_component_datatypes
+ */
+# define kAliHLTTriggerCountersDataTypeID       {'T','R','G','C','O','U','N','T'}
+
 /** HLT Track
  * - Struct for Tracks based on AliExternalTrackParam
  * - varying origin
@@ -1117,6 +1124,11 @@ extern "C" {
    */                                                                  
   extern const AliHLTComponentDataType kAliHLTDataTypeTNtuple;           // {ROOTTUPL,"***"}
 
+  /** AliHLTTriggerCounters object for HLT global trigger counters.
+   * @ingroup alihlt_component_datatypes
+   */                                                                  
+  extern const AliHLTComponentDataType kAliHLTDataTypeTriggerCounters;           // {TRGCOUNT,"HLT "}
+
   /** General track array for the barrel tracks based on AliExternalTrackParam
    * Data format defined by AliHLTTracksData
    *