emcFEMList Class Reference
[Tower calibration]

#include <emcFEMList.h>

List of all members.


Detailed Description

Small utility class to get the list of FEMs corresponding to a set of emcal sectors.

Definition at line 13 of file emcFEMList.h.

Public Member Functions

 emcFEMList (const char *sectors)
bool hasFEM (int ifem) const
bool hasSector (const char *sname) const
std::set< int > fems (const char *sname) const
void print (std::ostream &out=std::cout) const

Private Attributes

std::set< std::string > fSectors
std::set< int > fFems


Constructor & Destructor Documentation

emcFEMList::emcFEMList const char *  sectors  ) 
 

Definition at line 29 of file emcFEMList.C.

References EmcIndexer::EmcSectorId(), fSectors, pbgl(), and pbsc().


Member Function Documentation

std::set< int > emcFEMList::fems const char *  sname  )  const
 

Definition at line 94 of file emcFEMList.C.

References EmcIndexer::EmcSectorNumber(), and EmcIndexer::iSiSM144_PXSM144().

bool emcFEMList::hasFEM int  ifem  )  const
 

Definition at line 119 of file emcFEMList.C.

References fFems.

Referenced by emcBadModulesv1::ComputeMaps(), emcCalibrationDataHelper::ctor(), and emcDataProcessorv2::emcDataProcessorv2().

bool emcFEMList::hasSector const char *  sname  )  const
 

Definition at line 128 of file emcFEMList.C.

References fSectors.

Referenced by emcCalibrationDataHelper::initECalAtT0().

void emcFEMList::print std::ostream &  out = std::cout  )  const
 

Definition at line 139 of file emcFEMList.C.

References fSectors.


Member Data Documentation

std::set<int> emcFEMList::fFems [private]
 

Definition at line 28 of file emcFEMList.h.

Referenced by hasFEM().

std::set<std::string> emcFEMList::fSectors [private]
 

Definition at line 27 of file emcFEMList.h.

Referenced by emcFEMList(), hasSector(), and print().


The documentation for this class was generated from the following files: