#include <EcalSampleMask.h>
Public Member Functions | |
EcalSampleMask () | |
EcalSampleMask (const unsigned int ebmask, const unsigned int eemask) | |
EcalSampleMask (const std::vector< unsigned int > &ebmask, const std::vector< unsigned int > &eemask) | |
float | getEcalSampleMaskRecordEB () const |
float | getEcalSampleMaskRecordEE () const |
void | print (std::ostream &s) const |
void | setEcalSampleMaskRecordEB (const unsigned int mask) |
void | setEcalSampleMaskRecordEB (const std::vector< unsigned int > &ebmask) |
void | setEcalSampleMaskRecordEE (const unsigned int mask) |
void | setEcalSampleMaskRecordEE (const std::vector< unsigned int > &eemask) |
bool | useSample (const int sampleId, DetId &theCrystal) const |
bool | useSampleEB (const int sampleId) const |
bool | useSampleEE (const int sampleId) const |
~EcalSampleMask () | |
Private Attributes | |
unsigned int | sampleMaskEB_ |
unsigned int | sampleMaskEE_ |
Author: Giovanni Franzoni, UMN Created: 09 Apr 2012
Definition at line 14 of file EcalSampleMask.h.
EcalSampleMask::EcalSampleMask | ( | ) |
Author: Giovanni Franzoni, UMN Created: 08 May 2012
Definition at line 11 of file EcalSampleMask.cc.
References EcalDataFrame::MAXSAMPLES, funct::pow(), and sampleMaskEB_.
EcalSampleMask::EcalSampleMask | ( | const unsigned int | ebmask, |
const unsigned int | eemask | ||
) |
EcalSampleMask::EcalSampleMask | ( | const std::vector< unsigned int > & | ebmask, |
const std::vector< unsigned int > & | eemask | ||
) |
Definition at line 25 of file EcalSampleMask.cc.
References setEcalSampleMaskRecordEB().
EcalSampleMask::~EcalSampleMask | ( | ) |
Definition at line 31 of file EcalSampleMask.cc.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 25 of file EcalSampleMask.h.
References sampleMaskEB_.
Referenced by EcalSampleMask().
void EcalSampleMask::setEcalSampleMaskRecordEB | ( | const std::vector< unsigned int > & | ebmask | ) |
Definition at line 36 of file EcalSampleMask.cc.
References gather_cfg::cout, EcalDataFrame::MAXSAMPLES, alignCSCRings::s, and sampleMaskEB_.
|
inline |
void EcalSampleMask::setEcalSampleMaskRecordEE | ( | const std::vector< unsigned int > & | eemask | ) |
Definition at line 64 of file EcalSampleMask.cc.
References gather_cfg::cout, EcalDataFrame::MAXSAMPLES, alignCSCRings::s, and sampleMaskEE_.
bool EcalSampleMask::useSample | ( | const int | sampleId, |
DetId & | theCrystal | ||
) | const |
Definition at line 125 of file EcalSampleMask.cc.
References gather_cfg::cout, EcalBarrel, EcalEndcap, EcalDataFrame::MAXSAMPLES, DetId::subdetId(), useSampleEB(), and useSampleEE().
bool EcalSampleMask::useSampleEB | ( | const int | sampleId | ) | const |
Definition at line 93 of file EcalSampleMask.cc.
References gather_cfg::cout, EcalDataFrame::MAXSAMPLES, and sampleMaskEB_.
Referenced by useSample().
bool EcalSampleMask::useSampleEE | ( | const int | sampleId | ) | const |
Definition at line 109 of file EcalSampleMask.cc.
References gather_cfg::cout, EcalDataFrame::MAXSAMPLES, and sampleMaskEE_.
Referenced by useSample().
|
private |
Definition at line 41 of file EcalSampleMask.h.
Referenced by EcalSampleMask(), getEcalSampleMaskRecordEB(), print(), setEcalSampleMaskRecordEB(), setEcalSampleMaskRecordEE(), and useSampleEB().
|
private |
Definition at line 42 of file EcalSampleMask.h.
Referenced by EcalSampleMask(), getEcalSampleMaskRecordEE(), print(), setEcalSampleMaskRecordEE(), and useSampleEE().