#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 | ( | ) |
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 |
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 36 of file EcalSampleMask.cc.
References gather_cfg::cout, EcalDataFrame::MAXSAMPLES, alignCSCRings::s, and sampleMaskEB_.
|
inline |
Definition at line 28 of file EcalSampleMask.h.
References RecoTauDiscriminantConfiguration::mask, sampleMaskEB_, and setEcalSampleMaskRecordEB().
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().
Referenced by print().
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 print(), and 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 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(), setEcalSampleMaskRecordEE(), and useSampleEB().
|
private |
Definition at line 44 of file EcalSampleMask.h.
Referenced by EcalSampleMask(), getEcalSampleMaskRecordEE(), print(), setEcalSampleMaskRecordEE(), and useSampleEE().