ATLAS Offline Software
Loading...
Searching...
No Matches
LArCalibDigitsAccumulatorFreeGain.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
5/**************************************************
6
7 Class LArCalibDigitsAccumulatorFreeGain
8 Author: Jean-Francois Marchand from the LArCalibDigitsAccumulator class
9
10 As the class LArCalibDigitsAccumulator, emulates the DSP code in accumulation
11 calibration mode, but the three different gains are separated (useful for
12 free gain runs)
13
14**************************************************/
15
16
17
18#ifndef LARCALIBDIGITSACCUMULATORFREEGAIN
19#define LARCALIBDIGITSACCUMULATORFREEGAIN
20
22#include "GaudiKernel/ToolHandle.h"
29
31{
32
33public:
34 LArCalibDigitsAccumulatorFreeGain (const std::string& name, ISvcLocator* pSvcLocator);
35 StatusCode initialize();
36 StatusCode execute();
37 StatusCode finalize(){return StatusCode::SUCCESS;}
38
46 public:
47 unsigned int m_ntrigger;
48 std::vector< uint64_t > m_sum;
49 std::vector< uint64_t > m_sum2;
51 };
52
53private:
54 SG::ReadCondHandleKey<LArCalibLineMapping> m_calibMapKey{this,"CalibMapKey","LArCalibLineMap","SG Key of calib line mapping object"};
56
57
66
71
75 std::vector<std::string> m_keylist;
76
80 unsigned int m_nStepTrigger;
81
86
91
95 //unsigned int m_nTriggerPerStep;
96
100 std::vector<LArAccumulated> m_AccumulatedHG;
101 std::vector<LArAccumulated> m_AccumulatedMG;
102 std::vector<LArAccumulated> m_AccumulatedLG;
103
107 unsigned int m_event_counter;
108
109};
110
111#endif
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
std::vector< LArAccumulated > m_AccumulatedHG
Stores number of triggers per intermediate step.
bool m_isPulsed
Set wether a cell is pulsed or not.
std::string m_calibAccuDigitContainerName
LArAccumulatedCalibDigitContainer name.
std::vector< std::string > m_keylist
list of key for input digit container (=gain)
LArCalibDigitsAccumulatorFreeGain(const std::string &name, ISvcLocator *pSvcLocator)
bool m_keepPulsed
Tells you wether you keep only pulsed cells or all cells.
unsigned int m_nStepTrigger
Number of intermediate accumulations (JO property)
SG::ReadCondHandleKey< LArCalibLineMapping > m_calibMapKey