ATLAS Offline Software
Loading...
Searching...
No Matches
LArPedestalMaker.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef LARPEDESTALMAKER_H
6#define LARPEDESTALMAKER_H
7/********************************************************************
8
9 NAME: LArPedestalMaker.h
10 PACKAGE: offline/LArCalorimeter/LArCalibUtils
11
12 AUTHORS: M. AHARROUCHE
13 CREATED: Jan. 12, 2004
14 UPDATED: Mar. 10, 2004 by Remi Lafaye
15 Oct, 4, 2007 by M. Delmastro
16 May, 5, 2008 W.Lampl (use LArConditionsContainer instead of std::map)
17
18 PURPOSE: Computes the pedestal and rms for each cell
19 at each gain and records them in TDS
20
21********************************************************************/
22
24
27
29
30#include <vector>
31
32
33//-----------------------------------------------------------------------
35//-----------------------------------------------------------------------
36{
37 public:
38
39 // Constructor
40 LArPedestalMaker(const std::string & name, ISvcLocator * pSvcLocator);
41
42 // Destructor
44
45 // Algorithm initialization
46 StatusCode initialize();
47
48 // Algorithm execution
49 StatusCode execute();
50
51 // Algorithm finalization
52 StatusCode stop();
53 StatusCode finalize(){return StatusCode::SUCCESS;}
54
55 private:
56 // Container key list
57 std::vector<std::string> m_keylist;
58 std::string m_keyoutput;
59
60 // Grouping type
61 std::string m_groupingType;
62
63 // Number of events used to define window
64 int m_nref;
65
66 // Number of sigma
67 double m_rms_cut;
68
69 // Sample number for pedestal
71
74
75 // Vector of LArPedestal
76 //typedef std::map<HWIdentifier, LArPedestal > LARPEDMAP;
79
80 // Vector of pedestal and rms
81 std::vector<float> m_mean;
82 std::vector<float> m_rms;
83
84};
85
86#endif
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
LArPedestalMaker(const std::string &name, ISvcLocator *pSvcLocator)
std::vector< float > m_rms
StatusCode initialize()
std::string m_groupingType
std::vector< float > m_mean
StatusCode finalize()
LArConditionsContainer< LArPedestal > LARPEDMAP
std::string m_keyoutput
std::vector< std::string > m_keylist