ATLAS Offline Software
LArCalorimeter
LArRawConditions
src
LArMinBiasComplete.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
LArRawConditions/LArMinBiasComplete.h
"
6
7
#include "
LArIdentifier/LArOnlineID.h
"
8
9
#include <iostream>
10
using namespace
std ;
11
12
LArMinBiasComplete::LArMinBiasComplete
() {}
13
14
LArMinBiasComplete::~LArMinBiasComplete
() {}
15
16
/* Fill transient object in ATHENA *****************************************
17
*/
18
void
LArMinBiasComplete::set
(
const
HWIdentifier& CellID,
float
minBiasRMS )
19
{
20
LArMinBiasP
t
;
21
t
.m_MinBiasRMS = minBiasRMS;
22
23
setPdata(CellID,
t
);
24
}
25
26
27
// retrieve RMS of E in minimum bias events *****************************
28
const
float
&
LArMinBiasComplete::minBiasRMS
(
const
HWIdentifier& CellID)
const
29
{
30
const
LArMinBiasP
&
t
=
get
(CellID);
31
return
t
.m_MinBiasRMS ;
32
}
33
34
35
LArMinBiasComplete.h
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
LArMinBiasComplete::minBiasRMS
virtual const float & minBiasRMS(const HWIdentifier &CellID) const
access to RMS of E in minimum bias events index by Identifier
Definition:
LArMinBiasComplete.cxx:28
LArMinBiasComplete::LArMinBiasComplete
LArMinBiasComplete()
Definition:
LArMinBiasComplete.cxx:12
LArMinBiasP
c-struct reproducing the structure of the persistent data
Definition:
LArMinBiasP.h:15
get
T * get(TKey *tobj)
get a TObject* from a TKey* (why can't a TObject be a TKey?)
Definition:
hcg.cxx:127
LArMinBiasComplete::~LArMinBiasComplete
virtual ~LArMinBiasComplete()
Definition:
LArMinBiasComplete.cxx:14
LArMinBiasComplete::set
void set(const HWIdentifier &CellID, float vMinBiasRMS)
Definition:
LArMinBiasComplete.cxx:18
LArOnlineID.h
Generated on Sun Dec 22 2024 21:13:34 for ATLAS Offline Software by
1.8.18