ATLAS Offline Software
Loading...
Searching...
No Matches
LArXTalkWeightGlobal.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef LARRECCONDITIONS_LARXTALKWEIGHTGLOBAL_H
6#define LARRECCONDITIONS_LARXTALKWEIGHTGLOBAL_H
7
8#include <vector>
10
12 public :
14 LArXTalkWeightGlobal(const std::vector<const LArXTalkWeight*>&);
15 inline float get_xtalk(const XTALK_TYPE, const int eta) const;
16 inline float get_xtalk(const XTALK_TYPE, const int region, const int eta) const;
17 private:
18 std::vector<const LArXTalkWeight*> m_vector;
19};
20
21float LArXTalkWeightGlobal::get_xtalk(const XTALK_TYPE type,const int eta) const {
22 return m_vector.at(type)->get_xtalk(eta);
23}
24float LArXTalkWeightGlobal::get_xtalk(const XTALK_TYPE type, const int region, const int eta) const{
25 return m_vector.at(type)->get_xtalk(region,eta);
26}
27
29CLASS_DEF( LArXTalkWeightGlobal, 156852140 , 1)
30#include "AthenaKernel/CondCont.h"
32#endif
Scalar eta() const
pseudorapidity method
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Hold mapping of ranges to condition objects.
Definition CondCont.h:889
LArXTalkWeightGlobal(const std::vector< const LArXTalkWeight * > &)
std::vector< const LArXTalkWeight * > m_vector
float get_xtalk(const XTALK_TYPE, const int eta) const