#include "DataFormats/MuonDetId/interface/CSCDetId.h"
#include <iosfwd>
#include <vector>
Go to the source code of this file.
Classes | |
class | CSCDBGains |
struct | CSCDBGains::Item |
Functions | |
std::ostream & | operator<< (std::ostream &os, const CSCDBGains &cscDbGains) |
std::ostream& operator<< | ( | std::ostream & | os, |
const CSCDBGains & | cscDbGains | ||
) |
Definition at line 14 of file CSCDBGains.cc.
References CSCIndexer::detIdFromStripChannelIndex(), CSCDBGains::gains, and i.
{ CSCIndexer indexer; for(size_t i = 0; i < cscDbGains.gains.size(); ++i) { std::pair<CSCDetId, CSCIndexer::IndexType> indexPair = indexer.detIdFromStripChannelIndex(i); os << indexPair.first << " strip:" << indexPair.second << " slope:" << cscDbGains.gains[i].gain_slope << "\n"; } return os; }