ATLAS Offline Software
LArDigitsAccumulator.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
14 #ifndef LARDIGITSACCUMULATOR
15 #define LARDIGITSACCUMULATOR
16 
18 #include "GaudiKernel/ToolHandle.h"
23 #include "StoreGate/StoreGateSvc.h"
24 
26 {
27 
28 public:
29  LArDigitsAccumulator (const std::string& name, ISvcLocator* pSvcLocator);
33 
41  public:
42  unsigned int m_ntrigger;
43  int m_nused;
44  unsigned int m_onlineId;
45  std::vector<uint64_t> m_samplesum;
46  std::vector<uint64_t> m_matrix;
48  };
49 
50 private:
51 
53 
54  typedef std::vector<LArAccumulatedDigit*> ACCUMDIGIT_VEC;
56 
61 
65  std::vector<std::string> m_keylist;
66 
70  unsigned int m_NtriggersPerStep;
71 
75  unsigned int m_nStepTrigger;
76 
77 
78 
83 
84 
88  std::vector<LArAccumulated> m_Accumulated;
89 
93  unsigned int m_event_counter;
94 
98  bool m_isSC;
99 
100 };
101 
102 #endif
LArDigitsAccumulator::LArAccumulated
Class of intermediate accumulations.
Definition: LArDigitsAccumulator.h:40
LArDigitsAccumulator::m_isSC
bool m_isSC
Tells you wether you run on SuperCells or Cells.
Definition: LArDigitsAccumulator.h:98
LArDigitsAccumulator::m_nStepTrigger
unsigned int m_nStepTrigger
Number of steps.
Definition: LArDigitsAccumulator.h:75
LArDigitsAccumulator::LArAccumulated::m_samplesum
std::vector< uint64_t > m_samplesum
Definition: LArDigitsAccumulator.h:45
LArDigitsAccumulator::LArAccumulated::LArAccumulated
LArAccumulated()
Definition: LArDigitsAccumulator.h:47
LArAccumulatedDigitContainer.h
LArOnlineID_Base.h
LArDigitsAccumulator::m_my_vec
ACCUMDIGIT_VEC m_my_vec
Definition: LArDigitsAccumulator.h:55
LArDigitsAccumulator::LArDigitsAccumulator
LArDigitsAccumulator(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LArDigitsAccumulator.cxx:13
LArDigitsAccumulator::m_keylist
std::vector< std::string > m_keylist
list of key for input digit container (=gain)
Definition: LArDigitsAccumulator.h:65
LArDigitsAccumulator::LArAccumulated::m_matrix
std::vector< uint64_t > m_matrix
Definition: LArDigitsAccumulator.h:46
LArDigitsAccumulator::m_AccuDigitContainerName
std::string m_AccuDigitContainerName
LArAccumulatedDigitContainer name.
Definition: LArDigitsAccumulator.h:60
LArDigitsAccumulator::execute
StatusCode execute()
Definition: LArDigitsAccumulator.cxx:62
AthAlgorithm.h
LArDigitsAccumulator::LArAccumulated::m_nused
int m_nused
Definition: LArDigitsAccumulator.h:43
LArDigitsAccumulator::m_onlineHelper
const LArOnlineID_Base * m_onlineHelper
Definition: LArDigitsAccumulator.h:52
LArDigitsAccumulator::LArAccumulated::m_onlineId
unsigned int m_onlineId
Definition: LArDigitsAccumulator.h:44
LArDigitsAccumulator::m_NtriggersPerStep
unsigned int m_NtriggersPerStep
Number of triggers per step.
Definition: LArDigitsAccumulator.h:70
LArDigitsAccumulator::ACCUMDIGIT_VEC
std::vector< LArAccumulatedDigit * > ACCUMDIGIT_VEC
Definition: LArDigitsAccumulator.h:54
LArDigitsAccumulator::finalize
StatusCode finalize()
Definition: LArDigitsAccumulator.cxx:202
LArDigitsAccumulator::m_event_counter
unsigned int m_event_counter
Event counter.
Definition: LArDigitsAccumulator.h:93
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgorithm
Definition: AthAlgorithm.h:47
LArOnlineID_Base
Helper for the Liquid Argon Calorimeter cell identifiers.
Definition: LArOnlineID_Base.h:105
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
LArDigitsAccumulator::m_DropPercentTrig
double m_DropPercentTrig
Percentage of the used triggers that we will skip over at the end, in order ot ensure that the accumu...
Definition: LArDigitsAccumulator.h:82
LArDigitContainer.h
LArDigitsAccumulator::LArAccumulated::m_ntrigger
unsigned int m_ntrigger
Definition: LArDigitsAccumulator.h:42
LArDigitsAccumulator::m_Accumulated
std::vector< LArAccumulated > m_Accumulated
Vector (index=hash ID) of accumulation quantities.
Definition: LArDigitsAccumulator.h:88
LArDigitsAccumulator
Emulator of DSP code in accumulation pedestal mode.
Definition: LArDigitsAccumulator.h:26
LArCalibLineMapping.h
StoreGateSvc.h
LArDigitsAccumulator::initialize
StatusCode initialize()
Definition: LArDigitsAccumulator.cxx:31