Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:19:14

0001 #ifndef HtrXmlPatternWriter_h_included
0002 #define HtrXmlPatternWriter_h_included 1
0003 
0004 #include "HtrXmlPatternSet.h"
0005 #include <ostream>
0006 
0007 class HtrXmlPatternWriter {
0008 public:
0009   HtrXmlPatternWriter();
0010   void setTagName(std::string tn) { m_tagName = tn; }
0011   void writePattern(HalfHtrData* spigotData, int fiber, std::ostream& os, int level = 0);
0012 
0013 private:
0014   void packWordsStd(int adc0, int adc1, int adc2, int capid, unsigned int& w1, unsigned int& w2);
0015   std::string m_tagName, m_stamp;
0016 };
0017 
0018 #endif