1 #ifndef GlobalTriggerAnalyzer_L1GtPatternWriter_h
2 #define GlobalTriggerAnalyzer_L1GtPatternWriter_h
21 #include <boost/cstdint.hpp>
43 const std::vector<boost::uint32_t>&
lengths,
44 const std::vector<boost::uint32_t>& defaultValues,
45 const std::vector<int>& bx,
61 static boost::uint32_t
mask(boost::uint32_t length);
void writePatterns(const L1GtPatternMap &patterns)
PhiMemoryImage patterns[9]
std::vector< boost::uint32_t > m_defaults
std::vector< boost::uint32_t > m_lengths
static boost::uint32_t mask(boost::uint32_t length)
L1GtPatternWriter(std::ostream &destination, const std::string &header, const std::string &footer, const std::vector< std::string > &columns, const std::vector< boost::uint32_t > &lengths, const std::vector< boost::uint32_t > &defaultValues, const std::vector< int > &bx, bool debug=false)
std::vector< std::string > m_columns
virtual ~L1GtPatternWriter()
virtual void writePatternLine(const L1GtPatternLine &line)