CMS 3D CMS Logo

Classes | Macros | Functions
FedChannelConnection.h File Reference
#include "CondFormats/Serialization/interface/Serializable.h"
#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...
 

Macros

#define CondFormats_SiStripObjects_FedChannelConnection_H
 

Functions

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

Macro Definition Documentation

#define CondFormats_SiStripObjects_FedChannelConnection_H

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().

Referenced by correctionCategory_class::correctionCategory_class(), FWConfigurationManager::guessAndReadFromFile(), CTPPSPixelLocalTrack::setValid(), and EMap::EMapRow::~EMapRow().

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

Debug info for FedChannelConnection class.

Definition at line 227 of file FedChannelConnection.cc.

References FedChannelConnection::print().

227  {
228  std::stringstream ss;
229  conn.print(ss);
230  os << ss.str();
231  return os;
232 }