|  | ATLAS Offline Software
    | 
 
 
 
Go to the documentation of this file.
   37         ATH_MSG_ERROR( 
"Wrong initialisation of eta bins. Check the eta bin values in " << 
name() );
 
   38         return StatusCode::FAILURE;
 
   43         ATH_MSG_ERROR( 
"Wrong initialisation of eta bins in " << 
name() << 
". Values are not sorted!" );
 
   44         return StatusCode::FAILURE;
 
   47       using setOfCuts = std::variant< std::reference_wrapper<std::vector <double>>, std::reference_wrapper<std::vector <int>> >;
 
   75       for (setOfCuts& 
cuts : allCuts) {
 
   76         auto sCode = std::visit([noOfEtaBins] (
auto & testingCuts) -> 
StatusCode { 
 
   78           if (testingCuts.get().size() == noOfEtaBins) 
 
   79             return StatusCode::SUCCESS;
 
   81           if (testingCuts.get().size() > noOfEtaBins)
 
   82             return StatusCode::FAILURE;
 
   84           if (testingCuts.get().size() < noOfEtaBins)
 
   85             testingCuts.get().resize(noOfEtaBins, testingCuts.get().back());
 
   87           return StatusCode::SUCCESS;
 
   90         if (sCode.isFailure()) {
 
  148       return StatusCode::SUCCESS;
 
  155       return StatusCode::SUCCESS;
 
  162         ATH_MSG_INFO(
"Requesting cut value outside of configured eta range: clamping eta=" 
  179       cuts.resize(noOfEtaBins);
 
  184       else ATH_MSG_ERROR(
"CutName not recognized. Cuts will remain unchanged.");
 
  194       cuts.resize(noOfEtaBins);
 
  199       else ATH_MSG_ERROR(
"CutName not recognized. Cuts will remain unchanged.");
 
  
double getMaxEta() const override final
JetConstituentVector::iterator iterator
DoubleArrayProperty m_maxdImpactSSSSeeds
DoubleArrayProperty m_Xi2maxNoAdd
IntegerArrayProperty m_maxPixelHoles
DoubleArrayProperty m_minPTBrem
DoubleArrayProperty m_Xi2max
IntegerArrayProperty m_minSiNotShared
void getValue(const InDet::CutName cutName, std::vector< double > &cut) override final
Scalar eta() const
pseudorapidity method
int getMaxPixelHolesAtEta(const double eta) const override final
DoubleArrayProperty m_maxZImpact
int getMinInnermostPixelHitsAtEta(const double eta) const override final
double getMinPtAtEta(const double eta) const override final
IntegerArrayProperty m_maxDoubleHoles
int getMaxSctHolesAtEta(const double eta) const override final
IntegerArrayProperty m_maxHolesGapPattern
double getMaxZImpactAtEta(const double eta) const override final
IntegerArrayProperty m_minClusters
double getMaxChi2AtEta(const double eta) const override final
DoubleArrayProperty m_minPT
virtual ~InDetEtaDependentCutsSvc() override final
Destructor:
::StatusCode StatusCode
StatusCode definition for legacy code.
DoubleArrayProperty m_maxPrimaryImpact
int getMinStripHitsAtEta(const double eta) const override final
int getMinSiHitsAtEta(const double eta) const override final
int getMaxSharedAtEta(const double eta) const override final
DoubleArrayProperty m_etaBins
int getMaxDoubleHolesAtEta(const double eta) const override final
IntegerArrayProperty m_nWeightedClustersMin
int getMaxSiHolesAtEta(const double eta) const override final
IntegerArrayProperty m_maxHolesPattern
int getIndexByEta(const double eta) const
IntegerArrayProperty m_minPixelHits
std::unordered_map< InDet::CutName, std::vector< int > > m_mapIntCuts
IntegerArrayProperty m_minInPixelHits
IntegerArrayProperty m_maxShared
std::unordered_map< InDet::CutName, std::vector< double > > m_mapDoubleCuts
bool absEta(const xAOD::TauJet &tau, float &out)
IntegerArrayProperty m_minStripHits
DoubleArrayProperty m_etaWidthBrem
int getMinPixelHitsAtEta(const double eta) const override final
DoubleArrayProperty m_phiWidthBrem
IntegerArrayProperty m_maxSctHoles
float distance(const Amg::Vector3D &p1, const Amg::Vector3D &p2)
calculates the distance between two point in 3D space
StatusCode initialize() override final
double getMaxPrimaryImpactAtEta(const double eta) const override final
IntegerArrayProperty m_maxHoles
StatusCode finalize() override final
InDetEtaDependentCutsSvc(const std::string &name, ISvcLocator *sl)
Constructor with parameters:
int getMinSiNotSharedAtEta(const double eta) const override final