#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 Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
unsigned int | sampleMaskEB_ |
unsigned int | sampleMaskEE_ |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Author: Giovanni Franzoni, UMN Created: 09 Apr 2012
Definition at line 16 of file EcalSampleMask.h.
EcalSampleMask::EcalSampleMask | ( | ) |
Definition at line 14 of file EcalSampleMask.cc.
References EcalDataFrame::MAXSAMPLES, funct::pow(), sampleMaskEB_, and sampleMaskEE_.
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(), and setEcalSampleMaskRecordEE().
EcalSampleMask::~EcalSampleMask | ( | ) |
Definition at line 30 of file EcalSampleMask.cc.
|
inline |
|
inline |
|
inline |
Definition at line 34 of file EcalSampleMask.h.
References alignCSCRings::s, sampleMaskEB_, and sampleMaskEE_.
|
private |
|
inline |
Definition at line 27 of file EcalSampleMask.h.
References ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::mask, and sampleMaskEB_.
Referenced by EcalSampleMask().
void EcalSampleMask::setEcalSampleMaskRecordEB | ( | const std::vector< unsigned int > & | ebmask | ) |
Definition at line 32 of file EcalSampleMask.cc.
References cms::cuda::assert(), EcalDataFrame::MAXSAMPLES, alignCSCRings::s, and sampleMaskEB_.
|
inline |
Definition at line 28 of file EcalSampleMask.h.
References ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::mask, and sampleMaskEE_.
Referenced by EcalSampleMask().
void EcalSampleMask::setEcalSampleMaskRecordEE | ( | const std::vector< unsigned int > & | eemask | ) |
Definition at line 61 of file EcalSampleMask.cc.
References cms::cuda::assert(), EcalDataFrame::MAXSAMPLES, alignCSCRings::s, and sampleMaskEE_.
bool EcalSampleMask::useSample | ( | const int | sampleId, |
DetId & | theCrystal | ||
) | const |
Definition at line 116 of file EcalSampleMask.cc.
References cms::cuda::assert(), EcalBarrel, EcalEndcap, EcalDataFrame::MAXSAMPLES, DetId::subdetId(), useSampleEB(), and useSampleEE().
bool EcalSampleMask::useSampleEB | ( | const int | sampleId | ) | const |
Definition at line 90 of file EcalSampleMask.cc.
References cms::cuda::assert(), EcalDataFrame::MAXSAMPLES, sampleMaskEB_, and testProducerWithPsetDescEmpty_cfi::x1.
Referenced by useSample().
bool EcalSampleMask::useSampleEE | ( | const int | sampleId | ) | const |
Definition at line 103 of file EcalSampleMask.cc.
References cms::cuda::assert(), EcalDataFrame::MAXSAMPLES, sampleMaskEE_, and testProducerWithPsetDescEmpty_cfi::x1.
Referenced by useSample().
|
friend |
Definition at line 44 of file EcalSampleMask.h.
|
friend |
Definition at line 44 of file EcalSampleMask.h.
|
private |
Definition at line 41 of file EcalSampleMask.h.
Referenced by EcalSampleMask(), getEcalSampleMaskRecordEB(), print(), setEcalSampleMaskRecordEB(), and useSampleEB().
|
private |
Definition at line 42 of file EcalSampleMask.h.
Referenced by EcalSampleMask(), getEcalSampleMaskRecordEE(), print(), setEcalSampleMaskRecordEE(), and useSampleEE().