ATLAS Offline Software
Loading...
Searching...
No Matches
LArMphysOverMcalComplete.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3*/
4
5// Dear emacs, this is -*-c++-*-
6#ifndef LARRAWCONDITIONS_LARMPHYSOVERMCALCOMPLETE_H
7#define LARRAWCONDITIONS_LARMPHYSOVERMCALCOMPLETE_H
8
12#include <vector>
13
14
22
26
27
29 public LArConditionsContainer<LArSingleFloatP> {
30 public:
33
35
36 // retrieving MphysOverMcal using online ID
37 virtual const float& MphysOverMcal(const HWIdentifier& chid, int gain) const override
38 {return (this->get(chid,gain).m_data);};
39
40 // wants to fill this class not using the DB)
41 void set(const HWIdentifier& CellID, int gain, float vMphysOverMcal);
42
43
44};
45
49#endif
Hold mappings of ranges to condition objects.
#define CONDCONT_DEF(...)
Definition CondCont.h:1413
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
ConstReference get(const HWIdentifier id, unsigned int gain=0) const
This class implements the ILArMphysOverMcal interface.
virtual const float & MphysOverMcal(const HWIdentifier &chid, int gain) const override
LArConditionsContainer< LArSingleFloatP > CONTAINER
void set(const HWIdentifier &CellID, int gain, float vMphysOverMcal)