Index: trunk/FACT++/src/DataCalib.h
===================================================================
--- trunk/FACT++/src/DataCalib.h	(revision 12784)
+++ trunk/FACT++/src/DataCalib.h	(revision 12785)
@@ -25,5 +25,5 @@
     void WriteFits();
 
-    bool IsDrsCalib() const { return true; }
+    int GetDrsStep() const { return fData.fStep; }
 
 public:
Index: trunk/FACT++/src/DataWriteFits.cc
===================================================================
--- trunk/FACT++/src/DataWriteFits.cc	(revision 12784)
+++ trunk/FACT++/src/DataWriteFits.cc	(revision 12785)
@@ -172,5 +172,7 @@
         fFile.WriteKey("REFCLK", avg/cnt*2.048, "Average reference clock frequency in Hz");
 
-        fFile.WriteKey("DRSCALIB", IsDrsCalib(), "This file belongs to a DRS calibration");
+        fFile.WriteKey("DRSCALIB", GetDrsStep()>=0, "This file belongs to a DRS calibration");
+        if (GetDrsStep()>=0)
+            fFile.WriteKey("DRSSTEP", GetDrsStep(), "Step of the DRS calibration");
 
     }
@@ -201,5 +203,5 @@
         return false;
 
-    if (!(e->TriggerType & FAD::EventHeader::kAll))
+    if (e->TriggerType && !(e->TriggerType & FAD::EventHeader::kAll))
         fTriggerCounter[0]++;
     else  if ((e->TriggerType&FAD::EventHeader::kPedestal) && !(e->TriggerType&FAD::EventHeader::kTIM))
Index: trunk/FACT++/src/DataWriteFits.h
===================================================================
--- trunk/FACT++/src/DataWriteFits.h	(revision 12784)
+++ trunk/FACT++/src/DataWriteFits.h	(revision 12785)
@@ -25,5 +25,5 @@
     bool WriteFooter(RUN_TAIL *rt);
 
-    virtual bool IsDrsCalib() const { return false; }
+    virtual int GetDrsStep() const { return -1; }
 
 public:
