ATLAS Offline Software
Loading...
Searching...
No Matches
LArConditionsSubset_p1.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
15#ifndef LARCONDTPCNV_LARCONDITIONSSUBSET_P1_H
16#define LARCONDTPCNV_LARCONDITIONSSUBSET_P1_H
26
27#include <vector>
28#include "LArRawConditions/LArConditionsContainerBase.h" //For groupingType enum
29
31// This enum is only used by legacy _pN persistent versions!
32// The recent versions use the subsetSize() method for compatibilty with SuperCells
36
37
39{
40public:
41
42 // LArConditionsSubset_p1 contain the persistent data for the
43 // set of LArConditionsSubsets for a given folder.
44 //
45 // Conditions data are normally organized by feb, identified by
46 // the febid. Each feb then has 128 channels of conditions data.
47 // In addition, there are corrections stored one per channel with
48 // their channel id.
49 //
50 // In certain cases, not all 128 channels will have conditions
51 // data. For normal conditions, space data may arise from channels
52 // that could not be treated, or other failures. For MC
53 // conditions, this data may be sparse due to the use of implied
54 // symmetry of the detector and so only a subset of febs and a
55 // subset of their channels are present.
56 //
57 // For the 'normal' dense set of conditions, it is sufficient to
58 // save the set of febids since the number of channels is known.
59 //
60 // For sparse conditions, we save both the febid and a bit map
61 // indicating which channels contain data.
62 //
63 // For corrections, we save separately the channel ids.
64 //
65 //
66
69 :
70 m_gain(0),
71 m_channel(0),
73 {}
74
75 std::vector<unsigned int> m_febIds;
76 std::vector<unsigned int> m_corrChannels;
77 std::vector<unsigned int> m_febsWithSparseData;
78 unsigned int m_gain;
79 unsigned int m_channel;
80 unsigned int m_groupingType;
81
82 unsigned int subsetSize() const {
84
85};
86
87
88
89#endif // LARCONDTPCNV_LARCONDITIONSSUBSET_P1_H
This file contain an implementation base class for LArConditionsContainer.
Subset_size
Size of channel vector, per FEB.
std::vector< unsigned int > m_febIds
std::vector< unsigned int > m_corrChannels
unsigned int subsetSize() const
std::vector< unsigned int > m_febsWithSparseData
LArConditionsSubset_p1()
Default constructor.