ATLAS Offline Software
TrigEMCluster_v1.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // $Id: TrigEMCluster_v1.h 631374 2014-11-26 20:59:18Z gwatts $
8 #ifndef XAODTRIGCALO_VERSIONS_TRIGEMCLUSTER_V1_H
9 #define XAODTRIGCALO_VERSIONS_TRIGEMCLUSTER_V1_H
10 
11 // xAOD include(s):
13 #include "CaloGeoHelpers/CaloSampling.h"
14 
15 namespace xAOD {
16 
29 
30  public:
33 
36 
38  float energy() const;
40  void setEnergy( float energy );
41 
43  float energy( const CaloSample sample ) const;
45  bool setEnergy( const CaloSample sample, float energy );
47  const std::vector< float >& energySample() const;
48 
50  float et() const;
52  void setEt(float);
53 
55  float eta() const;
57  void setEta(float);
58 
60  float phi() const;
62  void setPhi(float);
63 
65  float e237() const;
67  void setE237(float);
68 
70  float e277() const;
72  void setE277(float);
73 
75  float fracs1() const;
77  void setFracs1(float);
78 
80  float weta2() const;
82  void setWeta2(float);
83 
85  float ehad1() const;
87  void setEhad1(float);
88 
90  float eta1() const;
92  void setEta1(float);
93 
95  float emaxs1() const;
97  void setEmaxs1(float);
98 
100  float e2tsts1() const;
102  void setE2tsts1(float);
103 
105  float e233() const;
107  void setE233(float);
108 
110  float wstot() const;
112  void setWstot(float);
113 
114  }; // class TrigEMCluster_v1
115 
116 } // namespace xAOD
117 
118 // Set up a CLID for the object:
120 
121 #endif // XAODTRIGCALO_VERSIONS_TRIGEMCLUSTER_V1_H
xAOD::TrigEMCluster_v1::emaxs1
float emaxs1() const
get maximum energy in sampling 1 (strip layer)
xAOD::TrigEMCluster_v1::setEta
void setEta(float)
set Eta (calibrated)
xAOD::TrigEMCluster_v1::eta
float eta() const
get Eta (calibrated)
xAOD::TrigEMCluster_v1::e233
float e233() const
get Energy in a 3x3 cluster (no calibration) around hottest cell
xAOD::TrigEMCluster_v1::setE237
void setE237(float)
set Energy in a 3x7 cluster (no calibration) around hottest cell
xAOD::TrigEMCluster_v1::setEnergy
void setEnergy(float energy)
set Energy (calibrated)
SG_BASE
SG_BASE(xAOD::TrigEMCluster_v1, xAOD::TrigCaloCluster_v1)
xAOD::TrigEMCluster_v1::weta2
float weta2() const
get cluster width (based on a 3x5 cluster - 2nd layer)
xAOD::TrigEMCluster_v1::TrigEMCluster_v1
TrigEMCluster_v1()
Constructor
Definition: TrigEMCluster_v1.cxx:21
xAOD::TrigEMCluster_v1::e2tsts1
float e2tsts1() const
get second maximum energy in sampling 1 (strip layer)
xAOD::TrigEMCluster_v1::setE233
void setE233(float)
set Energy in a 3x3 cluster (no calibration) around hottest cell
xAOD::TrigEMCluster_v1::setEhad1
void setEhad1(float)
set hadronic Energy (first hadronic layer)
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::TrigEMCluster_v1::setE277
void setE277(float)
set Energy in a 7x7 cluster (no calibration) around hottest cell
xAOD::TrigEMCluster_v1::setPhi
void setPhi(float)
set Phi (calibrated)
xAOD::TrigEMCluster_v1::e237
float e237() const
get Energy in a 3x7 cluster (no calibration) around hottest cell
xAOD::TrigEMCluster_v1::energySample
const std::vector< float > & energySample() const
get Energy (calibrated) for all the sampling layers
TrigCaloCluster.h
xAOD::TrigEMCluster_v1::phi
float phi() const
get Phi (calibrated)
xAOD::TrigEMCluster_v1::setEmaxs1
void setEmaxs1(float)
set maximum energy in sampling 1 (strip layer)
FullCPAlgorithmsTest_eljob.sample
sample
Definition: FullCPAlgorithmsTest_eljob.py:100
CaloSampling::CaloSample
CaloSample
Definition: Calorimeter/CaloGeoHelpers/CaloGeoHelpers/CaloSampling.h:22
xAOD::TrigEMCluster_v1::setE2tsts1
void setE2tsts1(float)
set second maximum energy in sampling 1 (strip layer)
xAOD::TrigEMCluster_v1::setWeta2
void setWeta2(float)
set cluster width (based on a 3x5 cluster - 2nd layer)
xAOD::TrigEMCluster_v1::setFracs1
void setFracs1(float)
set Energy in a 7 strips (around hottest strip) minus energy in 3 strips divided by energy in 3 strip...
xAOD::TrigEMCluster_v1::setEta1
void setEta1(float)
set Eta sampling 1 (strip layer)
xAOD::TrigEMCluster_v1::wstot
float wstot() const
get width in first layer
xAOD::TrigEMCluster_v1::fracs1
float fracs1() const
get Energy in a 7 strips (around hottest strip) minus energy in 3 strips divided by energy in 3 strip...
xAOD::TrigEMCluster_v1::CaloSample
CaloSampling::CaloSample CaloSample
A convenience typedef.
Definition: TrigEMCluster_v1.h:32
xAOD::TrigEMCluster_v1::e277
float e277() const
get Energy in a 7x7 cluster (no calibration) around hottest cell
xAOD::TrigEMCluster_v1::ehad1
float ehad1() const
get hadronic Energy (first hadronic layer)
xAOD::TrigEMCluster_v1::eta1
float eta1() const
get Eta sampling 1 (strip layer)
xAOD::TrigCaloCluster_v1
Description of a trigger calorimeter cluster.
Definition: TrigCaloCluster_v1.h:28
xAOD::TrigEMCluster_v1::setEt
void setEt(float)
set Et (calibrated)
xAOD::TrigEMCluster_v1::et
float et() const
get Et (calibrated)
xAOD::TrigEMCluster_v1::setWstot
void setWstot(float)
set width in first layer
xAOD::TrigEMCluster_v1
Description of a trigger EM cluster.
Definition: TrigEMCluster_v1.h:28
xAOD::TrigEMCluster_v1::energy
float energy() const
get Energy (calibrated)