ATLAS Offline Software
SurveyConstraintTestAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
7 #include "GaudiKernel/NTuple.h"
8 #include "GaudiKernel/ITHistSvc.h"
9 
10 class ISurveyConstraint;
11 class PixelID;
12 class SCT_ID;
13 class TH1;
14 
15 
17 
19  public:
20  SurveyConstraintTestAlg (const std::string& name, ISvcLocator* pSvcLocator);
24  StatusCode BookHist();
25  void CreateMisAlignNtuple();
26 
27  private :
28  IToolSvc* m_toolsvc;
30  const PixelID* m_pixid;
31  const SCT_ID* m_sctid;
32  TH1* m_h_PixEC_Align_Disk[6];
33  TH1* m_h_PixEC_Align_first[6];
34  TH1* m_h_PixEC_Align[6];
35 
37  NTuple::Item<double> m_AlignResults_x;
38  NTuple::Item<double> m_AlignResults_y;
39  NTuple::Item<double> m_AlignResults_z;
40  NTuple::Item<double> m_AlignResults_alpha;
41  NTuple::Item<double> m_AlignResults_beta;
42  NTuple::Item<double> m_AlignResults_gamma;
43  NTuple::Item<long> m_AlignResults_Identifier_ID;
44  NTuple::Item<long> m_AlignResults_Identifier_SCT;
47  NTuple::Item<long> m_AlignResults_Identifier_Phi;
48  NTuple::Item<long> m_AlignResults_Identifier_Eta;
49 
50  // algorithm parameters, possible to declare at runtime
51  int m_NLoop;
52 };
53 
SurveyConstraintTestAlg::m_AlignResults_Identifier_LayerDisc
NTuple::Item< long > m_AlignResults_Identifier_LayerDisc
Definition: SurveyConstraintTestAlg.h:46
python.tests.PyTestsLib.finalize
def finalize(self)
_info( "content of StoreGate..." ) self.sg.dump()
Definition: PyTestsLib.py:53
SurveyConstraintTestAlg::m_AlignResults_Identifier_Eta
NTuple::Item< long > m_AlignResults_Identifier_Eta
Definition: SurveyConstraintTestAlg.h:48
SurveyConstraintTestAlg::m_AlignResults_y
NTuple::Item< double > m_AlignResults_y
Definition: SurveyConstraintTestAlg.h:38
ATLAS_NOT_THREAD_SAFE
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
Definition: checker_macros.h:212
initialize
void initialize()
Definition: run_EoverP.cxx:894
SurveyConstraintTestAlg::m_AlignResults_z
NTuple::Item< double > m_AlignResults_z
Definition: SurveyConstraintTestAlg.h:39
SurveyConstraintTestAlg::m_NLoop
int m_NLoop
Definition: SurveyConstraintTestAlg.h:51
SurveyConstraintTestAlg::m_AlignResults_gamma
NTuple::Item< double > m_AlignResults_gamma
Definition: SurveyConstraintTestAlg.h:42
SurveyConstraintTestAlg::m_SurvConstr
ISurveyConstraint * m_SurvConstr
Definition: SurveyConstraintTestAlg.h:29
SurveyConstraintTestAlg::m_toolsvc
IToolSvc * m_toolsvc
Pointer to tool service.
Definition: SurveyConstraintTestAlg.h:28
SurveyConstraintTestAlg::m_AlignResults_x
NTuple::Item< double > m_AlignResults_x
Definition: SurveyConstraintTestAlg.h:37
ISurveyConstraint
Definition: ISurveyConstraint.h:24
LArG4FSStartPointFilterLegacy.execute
execute
Definition: LArG4FSStartPointFilterLegacy.py:20
AthAlgorithm.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
SurveyConstraintTestAlg
Definition: SurveyConstraintTestAlg.h:18
SurveyConstraintTestAlg::m_AlignResults_beta
NTuple::Item< double > m_AlignResults_beta
Definition: SurveyConstraintTestAlg.h:41
SurveyConstraintTestAlg::m_pixid
const PixelID * m_pixid
Definition: SurveyConstraintTestAlg.h:30
AthAlgorithm
Definition: AthAlgorithm.h:47
SurveyConstraintTestAlg::m_AlignResults_Identifier_Phi
NTuple::Item< long > m_AlignResults_Identifier_Phi
Definition: SurveyConstraintTestAlg.h:47
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
SurveyConstraintTestAlg::m_AlignResults_Identifier_SCT
NTuple::Item< long > m_AlignResults_Identifier_SCT
Definition: SurveyConstraintTestAlg.h:44
SCT_ID
Definition: SCT_ID.h:68
SurveyConstraintTestAlg::m_AlignResults_Identifier_BarrelEC
NTuple::Item< long > m_AlignResults_Identifier_BarrelEC
Definition: SurveyConstraintTestAlg.h:45
SurveyConstraintTestAlg::m_AlignResults_Identifier_ID
NTuple::Item< long > m_AlignResults_Identifier_ID
Definition: SurveyConstraintTestAlg.h:43
TH1
Definition: rootspy.cxx:268
SurveyConstraintTestAlg::m_AlignResults_nModules
int m_AlignResults_nModules
Definition: SurveyConstraintTestAlg.h:36
checker_macros.h
Define macros for attributes used to control the static checker.
PixelID
Definition: PixelID.h:67
SurveyConstraintTestAlg::m_sctid
const SCT_ID * m_sctid
Definition: SurveyConstraintTestAlg.h:31
SurveyConstraintTestAlg::m_AlignResults_alpha
NTuple::Item< double > m_AlignResults_alpha
Definition: SurveyConstraintTestAlg.h:40