Correction for coding conventions
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 15 Oct 2009 15:18:39 +0000 (15:18 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 15 Oct 2009 15:18:39 +0000 (15:18 +0000)
RAW/AliRawEventHeaderBase.h

index bcc8a91..ac0d1a0 100644 (file)
@@ -103,12 +103,23 @@ private:
 
 #define EVENT_HEADER_VERSION(AA,BB) AliRawEventHeaderV##AA##_##BB
 
+#if AA <= 2
 #define START_EVENT_HEADER(AA,BB) \
 class AliRawEventHeaderV##AA##_##BB:public AliRawEventHeaderBase { \
 public: \
-   AliRawEventHeaderV##AA##_##BB():AliRawEventHeaderBase() {}; \
+ AliRawEventHeaderV##AA##_##BB():AliRawEventHeaderBase(),              \
+   fType(0), fRunNb(0), fDetectorPattern(0), fLdcId(0), fGdcId(0) {};  \
    virtual ~AliRawEventHeaderV##AA##_##BB() {}; \
 private:
+#else
+#define START_EVENT_HEADER(AA,BB) \
+class AliRawEventHeaderV##AA##_##BB:public AliRawEventHeaderBase { \
+public: \
+ AliRawEventHeaderV##AA##_##BB():AliRawEventHeaderBase(),              \
+   fType(0), fRunNb(0), fDetectorPattern(0), fLdcId(0), fGdcId(0), fTimeStamp(0) {};   \
+   virtual ~AliRawEventHeaderV##AA##_##BB() {}; \
+private:
+#endif
 
 #define END_EVENT_HEADER(AA,BB) \
 ClassDef(AliRawEventHeaderV##AA##_##BB,1) \