CMS 3D CMS Logo

cscdqm::Address Struct Reference

Structure to store detector addresses of any granularity: from whole detector to the single HV element. More...

#include <DQM/CSCMonitorModule/interface/CSCDQM_Detector.h>

List of all members.

Public Member Functions

const Addressoperator= (const Address &a)
const bool operator== (const Address &a) const

Public Attributes

unsigned int cfeb
unsigned int chamber
unsigned int hv
unsigned int layer
AddressMask mask
unsigned int ring
unsigned int side
unsigned int station


Detailed Description

Structure to store detector addresses of any granularity: from whole detector to the single HV element.

Definition at line 70 of file CSCDQM_Detector.h.


Member Function Documentation

const Address* cscdqm::Address::operator= ( const Address a  )  [inline]

Definition at line 93 of file CSCDQM_Detector.h.

References cfeb, cscdqm::AddressMask::cfeb, chamber, cscdqm::AddressMask::chamber, cscdqm::AddressMask::hv, hv, cscdqm::AddressMask::layer, layer, mask, cscdqm::AddressMask::ring, ring, side, cscdqm::AddressMask::side, station, and cscdqm::AddressMask::station.

00093                                               {
00094     mask.side    = a.mask.side;
00095     side         = a.side;
00096     mask.station = a.mask.station;
00097     station      = a.station;
00098     mask.ring    = a.mask.ring;
00099     ring         = a.ring;
00100     mask.chamber = a.mask.chamber;
00101     chamber      = a.chamber;
00102     mask.layer   = a.mask.layer;
00103     layer        = a.layer;
00104     mask.cfeb    = a.mask.cfeb;
00105     cfeb         = a.cfeb;
00106     mask.hv      = a.mask.hv;
00107     hv           = a.hv;
00108     return this;
00109   };

const bool cscdqm::Address::operator== ( const Address a  )  const [inline]

Definition at line 82 of file CSCDQM_Detector.h.

References cfeb, cscdqm::AddressMask::cfeb, chamber, cscdqm::AddressMask::chamber, cscdqm::AddressMask::hv, hv, cscdqm::AddressMask::layer, layer, mask, cscdqm::AddressMask::ring, ring, side, cscdqm::AddressMask::side, station, and cscdqm::AddressMask::station.

00082                                                  {
00083     if (mask.side    == a.mask.side    && mask.side    == true && side    != a.side)    return false;
00084     if (mask.station == a.mask.station && mask.station == true && station != a.station) return false;
00085     if (mask.ring    == a.mask.ring    && mask.ring    == true && ring    != a.ring)    return false;
00086     if (mask.chamber == a.mask.chamber && mask.chamber == true && chamber != a.chamber) return false;
00087     if (mask.layer   == a.mask.layer   && mask.layer   == true && layer   != a.layer)   return false;
00088     if (mask.cfeb    == a.mask.cfeb    && mask.cfeb    == true && cfeb    != a.cfeb)    return false;
00089     if (mask.hv      == a.mask.hv      && mask.hv      == true && hv      != a.hv)      return false;
00090     return true;
00091   };


Member Data Documentation

unsigned int cscdqm::Address::cfeb

Definition at line 77 of file CSCDQM_Detector.h.

Referenced by cscdqm::Detector::AddressFromString(), cscdqm::Detector::AddressName(), cscdqm::Detector::Detector(), cscdqm::Summary::GetEfficiencyHW(), cscdqm::Summary::GetReportingArea(), cscdqm::Summary::GetValue(), operator=(), operator==(), cscdqm::Detector::PrintAddress(), cscdqm::Summary::Reset(), cscdqm::Summary::SetValue(), and cscdqm::Summary::Write().

unsigned int cscdqm::Address::chamber

Definition at line 75 of file CSCDQM_Detector.h.

Referenced by cscdqm::Detector::AddressFromString(), cscdqm::Detector::AddressName(), cscdqm::Summary::ChamberAddressToCoords(), cscdqm::Summary::ChamberCoordsToAddress(), cscdqm::Detector::Detector(), cscdqm::Summary::GetEfficiencyHW(), cscdqm::Summary::GetReportingArea(), cscdqm::Summary::GetValue(), operator=(), operator==(), cscdqm::Detector::PrintAddress(), cscdqm::Summary::Reset(), cscdqm::Summary::SetValue(), cscdqm::Summary::Write(), and cscdqm::Summary::WriteChamberState().

unsigned int cscdqm::Address::hv

Definition at line 78 of file CSCDQM_Detector.h.

