#include <HGCalCassette.h>
Public Member Functions | |
std::pair< double, double > | getShift (int layer, int zside, int cassette, bool scnt=false) const |
HGCalCassette (int cassette, const std::vector< double > &shifts) | |
HGCalCassette () | |
void | setParameter (int cassette, const std::vector< double > &shifts, bool both=true) |
void | setParameterScint (const std::vector< double > &shifts) |
Static Public Member Functions | |
static int | cassetteIndex (int det, int layer, int zside, int cassette) |
static int | cassetteType (int det, int zside, int cassette) |
Private Attributes | |
int | cassette_ |
std::vector< double > | shifts_ |
std::vector< double > | shiftsScnt_ |
bool | typeHE_ |
Static Private Attributes | |
static constexpr int32_t | factor_ = 100 |
static constexpr int | positEE_ [6] = {2, 1, 0, 5, 4, 3} |
static constexpr int | positHE_ [12] = {5, 4, 3, 2, 1, 0, 11, 10, 9, 8, 7, 6} |
Definition at line 8 of file HGCalCassette.h.
|
inline |
Definition at line 10 of file HGCalCassette.h.
References setParameter().
|
inline |
Definition at line 11 of file HGCalCassette.h.
|
static |
Definition at line 68 of file HGCalCassette.cc.
References factor_, nano_mu_digi_cff::layer, and ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::side().
Referenced by HGCalNumberingScheme::getUnitID(), and HGCalNumberingScheme::HGCalNumberingScheme().
|
static |
Definition at line 73 of file HGCalCassette.cc.
References positEE_, positHE_, and ecaldqm::zside().
Referenced by DDHGCalMixRotatedCassette::positionMix(), DDHGCalMixRotatedFineCassette::positionMix(), DDHGCalMixRotatedLayer::positionMix(), HGCalMixRotatedLayer::positionMix(), HGCalMixRotatedCassette::positionMix(), and HGCalMixRotatedFineCassette::positionMix().
std::pair< double, double > HGCalCassette::getShift | ( | int | layer, |
int | zside, | ||
int | cassette, | ||
bool | scnt = false |
||
) | const |
Definition at line 55 of file HGCalCassette.cc.
References cassette_, nano_mu_digi_cff::layer, positEE_, positHE_, shifts_, shiftsScnt_, typeHE_, geometryCSVtoXML::xy, and ecaldqm::zside().
Referenced by HGCalDDDConstants::assignCellTrap(), HGCalDDDConstants::cassetteShiftScintillator(), HGCalDDDConstants::cassetteShiftSilicon(), HGCalDDDConstants::localToGlobal8(), HGCalDDDConstants::locateCell(), HGCalDDDConstants::locateCellTrap(), and HGCalDDDConstants::waferFromPosition().
void HGCalCassette::setParameter | ( | int | cassette, |
const std::vector< double > & | shifts, | ||
bool | both = true |
||
) |
Definition at line 8 of file HGCalCassette.cc.
References reco::HaloData::both, cassette_, dqmiolumiharvest::j, SiStripPI::min, shifts_, shiftsScnt_, and typeHE_.
Referenced by coreTools.RunOnData::__call__(), trackTools.MakeAODTrackCandidates::__call__(), runJetUncertainties.RunJetUncertainties::__call__(), metTools.AddMETCollection::__call__(), cmsswVersionTools.PickRelValInputFiles::__call__(), coreTools.RemoveMCMatching::__call__(), trackTools.MakePATTrackCandidates::__call__(), trigTools.SwitchOnTrigger::__call__(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties::__call__(), trigTools.SwitchOnTriggerStandAlone::__call__(), tauTools.AddTauCollection::__call__(), trackTools.MakeTrackCandidates::__call__(), trigTools.SwitchOnTriggerMatching::__call__(), trigTools.SwitchOnTriggerMatchingStandAlone::__call__(), trigTools.SwitchOnTriggerMatchEmbedding::__call__(), jetTools.AddJetCollection::__call__(), jetTools.SwitchJetCollection::__call__(), jetTools.UpdateJetCollection::__call__(), jetTools.AddJetID::__call__(), jetTools.SetTagInfos::__call__(), HGCalCassette(), HGCalDDDConstants::HGCalDDDConstants(), and runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties::jetConfiguration().
void HGCalCassette::setParameterScint | ( | const std::vector< double > & | shifts | ) |
Definition at line 37 of file HGCalCassette.cc.
References dqmiolumiharvest::j, SiStripPI::min, and shiftsScnt_.
|
private |
Definition at line 22 of file HGCalCassette.h.
Referenced by getShift(), and setParameter().
|
staticprivate |
Definition at line 25 of file HGCalCassette.h.
Referenced by cassetteIndex().
|
staticprivate |
Definition at line 20 of file HGCalCassette.h.
Referenced by cassetteType(), and getShift().
|
staticprivate |
Definition at line 21 of file HGCalCassette.h.
Referenced by cassetteType(), and getShift().
|
private |
Definition at line 24 of file HGCalCassette.h.
Referenced by getShift(), and setParameter().
|
private |
Definition at line 24 of file HGCalCassette.h.
Referenced by getShift(), setParameter(), and setParameterScint().
|
private |
Definition at line 23 of file HGCalCassette.h.
Referenced by getShift(), and setParameter().