ATLAS Offline Software
Loading...
Searching...
No Matches
CaloAffectedRegionInfo.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef CaloAffectedRegionInfo_H
6#define CaloAffectedRegionInfo_H
7
14
15
17 public:
18
21 missingReadout=0, // missing readout
22 HVaffected=1, // HV not nominal
23 HVdead=2, // 0 HV on both sides of electrodes
24 CalibrationProblem=3, // region potentially badly calibrated
25 ReadoutErrors=4, // region with severe readout errors
26 ReadoutWarnings=5, // region with readout warnings
28 };
29
35
44 CaloAffectedRegionInfo(float parameter_eta_min,float parameter_eta_max,float parameter_phi_min,float parameter_phi_max,int parameter_layer_min,int parameter_layer_max,type_problem current_problem,float parameter_rate=1.);
45
46
55 void FillCaloAffectedRegionInfo(float parameter_eta_min ,float parameter_eta_max,float parameter_phi_min ,float parameter_phi_max,int parameter_layer_min,int parameter_layer_max ,type_problem current_problem, float parameter_rate=1.);
56
60 void PrintInfo(void) const;
61
63 float get_eta_min() const;
65 float get_eta_max() const;
67 float get_phi_min() const;
69 float get_phi_max() const;
71 int get_layer_min() const;
73 int get_layer_max() const;
75 int get_problem() const;
77 float get_rate() const;
78
79 private:
82 float m_rate;
85};
86
87#endif
float get_eta_max() const
get eta max of region
type_problem
enum to classify different problems
float get_phi_min() const
get phi min of region
int get_layer_max() const
get layer max of region
CaloAffectedRegionInfo(void)
default constructor Creates empty list
float get_eta_min() const
get eta min of region
int get_problem() const
get problem type
float get_rate() const
get rate of problem
void PrintInfo(void) const
print info
void FillCaloAffectedRegionInfo(float parameter_eta_min, float parameter_eta_max, float parameter_phi_min, float parameter_phi_max, int parameter_layer_min, int parameter_layer_max, type_problem current_problem, float parameter_rate=1.)
modify settings of affected region
int get_layer_min() const
get layer min of region
float get_phi_max() const
get phi max of region