Referenced by cscdqm::Detector::AddressFromString(), cscdqm::Detector::AddressName(), cscdqm::Detector::Detector(), cscdqm::Summary::GetEfficiencyHW(), cscdqm::Summary::GetReportingArea(), cscdqm::Summary::GetValue(), operator=(), operator==(), cscdqm::Detector::PrintAddress(), cscdqm::Summary::Reset(), cscdqm::Summary::SetValue(), and cscdqm::Summary::Write().

unsigned int cscdqm::Address::layer

Definition at line 76 of file CSCDQM_Detector.h.

Referenced by cscdqm::Detector::AddressFromString(), cscdqm::Detector::AddressName(), cscdqm::Summary::GetEfficiencyHW(), cscdqm::Summary::GetValue(), operator=(), operator==(), cscdqm::Detector::PrintAddress(), and cscdqm::Summary::SetValue().

AddressMask cscdqm::Address::mask

Definition at line 80 of file CSCDQM_Detector.h.

Referenced by cscdqm::Detector::AddressFromString(), cscdqm::Detector::AddressName(), cscdqm::Summary::ChamberAddressToCoords(), cscdqm::Summary::ChamberCoordsToAddress(), cscdqm::Detector::Detector(), cscdqm::Summary::GetEfficiencyArea(), cscdqm::Summary::GetEfficiencyHW(), cscdqm::Summary::GetReportingArea(), cscdqm::Summary::GetValue(), operator=(), operator==(), cscdqm::Detector::PrintAddress(), cscdqm::Summary::Reset(), CSCMonitorModule::setup(), cscdqm::Summary::SetValue(), cscdqm::EventProcessor::updateEfficiencyHistos(), CSCMonitorModule::updateFracHistos(), cscdqm::Summary::Write(), and cscdqm::Summary::WriteChamberState().

unsigned int cscdqm::Address::ring

Definition at line 74 of file CSCDQM_Detector.h.

Referenced by cscdqm::Detector::AddressFromString(), cscdqm::Detector::AddressName(), cscdqm::Summary::ChamberAddressToCoords(), cscdqm::Summary::ChamberCoordsToAddress(), cscdqm::Detector::Detector(), cscdqm::Summary::GetEfficiencyHW(), cscdqm::Summary::GetReportingArea(), cscdqm::Summary::GetValue(), operator=(), operator==(), cscdqm::Detector::PrintAddress(), cscdqm::Summary::Reset(), CSCMonitorModule::setup(), cscdqm::Summary::SetValue(), cscdqm::EventProcessor::updateEfficiencyHistos(), CSCMonitorModule::updateFracHistos(), cscdqm::Summary::Write(), and cscdqm::Summary::WriteChamberState().

unsigned int cscdqm::Address::side

Definition at line 72 of file CSCDQM_Detector.h.

Referenced by cscdqm::Detector::AddressFromString(), cscdqm::Detector::AddressName(), cscdqm::Summary::ChamberAddressToCoords(), cscdqm::Summary::ChamberCoordsToAddress(), cscdqm::Detector::Detector(), cscdqm::Summary::GetEfficiencyHW(), cscdqm::Summary::GetReportingArea(), cscdqm::Summary::GetValue(), operator=(), operator==(), cscdqm::Detector::PrintAddress(), CSCMonitorModule::setup(), cscdqm::Summary::SetValue(), cscdqm::EventProcessor::updateEfficiencyHistos(), CSCMonitorModule::updateFracHistos(), cscdqm::Summary::Write(), and cscdqm::Summary::WriteChamberState().

unsigned int cscdqm::Address::station

Definition at line 73 of file CSCDQM_Detector.h.

Referenced by cscdqm::Detector::AddressFromString(), cscdqm::Detector::AddressName(), cscdqm::Summary::ChamberAddressToCoords(), cscdqm::Summary::ChamberCoordsToAddress(), cscdqm::Detector::Detector(), cscdqm::Summary::GetEfficiencyArea(), cscdqm::Summary::GetEfficiencyHW(), cscdqm::Summary::GetReportingArea(), cscdqm::Summary::GetValue(), cscdqm::Summary::IsPhysicsReady(), operator=(), operator==(), cscdqm::Detector::PrintAddress(), CSCMonitorModule::setup(), cscdqm::Summary::SetValue(), cscdqm::EventProcessor::updateEfficiencyHistos(), CSCMonitorModule::updateFracHistos(), cscdqm::Summary::Write(), and cscdqm::Summary::WriteChamberState().


The documentation for this struct was generated from the following file:
Generated on Tue Jun 9 18:36:55 2009 for CMSSW by  doxygen 1.5.4