 |
ATLAS Offline Software
|
Go to the documentation of this file.
23 m_onlineHelper(nullptr)
44 return StatusCode::SUCCESS;
63 unsigned int n_tot_ped = 0;
64 unsigned int n_dup_ped = 0;
68 if ( ped_it == ped_it_e ) {
71 for ( ; ped_it!=ped_it_e; ped_it++) {
84 <<
" in gain " <<
m_gainOUT <<
" exists! Not duplicating..." );
90 <<
" (" << n_dup_ped <<
"/" << n_tot_ped <<
" PS channels)" );
110 float scaleRamp =
pow(10.,deltaGain);
113 unsigned int n_tot_ramp = 0;
114 unsigned int n_dup_ramp = 0;
115 unsigned nCorrChans=0;
119 if ( ramp_it == ramp_it_e ) {
122 for ( ; ramp_it!=ramp_it_e; ramp_it++) {
135 for (
unsigned i=0;
i<
s;
i++) {
143 <<
" in gain " <<
m_gainOUT <<
" exists! Not duplicating..." );
155 for (;cit!=cit_e;cit++) {
159 const unsigned s = ramp.
m_vRamp.size();
163 for (
unsigned i=0;
i<
s;
i++) {
173 <<
" (" << n_dup_ramp <<
"/" << n_tot_ramp <<
" + " << nCorrChans <<
" PS channels)" );
185 unsigned int n_tot_mpmc = 0;
186 unsigned int n_dup_mpmc = 0;
190 if ( mpmc_it == mpmc_it_e ) {
193 for ( ; mpmc_it!=mpmc_it_e; mpmc_it++) {
206 <<
" in gain " <<
m_gainOUT <<
" exists! Not duplicating..." );
212 <<
" (" << n_dup_mpmc <<
"/" << n_tot_mpmc <<
" PS channels)" );
224 unsigned int n_tot_ofc = 0;
225 unsigned int n_dup_ofc = 0;
229 if ( ofc_it == ofc_it_e ) {
232 for ( ; ofc_it!=ofc_it_e; ofc_it++) {
243 if (!vOFCa_t.size()) {
252 <<
" in gain " <<
m_gainOUT <<
" exists! Not duplicating..." );
259 <<
" (" << n_dup_ofc <<
"/" << n_tot_ofc <<
" PS channels)" );
271 unsigned int n_tot_shape = 0;
272 unsigned int n_dup_shape = 0;
276 if ( shape_it == shape_it_e ) {
279 for ( ; shape_it!=shape_it_e; shape_it++) {
288 if (!vShape_t.size()) {
297 <<
" in gain " <<
m_gainOUT <<
" exists! Not duplicating..." );
303 <<
" (" << n_dup_shape <<
"/" << n_tot_shape <<
" PS channels)" );
308 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
ConditionsMap::const_iterator ConstConditionsMapIterator
c-struct reproducing the structure of the persistent data
StatusCode applyCorrections()
apply correction set
void setPdata(const HWIdentifier id, const T &payload, unsigned int gain=0)
put payload in persistent data
HWIdentifier channelId() const
StatusCode undoCorrections()
undo corrections that have been already applied
Declaration of const iterator.
Persistent data for LArRamp Copied from LAr.
StatusCode insertCorrection(HWIdentifier id, const T &cond, unsigned int gain, bool corrChannel=true)
access to corrections -
This class implements the ILArPedestal interface.
This class implements the ILArShape interface.
value_type get_compact() const
Get the compact id.
virtual OFCRef_t OFC_a(const HWIdentifier &CellID, int gain, int tbin=0) const override
access to OFCs by online ID, gain, and tbin (!=0 for testbeam)
ConstCorrectionIt undoCorrEnd(unsigned int gain) const
const LArOnlineID * m_onlineHelper
#define ATH_MSG_VERBOSE(x)
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
std::vector< float > m_vRamp
Subset::ConstCorrectionVecIt ConstCorrectionIt
Algorithm implementing ad-hoc duplication ofconstants.
This class implements the ILArMphysOverMcal interface.
ConstConditionsMapIterator end(unsigned int gain) const
end of all channels for this gain
::StatusCode StatusCode
StatusCode definition for legacy code.
ConstReference get(const HWIdentifier id, unsigned int gain=0) const
get data with online identifier
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
LArDuplicateConstants(const std::string &name, ISvcLocator *pSvcLocator)
ConstCorrectionIt undoCorrBegin(unsigned int gain) const
get iterator over the Undo-Vector for a certain gain
c-struct reproducing the structure of the persistent data
#define ATH_MSG_WARNING(x)
bool isEMBPS(const HWIdentifier id) const
ConstConditionsMapIterator begin(unsigned int gain) const
get iterator for all channels for a gain
virtual ShapeRef_t Shape(const HWIdentifier &CellID, int gain, int tbin=0, int mode=0) const override
constexpr int pow(int base, int exp) noexcept
This class implements the ILArOFC interface.
Proxy for accessing a range of float values like a vector.
bool correctionsApplied() const
Have corrections been applied?