#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 15 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 29 of file EcalSampleMask.cc.
References setEcalSampleMaskRecordEB(), and setEcalSampleMaskRecordEE().
EcalSampleMask::~EcalSampleMask | ( | ) |
Definition at line 35 of file EcalSampleMask.cc.
|
inline |
Definition at line 32 of file EcalSampleMask.h.
References sampleMaskEB_.
Referenced by EcalTrivialObjectAnalyzer::analyze().
|
inline |
Definition at line 33 of file EcalSampleMask.h.
References sampleMaskEE_.
Referenced by EcalTrivialObjectAnalyzer::analyze().
|
inline |
Definition at line 34 of file EcalSampleMask.h.
References sampleMaskEB_, sampleMaskEE_, useSample(), useSampleEB(), and useSampleEE().
|
private |
|
inline |
Definition at line 27 of file EcalSampleMask.h.
References RecoTauDiscriminantConfiguration::mask, and sampleMaskEB_.
Referenced by EcalSampleMask(), and setEcalSampleMaskRecordEE().
void EcalSampleMask::setEcalSampleMaskRecordEB | ( | const std::vector< unsigned int > & | ebmask | ) |
Definition at line 40 of file EcalSampleMask.cc.
References EcalDataFrame::MAXSAMPLES, alignCSCRings::s, and sampleMaskEB_.
|
inline |
Definition at line 28 of file EcalSampleMask.h.
References RecoTauDiscriminantConfiguration::mask, sampleMaskEE_, and setEcalSampleMaskRecordEB().
Referenced by EcalSampleMask().
void EcalSampleMask::setEcalSampleMaskRecordEE | ( | const std::vector< unsigned int > & | eemask | ) |
Definition at line 68 of file EcalSampleMask.cc.
References EcalDataFrame::MAXSAMPLES, alignCSCRings::s, and sampleMaskEE_.
bool EcalSampleMask::useSample | ( | const int | sampleId, |
DetId & | theCrystal | ||
) | const |
Definition at line 129 of file EcalSampleMask.cc.
References EcalBarrel, EcalEndcap, EcalDataFrame::MAXSAMPLES, DetId::subdetId(), useSampleEB(), and useSampleEE().
Referenced by print().
bool EcalSampleMask::useSampleEB | ( | const int | sampleId | ) | const |
Definition at line 97 of file EcalSampleMask.cc.
References EcalDataFrame::MAXSAMPLES, sampleMaskEB_, and globals_cff::x1.
Referenced by print(), and useSample().
bool EcalSampleMask::useSampleEE | ( | const int | sampleId | ) | const |
Definition at line 113 of file EcalSampleMask.cc.
References EcalDataFrame::MAXSAMPLES, sampleMaskEE_, and globals_cff::x1.
Referenced by print(), and useSample().
|
friend |
Definition at line 47 of file EcalSampleMask.h.
|
friend |
Definition at line 47 of file EcalSampleMask.h.
|
private |
Definition at line 43 of file EcalSampleMask.h.
Referenced by EcalSampleMask(), getEcalSampleMaskRecordEB(), print(), setEcalSampleMaskRecordEB(), and useSampleEB().
|
private |
Definition at line 44 of file EcalSampleMask.h.
Referenced by EcalSampleMask(), getEcalSampleMaskRecordEE(), print(), setEcalSampleMaskRecordEE(), and useSampleEE().