RawChannelId.h File Reference

#include "Conventions/Detector.h"
#include "Conventions/ElecType.h"
#include <iosfwd>

Go to the source code of this file.

Classes

class  RawChannelId

Defines

#define RAWCHANNELID_NEW_CTOR   1

Functions

std::ostream & operator<< (std::ostream &os, const RawChannelId &rcid)
Bool_t operator< (const RawChannelId &lhs, const RawChannelId &rhs)
Bool_t operator== (const RawChannelId &lhs, const RawChannelId &rhs)
Bool_t operator!= (const RawChannelId &lhs, const RawChannelId &rhs)

Variables

const UInt_t defaultRawChannelId = 0

Define Documentation

#define RAWCHANNELID_NEW_CTOR   1

Definition at line 31 of file RawChannelId.h.


Function Documentation

Bool_t operator!= ( const RawChannelId lhs,
const RawChannelId rhs 
) [inline]

Definition at line 169 of file RawChannelId.h.

References RawChannelId::ConvertToVersion2(), and RawChannelId::fEncoded.

00170 { 
00171   lhs.ConvertToVersion2(); rhs.ConvertToVersion2();
00172   return lhs.fEncoded != rhs.fEncoded; 
00173 }

Bool_t operator< ( const RawChannelId lhs,
const RawChannelId rhs 
) [inline]

Definition at line 157 of file RawChannelId.h.

References RawChannelId::ConvertToVersion2(), and RawChannelId::fEncoded.

00158 { 
00159   lhs.ConvertToVersion2(); rhs.ConvertToVersion2();
00160   return lhs.fEncoded < rhs.fEncoded; 
00161 }

std::ostream& operator<< ( std::ostream &  os,
const RawChannelId rcid 
)

Definition at line 114 of file RawChannelId.cxx.

00115 { return rcid.FormatToOStream(os); }

Bool_t operator== ( const RawChannelId lhs,
const RawChannelId rhs 
) [inline]

Definition at line 163 of file RawChannelId.h.

References RawChannelId::ConvertToVersion2(), and RawChannelId::fEncoded.

00164 { 
00165   lhs.ConvertToVersion2(); rhs.ConvertToVersion2();
00166   return lhs.fEncoded == rhs.fEncoded; 
00167 }


Variable Documentation

const UInt_t defaultRawChannelId = 0

Generated on 8 Jul 2019 for loon by  doxygen 1.6.1