ATLAS Offline Software
Loading...
Searching...
No Matches
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
12
13
14#ifndef LARDIGITSACCUMULATOR
15#define LARDIGITSACCUMULATOR
16
18#include "GaudiKernel/ToolHandle.h"
24
26{
27
28public:
29 LArDigitsAccumulator (const std::string& name, ISvcLocator* pSvcLocator);
30 StatusCode initialize();
31 StatusCode execute();
32 StatusCode finalize();
33
41 public:
42 unsigned int m_ntrigger;
44 unsigned int m_onlineId;
45 std::vector<uint64_t> m_samplesum;
46 std::vector<uint64_t> m_matrix;
48 };
49
50private:
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
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
std::vector< std::string > m_keylist
list of key for input digit container (=gain)
std::vector< LArAccumulated > m_Accumulated
Vector (index=hash ID) of accumulation quantities.
LArDigitsAccumulator(const std::string &name, ISvcLocator *pSvcLocator)
bool m_isSC
Tells you wether you run on SuperCells or Cells.
std::string m_AccuDigitContainerName
LArAccumulatedDigitContainer name.
unsigned int m_event_counter
Event counter.
unsigned int m_NtriggersPerStep
Number of triggers per step.
const LArOnlineID_Base * m_onlineHelper
unsigned int m_nStepTrigger
Number of steps.
double m_DropPercentTrig
Percentage of the used triggers that we will skip over at the end, in order ot ensure that the accumu...
std::vector< LArAccumulatedDigit * > ACCUMDIGIT_VEC
Helper for the Liquid Argon Calorimeter cell identifiers.