Changeset 12785 for trunk/FACT++/src
- Timestamp:
- 01/30/12 16:59:42 (13 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/DataCalib.h
r12619 r12785 25 25 void WriteFits(); 26 26 27 bool IsDrsCalib() const { return true; }27 int GetDrsStep() const { return fData.fStep; } 28 28 29 29 public: -
trunk/FACT++/src/DataWriteFits.cc
r12634 r12785 172 172 fFile.WriteKey("REFCLK", avg/cnt*2.048, "Average reference clock frequency in Hz"); 173 173 174 fFile.WriteKey("DRSCALIB", IsDrsCalib(), "This file belongs to a DRS calibration"); 174 fFile.WriteKey("DRSCALIB", GetDrsStep()>=0, "This file belongs to a DRS calibration"); 175 if (GetDrsStep()>=0) 176 fFile.WriteKey("DRSSTEP", GetDrsStep(), "Step of the DRS calibration"); 175 177 176 178 } … … 201 203 return false; 202 204 203 if ( !(e->TriggerType & FAD::EventHeader::kAll))205 if (e->TriggerType && !(e->TriggerType & FAD::EventHeader::kAll)) 204 206 fTriggerCounter[0]++; 205 207 else if ((e->TriggerType&FAD::EventHeader::kPedestal) && !(e->TriggerType&FAD::EventHeader::kTIM)) -
trunk/FACT++/src/DataWriteFits.h
r12619 r12785 25 25 bool WriteFooter(RUN_TAIL *rt); 26 26 27 virtual bool IsDrsCalib() const { return false; }27 virtual int GetDrsStep() const { return -1; } 28 28 29 29 public:
Note:
See TracChangeset
for help on using the changeset viewer.