1 #ifndef GlobalTriggerAnalyzer_L1GtPatternWriter_h
2 #define GlobalTriggerAnalyzer_L1GtPatternWriter_h
23 #include <boost/cstdint.hpp>
44 const std::string& footer,
const std::vector<std::string>& columns,
45 const std::vector<boost::uint32_t>&
lengths,
46 const std::vector<boost::uint32_t>& defaultValues,
47 const std::vector<int>& bx,
63 static boost::uint32_t
mask(boost::uint32_t length);
void writePatterns(const L1GtPatternMap &patterns)
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)