ATLAS Offline Software
EMShowerMinimal.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /********************************************************************
6 
7 NAME: EMShowerMinimal.cxx
8 PACKAGE: offline/Reconstruction/egammaEvent
9 
10 AUTHORS: M.P. Casado, S. Rajagopalan
11 
12 MODIFIED: S.R. Armstrong November 2004
13  R. Soluk Feb 2005
14 
15 PURPOSE: Minimal EM shower property data class, as needed by LVL2.
16  Used in the Trigger/TrigT2Calo package.
17  This class contains information about quantities useful for
18  e/g identification in LVL2, such as shower shape variables.
19 
20  Add new variables for tau work - R. Soluk
21 ********************************************************************/
22 
23 // INCLUDE HEADER FILES:
24 
26 #include <iomanip>
27 #include <iostream>
28 
29 // END OF HEADER FILES INCLUDE
30 
31 // ----------------------------
32 // Constructor
33 // ----------------------------
35 {
36  double x = -999. ;
37  m_ehad1=x ;
38  m_e237=x ;
39  m_e277=x ;
40  m_weta2=x ;
41  m_e2tsts1=x ;
42  m_fracs1=x ;
43  m_emaxs1=x ;
44  m_l1SimEta=x;
45  m_l1SimPhi=x;
51 
52  m_RoIword=999;
53  m_eem0nar=x;
54  m_eem0wid=x;
55  m_eem1nar=x;
56  m_eem1wid=x;
57  m_eem2nar=x;
58  m_eem2wid=x;
59  m_eem3nar=x;
60  m_eem3wid=x;
61  m_ehad1nar=x;
62  m_ehad1wid=x;
63  m_ehad2nar=x;
64  m_ehad2wid=x;
65  m_ehad3nar=x;
66  m_ehad3wid=x;
67 
68  m_eem0rad=x;
69  m_eem1rad=x;
70  m_eem2rad=x;
71  m_eem3rad=x;
72  m_em0weta=x;
73  m_em1weta=x;
74  m_em2weta=x;
75  m_em3weta=x;
76  m_had1weta=x;
77  m_had2weta=x;
78  m_had3weta=x;
86 
87 }
88 
89 // ----------------------------
90 // print EMShowerMinimal quantities
91 // ----------------------------
93 {
94  std::cout << " EMShowerMinimal variables " << std::endl;
95  std::cout << " ehad1 = " << m_ehad1 << std::endl;
96  std::cout << " e237 = " << m_e237 << std::endl;
97  std::cout << " e277 = " << m_e277 << std::endl;
98  std::cout << " weta2 = " << m_weta2 << std::endl;
99  std::cout << " e2tsts1 = " << m_e2tsts1 << std::endl;
100  std::cout << " fracs1 = " << m_fracs1 << std::endl;
101  std::cout << " emaxs1 = " << m_emaxs1 << std::endl;
102  std::cout << " l1SimEta = " << m_l1SimEta << std::endl;
103  std::cout << " l1SimPhi = " << m_l1SimPhi << std::endl;
104  std::cout << " l1SimEmClus = " << m_l1SimEmClus << std::endl;
105  std::cout << " l1SimEmIsol = " << m_l1SimEmIsol << std::endl;
106  std::cout << " l1SimHdCore = " << m_l1SimHdCore << std::endl;
107  std::cout << " l1SimHdIsol = " << m_l1SimHdIsol << std::endl;
108  std::cout << " l1SimnRoIperRegion = " << m_l1SimnRoIperRegion << std::endl;
109 
110  std::cout << " RoIword = " << m_RoIword << std::endl;
111  std::cout << " EM0energy narrow = " << m_eem0nar << std::endl;
112  std::cout << " EM0energy wide = " << m_eem0wid << std::endl;
113  std::cout << " EM1energy narrow = " << m_eem1nar << std::endl;
114  std::cout << " EM1energy wide = " << m_eem1wid << std::endl;
115  std::cout << " EM2energy narrow = " << m_eem2nar << std::endl;
116  std::cout << " EM2energy wide = " << m_eem2wid << std::endl;
117  std::cout << " EM3energy narrow = " << m_eem3nar << std::endl;
118  std::cout << " EM3energy wide = " << m_eem3wid << std::endl;
119 
120  std::cout << " HAD1 energy narrow = " << m_ehad1nar << std::endl;
121  std::cout << " HAD1 energy wide = " << m_ehad1wid << std::endl;
122  std::cout << " HAD2 energy narrow = " << m_ehad2nar << std::endl;
123  std::cout << " HAD2 energy wide = " << m_ehad2wid << std::endl;
124  std::cout << " HAD3energy narrow = " << m_ehad3nar << std::endl;
125  std::cout << " HAD3energy wide = " << m_ehad3wid << std::endl;
126 
127  std::cout << " EM radius samp0 = " << m_eem0rad << std::endl;
128  std::cout << " EM radius samp1 = " << m_eem1rad << std::endl;
129  std::cout << " EM radius samp2 = " << m_eem2rad << std::endl;
130  std::cout << " EM radius samp3 = " << m_eem3rad << std::endl;
131 
132  std::cout << " EM eta radius samp0 = " << m_em0weta << std::endl;
133  std::cout << " EM eta radius samp1 = " << m_em1weta << std::endl;
134  std::cout << " EM eta radius samp2 = " << m_em2weta << std::endl;
135  std::cout << " EM eta radius samp3 = " << m_em3weta << std::endl;
136  std::cout << " HAD eta radius samp1 = " << m_had1weta << std::endl;
137  std::cout << " HAD eta radius samp2 = " << m_had2weta << std::endl;
138  std::cout << " HAD eta radius samp3 = " << m_had3weta << std::endl;
139 
140  std::cout << " EM energy normalization samp0 = " << m_energyem0nor <<
141  std::endl;
142  std::cout << " EM energy normalization samp1 = " << m_energyem1nor <<
143  std::endl;
144  std::cout << " EM energy normalization samp2 = " << m_energyem2nor <<
145  std::endl;
146  std::cout << " EM energy normalization samp3 = " << m_energyem3nor <<
147  std::endl;
148  std::cout << " HAD energy normalization samp1 = " << m_energyhad1nor <<
149  std::endl;
150  std::cout << " HAD energy normalization samp2 = " << m_energyhad2nor <<
151  std::endl;
152  std::cout << " HAD energy normalization samp3 = " << m_energyhad3nor <<
153  std::endl;
154 
155 }
EMShowerMinimal::print
void print() const
Definition: EMShowerMinimal.cxx:92
EMShowerMinimal::m_eem3rad
double m_eem3rad
Definition: EMShowerMinimal.h:256
EMShowerMinimal::m_ehad1nar
double m_ehad1nar
Definition: EMShowerMinimal.h:246
EMShowerMinimal::m_had3weta
double m_had3weta
Definition: EMShowerMinimal.h:264
EMShowerMinimal::m_l1SimPhi
double m_l1SimPhi
Definition: EMShowerMinimal.h:229
EMShowerMinimal::m_em1weta
double m_em1weta
Definition: EMShowerMinimal.h:259
EMShowerMinimal::m_eem3nar
double m_eem3nar
Definition: EMShowerMinimal.h:243
EMShowerMinimal::m_ehad2nar
double m_ehad2nar
Definition: EMShowerMinimal.h:248
EMShowerMinimal::m_energyem2nor
double m_energyem2nor
Definition: EMShowerMinimal.h:268
EMShowerMinimal::m_weta2
double m_weta2
Definition: EMShowerMinimal.h:224
EMShowerMinimal::m_eem1wid
double m_eem1wid
Definition: EMShowerMinimal.h:240
EMShowerMinimal::m_RoIword
long m_RoIword
Definition: EMShowerMinimal.h:236
EMShowerMinimal.h
EMShowerMinimal::m_eem2wid
double m_eem2wid
Definition: EMShowerMinimal.h:242
EMShowerMinimal::m_l1SimnRoIperRegion
long m_l1SimnRoIperRegion
Definition: EMShowerMinimal.h:234
x
#define x
EMShowerMinimal::m_ehad3wid
double m_ehad3wid
Definition: EMShowerMinimal.h:251
EMShowerMinimal::m_eem0nar
double m_eem0nar
Definition: EMShowerMinimal.h:237
EMShowerMinimal::m_e277
double m_e277
Definition: EMShowerMinimal.h:223
EMShowerMinimal::m_energyhad1nor
double m_energyhad1nor
Definition: EMShowerMinimal.h:270
EMShowerMinimal::m_l1SimEmClus
double m_l1SimEmClus
Definition: EMShowerMinimal.h:230
EMShowerMinimal::EMShowerMinimal
EMShowerMinimal()
Default constructor.
Definition: EMShowerMinimal.cxx:34
EMShowerMinimal::m_energyem1nor
double m_energyem1nor
Definition: EMShowerMinimal.h:267
EMShowerMinimal::m_eem2rad
double m_eem2rad
Definition: EMShowerMinimal.h:255
EMShowerMinimal::m_energyhad3nor
double m_energyhad3nor
Definition: EMShowerMinimal.h:272
EMShowerMinimal::m_e237
double m_e237
Definition: EMShowerMinimal.h:222
EMShowerMinimal::m_l1SimEmIsol
double m_l1SimEmIsol
Definition: EMShowerMinimal.h:231
EMShowerMinimal::m_eem0rad
double m_eem0rad
Definition: EMShowerMinimal.h:253
EMShowerMinimal::m_had2weta
double m_had2weta
Definition: EMShowerMinimal.h:263
EMShowerMinimal::m_eem2nar
double m_eem2nar
Definition: EMShowerMinimal.h:241
EMShowerMinimal::m_fracs1
double m_fracs1
Definition: EMShowerMinimal.h:226
EMShowerMinimal::m_ehad1wid
double m_ehad1wid
Definition: EMShowerMinimal.h:247
EMShowerMinimal::m_ehad1
double m_ehad1
Definition: EMShowerMinimal.h:221
EMShowerMinimal::m_e2tsts1
double m_e2tsts1
Definition: EMShowerMinimal.h:225
EMShowerMinimal::m_l1SimHdIsol
double m_l1SimHdIsol
Definition: EMShowerMinimal.h:233
EMShowerMinimal::m_eem3wid
double m_eem3wid
Definition: EMShowerMinimal.h:244
EMShowerMinimal::m_em0weta
double m_em0weta
Definition: EMShowerMinimal.h:258
EMShowerMinimal::m_had1weta
double m_had1weta
Definition: EMShowerMinimal.h:262
EMShowerMinimal::m_l1SimEta
double m_l1SimEta
Definition: EMShowerMinimal.h:228
EMShowerMinimal::m_em3weta
double m_em3weta
Definition: EMShowerMinimal.h:261
EMShowerMinimal::m_energyem3nor
double m_energyem3nor
Definition: EMShowerMinimal.h:269
EMShowerMinimal::m_energyem0nor
double m_energyem0nor
Definition: EMShowerMinimal.h:266
EMShowerMinimal::m_energyhad2nor
double m_energyhad2nor
Definition: EMShowerMinimal.h:271
EMShowerMinimal::m_emaxs1
double m_emaxs1
Definition: EMShowerMinimal.h:227
EMShowerMinimal::m_eem0wid
double m_eem0wid
Definition: EMShowerMinimal.h:238
EMShowerMinimal::m_em2weta
double m_em2weta
Definition: EMShowerMinimal.h:260
EMShowerMinimal::m_l1SimHdCore
double m_l1SimHdCore
Definition: EMShowerMinimal.h:232
EMShowerMinimal::m_eem1rad
double m_eem1rad
Definition: EMShowerMinimal.h:254
EMShowerMinimal::m_ehad3nar
double m_ehad3nar
Definition: EMShowerMinimal.h:250
EMShowerMinimal::m_eem1nar
double m_eem1nar
Definition: EMShowerMinimal.h:239
EMShowerMinimal::m_ehad2wid
double m_ehad2wid
Definition: EMShowerMinimal.h:249