ATLAS Offline Software
Loading...
Searching...
No Matches
LArTimePhysPrediction.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5//01/2009: T. Guillemin
6//This algorithm predicts the relative times of the physics pulses
7//from the calibration pulses and the complete readout path
8#ifndef LARCALIBUTILS_LARTIMEPHYSPREDICTION_H
9#define LARCALIBUTILS_LARTIMEPHYSPREDICTION_H
10
12#include "GaudiKernel/INTupleSvc.h"
13#include "GaudiKernel/NTuple.h"
14#include "GaudiKernel/ITHistSvc.h"
19
20class CaloDepthTool;
21class ITHistSvc;
22
24{
25
26 public:
27
28 LArTimePhysPrediction(const std::string & name, ISvcLocator * pSvcLocator);
30
31 //standard algorithm methods
32 virtual StatusCode initialize() override;
33 virtual StatusCode execute() override { return StatusCode::SUCCESS; }
34 virtual StatusCode stop() override;
35
36 private:
37
38 ServiceHandle<ITHistSvc> m_thistSvc{this,"THistSvc","THistSvc"};
39 std::string m_keyoutput;
40 std::string m_keyinput;
41 std::string m_groupingType;
42 std::string m_CaloDepth;
44 SG::ReadCondHandleKey<LArOnOffIdMapping> m_cablingKey{this,"CablingKey","LArOnOffIdMap","SG Key of LArOnOffIdMapping object"};
45 SG::ReadCondHandleKey<LArCalibLineMapping> m_calibMapKey{this,"CalibMapKey","LArCalibLineMap","SG Key of calib line mapping object"};
47 , "CaloDetDescrManager"
48 , "CaloDetDescrManager"
49 , "SG Key for CaloDetDescrManager in the Condition Store" };
50
52 std::vector<std::vector<double> > m_vLCalib_EMB;
53 std::vector<double> m_vEtaMin_EMB;
54 std::vector<double> m_vEtaMax_EMB;
57 std::vector<std::vector<double> > m_vLSignal_EMB;
60 std::vector<double> m_vLSignal_FCAL;
61 std::vector<std::vector<double> > m_vDeltaTTC_EMB;
62 std::vector<std::vector<double> > m_vDeltaTTC_EC;
63 std::vector<std::vector<double> > m_vDeltaTTC_ECC_SPEC;
64 std::vector<std::vector<double> > m_vDeltaTTC_ECA_SPEC;
65 double m_sCalib;
66 double m_sSignal;
67 double m_sPig;
68 double m_sLTP;
69
70 //Ntuple pointer
71 NTuple::Tuple* m_nt;
72 //Ntuple variables
73 NTuple::Item<long> m_Chid;
74 NTuple::Item<long> m_Channel;
75 NTuple::Item<long> m_CalibLine;
76 NTuple::Item<long> m_is_lar_em;
77 NTuple::Item<long> m_is_lar_hec;
78 NTuple::Item<long> m_is_lar_fcal;
79 NTuple::Item<long> m_pos_neg;
80 NTuple::Item<long> m_barrel_ec;
81 NTuple::Item<long> m_FT;
82 NTuple::Item<long> m_slot;
83 NTuple::Item<long> m_FEBid;
84 NTuple::Item<long> m_eta;
85 NTuple::Item<long> m_phi;
86 NTuple::Item<long> m_layer;
87 NTuple::Item<double> m_real_eta;
88 NTuple::Item<double> m_real_phi;
89 NTuple::Item<double> m_t0;
90 NTuple::Item<double> m_tcali;
91 NTuple::Item<double> m_tCalibPredicted;
92 NTuple::Item<double> m_CalibCables;
93 NTuple::Item<double> m_SignalCables;
94 NTuple::Item<double> m_TOF;
95 NTuple::Item<double> m_DeltaTTC;
96 NTuple::Item<double> m_tPhysPredicted;
97};
98
99#endif
Definition of CaloDetDescrManager.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Implementation of the ICaloDepthTool interface.Given a Track direction, checks if it is in the Calori...
NTuple::Item< double > m_TOF
std::vector< std::vector< double > > m_vDeltaTTC_EMB
NTuple::Item< double > m_real_phi
NTuple::Item< double > m_SignalCables
SG::ReadCondHandleKey< LArCalibLineMapping > m_calibMapKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
NTuple::Item< double > m_CalibCables
std::vector< std::vector< double > > m_vDeltaTTC_ECA_SPEC
virtual StatusCode stop() override
NTuple::Item< double > m_t0
NTuple::Item< long > m_is_lar_em
NTuple::Item< long > m_is_lar_hec
NTuple::Item< long > m_layer
NTuple::Item< double > m_DeltaTTC
NTuple::Item< long > m_phi
NTuple::Item< long > m_barrel_ec
std::vector< double > m_vEtaMin_EMB
NTuple::Item< long > m_pos_neg
NTuple::Item< long > m_eta
virtual StatusCode execute() override
LArTimePhysPrediction(const std::string &name, ISvcLocator *pSvcLocator)
std::vector< std::vector< double > > m_vLSignal_EMB
NTuple::Item< long > m_slot
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
NTuple::Item< double > m_real_eta
NTuple::Item< long > m_FEBid
NTuple::Item< double > m_tPhysPredicted
virtual StatusCode initialize() override
NTuple::Item< long > m_Channel
NTuple::Item< double > m_tCalibPredicted
std::vector< std::vector< double > > m_vDeltaTTC_ECC_SPEC
NTuple::Item< long > m_Chid
std::vector< std::vector< double > > m_vLCalib_EMB
NTuple::Item< long > m_is_lar_fcal
NTuple::Item< double > m_tcali
ServiceHandle< ITHistSvc > m_thistSvc
NTuple::Item< long > m_FT
std::vector< double > m_vEtaMax_EMB
std::vector< std::vector< double > > m_vDeltaTTC_EC
std::vector< double > m_vLSignal_FCAL
NTuple::Item< long > m_CalibLine