CMS 3D CMS Logo

Classes | Functions

/data/refman/pasoursint/CMSSW_5_3_10_patch2/src/CondFormats/SiStripObjects/interface/FedChannelConnection.h File Reference

#include "DataFormats/SiStripCommon/interface/SiStripConstants.h"
#include <boost/cstdint.hpp>
#include <ostream>
#include <sstream>

Go to the source code of this file.

Classes

class  FedChannelConnection
 Class containning control, module, detector and connection information, at the level of a FED channel. More...

Functions

bool operator< (const FedChannelConnection &, const FedChannelConnection &)
std::ostream & operator<< (std::ostream &, const FedChannelConnection &)

Function Documentation

bool operator< ( const FedChannelConnection ,
const FedChannelConnection  
)

Overload less than operator.

Definition at line 75 of file FedChannelConnection.cc.

References funct::false, FedChannelConnection::fedCh(), and FedChannelConnection::fedId().

                                                                                        { 
  if ( conn1.fedId() < conn2.fedId() ) { return true; }
  else if ( conn1.fedId() == conn2.fedId() ) { return ( conn1.fedCh() < conn2.fedCh() ? true : false ); }
  else { return false; }
}
std::ostream& operator<< ( std::ostream &  ,
const FedChannelConnection  
)

Debug info for FedChannelConnection class.

Definition at line 227 of file FedChannelConnection.cc.

References FedChannelConnection::print().

                                                                            {
  std::stringstream ss;
  conn.print(ss);
  os << ss.str();
  return os;
}