ATLAS Offline Software
Loading...
Searching...
No Matches
LArXTalkWeightGlobal Class Reference

#include <LArXTalkWeightGlobal.h>

Collaboration diagram for LArXTalkWeightGlobal:

Public Types

enum  XTALK_TYPE {
  STRIP =0 , STRIP_EC , MIDDLEBACK , MIDDLEBACK_ECOW ,
  MIDDLEBACK_ECIW , STRIPMIDDLE , STRIPMIDDLE_EC , TWOSTRIP ,
  TWOSTRIP_EC , MIDDLE1 , MIDDLE2 , MIDDLE1_EC ,
  MIDDLE2_EC
}

Public Member Functions

 LArXTalkWeightGlobal (const std::vector< const LArXTalkWeight * > &)
float get_xtalk (const XTALK_TYPE, const int eta) const
float get_xtalk (const XTALK_TYPE, const int region, const int eta) const

Private Attributes

std::vector< const LArXTalkWeight * > m_vector

Detailed Description

Definition at line 11 of file LArXTalkWeightGlobal.h.

Member Enumeration Documentation

◆ XTALK_TYPE

Constructor & Destructor Documentation

◆ LArXTalkWeightGlobal()

LArXTalkWeightGlobal::LArXTalkWeightGlobal ( const std::vector< const LArXTalkWeight * > & vec)

Definition at line 7 of file LArXTalkWeightGlobal.cxx.

7 {
8 m_vector.insert(m_vector.end(),vec.begin(),vec.end() );
9}
std::vector< size_t > vec
std::vector< const LArXTalkWeight * > m_vector

Member Function Documentation

◆ get_xtalk() [1/2]

float LArXTalkWeightGlobal::get_xtalk ( const XTALK_TYPE type,
const int eta ) const
inline

Definition at line 21 of file LArXTalkWeightGlobal.h.

21 {
22 return m_vector.at(type)->get_xtalk(eta);
23}
Scalar eta() const
pseudorapidity method

◆ get_xtalk() [2/2]

float LArXTalkWeightGlobal::get_xtalk ( const XTALK_TYPE type,
const int region,
const int eta ) const
inline

Definition at line 24 of file LArXTalkWeightGlobal.h.

24 {
25 return m_vector.at(type)->get_xtalk(region,eta);
26}

Member Data Documentation

◆ m_vector

std::vector<const LArXTalkWeight*> LArXTalkWeightGlobal::m_vector
private

Definition at line 18 of file LArXTalkWeightGlobal.h.


The documentation for this class was generated from the following files: