ATLAS Offline Software
tauAnalysisHelperObject.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 
17 
18 
19 #ifndef TAUREC_TAUANALYSISHELPEROBJECT_H
20 #define TAUREC_TAUANALYSISHELPEROBJECT_H
21 
22 #include "Particle/TrackParticle.h"
24 
25 #include "AthLinks/ElementLink.h"
26 #include "AthLinks/ElementLinkVector.h"
27 
28 #include "CaloEvent/CaloCell.h"
30 
31 #include "EventKernel/I4Momentum.h"
32 
33 #include "FourMom/P4EEtaPhiM.h"
34 
35 #include <vector>
36 #include <sys/types.h>
37 
46 {
47  public:
48  // element links
52 
56 
59 
64  int jettype() const { return m_jettype; }
66 
68  double decmode() const { return m_decmode; };
69 
70 
71  // -- set Analysis Helper --
72  void setJettype( const int jettype ) { m_jettype = jettype; }
73  void setDecmode( const int decmode ) { m_decmode = decmode; };
75 
76 
81  double TowEMRadius() const { return m_TowEMRadius; }
83 
85  double TowIsoFrac() const { return m_TowET12Frac; }
86 
88  double EMRadii( const int idx ) const { return m_emradii[idx]; };
89 
91  double HADRadii( const int idx ) const { return m_hadradii[idx]; };
92 
93 
94  // -- set FastShower Analysis Helper --
95  void setTowEMRadius(const double rad) { m_TowEMRadius = rad; }
96  void setTowIsoFrac(const double frac) { m_TowET12Frac = frac; }
97  void setEMRadii( const int idx, const double rad ) { m_emradii[idx] = rad; };
98  void setHADRadii( const int idx, const double rad ) { m_hadradii[idx] = rad; };
100 
101 
106  double RawImpactParameter( const int track ) const { return m_RawImpactParameter[track]; }
108  double ImpactParameter( const int track ) const { return m_ImpactParameter[track]; }
109  double SignedImpactParameter( const int track ) const { return m_SignedImpactParameter[track]; }
112 
113 
114  // -- set Impact Parameter Analysis Helper --
115  void setImpactParameter( const int track, const double ip ) { if ( track < 10 ) m_ImpactParameter[track] = ip; }
116  void setRawImpactParameter( const int track, const double ip ) { if ( track < 10 ) m_RawImpactParameter[track] = ip; }
117  void setSignedImpactParameter( const int track, const double ip ) { if ( track < 10 ) m_SignedImpactParameter[track] = ip; }
118  void setImpactParameterSignificance( const int track, const double ip ) { if ( track < 10 ) m_ImpactParameterSignificance[track] = ip; }
121 
122 
127  double d0prf() { return m_d0prf; };
129 
131  double d0iso() { return m_d0iso; };
132 
134  double d0isoet() { return m_d0isoet; };
135 
137  double d0ettr() { return m_d0ettr; };
138 
140  double d0etem() { return m_d0etem; };
141 
143  double d0etem2() { return m_d0etem2; };
144 
145 
147  double d0emclet() { return m_d0emclet; };
148 
150  double d0emcleta() { return m_d0emcleta; };
151 
153  double d0emclphi() { return m_d0emclphi; };
154 
155 
157  double d0hadet() { return m_d0hadet; };
158 
160  double d0hadeta() { return m_d0hadeta; };
161 
163  double d0hadphi() { return m_d0hadphi; };
164 
165 
167  double d0et05() { return m_d0et05; };
168 
170  double d0eta05() { return m_d0eta05; };
171 
173  double d0phi05() { return m_d0phi05; };
174 
175 
177  double d0type() { return m_d0type; };
178 
180  double d0deltaR1() { return m_d0deltaR1; };
181 
183  double d0eTosumpT() { return m_d0eTosumpT; };
184 
185 
187  double d0deltaR1had() { return m_d0deltaR1had; };
188 
190  double d0em3iso() { return m_d0em3iso; };
191 
193  double d0mtrem3() { return m_d0mtrem3; };
194 
195 
197  double d0deltaR2() { return m_d0deltaR2; };
198 
200  double d0ntr1030() { return m_d0ntr1030; };
201 
202 
204  double d0EM12isof() { return m_d0EM12isof; };
205 
207  double d0e1e2otaupT() { return m_d0e1e2otaupT; };
208 
210  double d0ettro123() { return m_d0ettro123; };
211 
213  double d0ett1oEtiso() { return m_d0ett1oEtiso; };
214 
216  double d0ett1oEtisoet() { return m_d0ett1oEtisoet; };
217 
219  double d0dalpha() { return m_d0dalpha; }
220 
222  double d0e1e2() { return m_d0e1e2; };
223 
225  double d0mtau() { return m_d0dalpha*m_d0e1e2; };
226 
228  double d0mtr1tr2() { return m_d0mtr1tr2; };
229 
231  double d0mtr1tr2tr3() { return m_d0mtr1tr2tr3; };
232 
233 
235  double d0sumtaupt() { return m_d0sumtaupt; };
236 
238  double d0sumnontaupt() { return m_d0sumnontaupt; };
239 
241  double d0sumpt() { return m_d0sumpt; };
242 
244  I4Momentum* d0tower( int i ) { return new P4EEtaPhiM( m_towere[i], m_towereta[i], m_towerphi[i], 0.0 ); };
245 
247  double d0toweret( int i ) { return m_towere[i]/cosh( m_towereta[i] ); };
248 
250  int d0nTowers() { return m_towere.size(); };
251  // -- set D0 variables --
252 
254  double d0sumtoweret() { double sumet = 0; for ( int i = 0; i < d0nTowers(); i++ ) sumet += d0toweret(i); return sumet; };
255 
257  double d0uncaletlayers( int l ) { return m_d0uncaletlayers[l]; };
258 
259  void setD0prf( double val ) { m_d0prf = val; };
260  void setD0iso( double val ) { m_d0iso = val; };
261  void setD0isoet( double val ) { m_d0isoet = val; };
262  void setD0ettr( double val ) { m_d0ettr = val; };
263  void setD0etem( double val ) { m_d0etem = val; };
264  void setD0etem2( double val ) { m_d0etem2 = val; };
265 
266  void setD0emclet( double val ) { m_d0emclet = val; };
267  void setD0emcleta( double val ) { m_d0emcleta = val; };
268  void setD0emclphi( double val ) { m_d0emclphi = val; };
269 
270  void setD0hadet( double val ) { m_d0hadet = val; };
271  void setD0hadeta( double val ) { m_d0hadeta = val; };
272  void setD0hadphi( double val ) { m_d0hadphi = val; };
273 
274  void setD0et05( double val ) { m_d0et05 = val; };
275  void setD0eta05( double val ) { m_d0eta05 = val; };
276  void setD0phi05( double val ) { m_d0phi05 = val; };
277 
278  void setD0type( double val ) { m_d0type = val; };
279  void setD0deltaR1( double val ) { m_d0deltaR1 = val; };
280  void setD0eTosumpT( double val ) { m_d0eTosumpT = val; };
281 
282  void setD0deltaRhad( double val ) { m_d0deltaR1had = val; };
283  void setD0em3iso( double val ) { m_d0em3iso = val; };
284  void setD0mtrem3( double val ) { m_d0mtrem3 = val; };
285 
286  void setD0deltaR2( double val ) { m_d0deltaR2 = val; };
287  void setD0ntr1030( double val ) { m_d0ntr1030 = val; };
288 
289  void setD0EM12isof( double val ) { m_d0EM12isof = val; };
290  void setD0e1e2otaupT( double val ) { m_d0e1e2otaupT = val; };
291  void setD0ettro123( double val ) { m_d0ettro123 = val; };
292  void setD0ett1oEtiso( double val ) { m_d0ett1oEtiso = val; };
293  void setD0ett1oEtisoet( double val ) { m_d0ett1oEtisoet = val; };
294  void setD0dalpha( double val ) { m_d0dalpha = val; }
295  void setD0e1e2( double val ) { m_d0e1e2 = val; };
296 
297  void setD0mtr1tr2( double val ) { m_d0mtr1tr2 = val; };
298  void setD0mtr1tr2tr3( double val ) { m_d0mtr1tr2tr3 = val; };
299 
300  void setD0sumtaupt( double val ) { m_d0sumtaupt = val; };
301  void setD0sumnontaupt( double val ) { m_d0sumnontaupt = val; };
302  void setD0sumpt( double val ) { m_d0sumpt = val; };
303 
304  void clearD0towers() {
305  m_towere.clear();
306  m_towereta.clear();
307  m_towerphi.clear();
308  }
309  void addD0tower( const double e, const double eta, const double phi ) { m_towere.push_back( e ); m_towereta.push_back( eta ); m_towerphi.push_back( phi ); };
310  void addD0tower( const I4Momentum *mom ) { m_towere.push_back( mom->e() ); m_towereta.push_back( mom->eta() ); m_towerphi.push_back( mom->phi() ); };
311 
312  void setD0uncaletlayers( int l, double val ) { m_d0uncaletlayers[l] = val; };
314 
315 
321  const tauCellColl_type& d0_emcluster() const { return m_d0_emcluster; }
322  int d0_emcluster_nCells() const { return m_d0_emcluster.size(); }
325 
326  const CaloCell* d0_emcluster_cell( uint i) const { return *m_d0_emcluster[i]; }
327 
328  // -- add cells to emcluster --
329  void d0_emcluster_addCell(const CaloCellContainer* cellContainer, const CaloCell* theCell) {
330  tauCell_type theLink;
331  theLink.toContainedElement( *cellContainer, (CaloCell*) theCell );
332  m_d0_emcluster.push_back(theLink);
333  }
334 
336 
340  int d0_05_nTracks() const { return m_d0_05_Tracks.size(); }
342  const tauTrackColl_type& d0_05_tracks() const { return m_d0_05_Tracks; }
345 
346  const Rec::TrackParticle* d0_05_track( uint i) const { return *m_d0_05_Tracks[i]; }
347 
348  // -- add Tracks --
349  void d0_05_addTrack(const Rec::TrackParticleContainer* trackContainer, const Rec::TrackParticle* theTrack) {
350  tauTrack_type theLink;
351  theLink.toContainedElement( *trackContainer, (Rec::TrackParticle*) theTrack );
352  m_d0_05_Tracks.push_back(theLink);
353  }
355 
360  int d0_tau_nTracks() const { return m_d0_tau_Tracks.size(); }
365 
366  const Rec::TrackParticle* d0_tau_track( uint i) const { return *m_d0_tau_Tracks[i]; }
367 
368  // -- add Tracks --
369  void d0_tau_addTrack(const Rec::TrackParticleContainer* trackContainer, const Rec::TrackParticle* theTrack) {
370  tauTrack_type theLink;
371  theLink.toContainedElement( *trackContainer, (Rec::TrackParticle*) theTrack );
372  m_d0_tau_Tracks.push_back(theLink);
373  }
375 
380  int d0_nontau_nTracks() const { return m_d0_nontau_Tracks.size(); }
385 
387 
388  // -- add Tracks --
389  void d0_nontau_addTrack(const Rec::TrackParticleContainer* trackContainer, const Rec::TrackParticle* theTrack) {
390  tauTrack_type theLink;
391  theLink.toContainedElement( *trackContainer, (Rec::TrackParticle*) theTrack );
392  m_d0_nontau_Tracks.push_back(theLink);
393  }
395 
396  protected:
397  int m_decmode=-1;
398  int m_jettype=-1;
399 
400  double m_emradii[6]={0};
401  double m_hadradii[6]={0};
402  double m_TowEMRadius=-1111;
403  double m_TowET12Frac=-1111;
404 
405  double m_ImpactParameter[10]={0};
406  double m_RawImpactParameter[10]={0};
407  double m_SignedImpactParameter[10]={0};
410 
411  // d0 variables
412  double m_d0prf=-1111;
413  double m_d0iso=-1111;
414  double m_d0isoet=-1111;
415  double m_d0ettr=-1111;
416  double m_d0etem=-1111;
417  double m_d0etem2=-1111;
418  double m_d0emclet=-1111;
419  double m_d0emcleta=-1111;
420  double m_d0emclphi=-1111;
421  double m_d0et05=-1111;
422  double m_d0eta05=-1111;
423  double m_d0phi05=-1111;
424 
425  double m_d0hadet=-1111;
426  double m_d0hadeta=-1111;
427  double m_d0hadphi=-1111;
428 
429  double m_d0type=-1111;
430  double m_d0deltaR1=-1111;
431  double m_d0eTosumpT=-1111;
432 
433  double m_d0deltaR1had=-1111;
434  double m_d0em3iso=-1111;
435  double m_d0mtrem3=-1111;
436 
437  double m_d0deltaR2=-1111;
438  double m_d0ntr1030=-1111;
439 
440  double m_d0EM12isof=-1111;
441  double m_d0e1e2otaupT=-1111;
442  double m_d0ettro123=-1111;
443  double m_d0ett1oEtiso=-1111;
444  double m_d0ett1oEtisoet=-1111;
445  double m_d0dalpha=-1111;
446  double m_d0e1e2=-1111;
447 
448  double m_d0mtr1tr2=-1111;
449  double m_d0mtr1tr2tr3=-1111;
450 
451  double m_d0sumtaupt=-1111;
452  double m_d0sumnontaupt=-1111;
453  double m_d0sumpt=-1111;
454 
455  std::vector<double> m_towere;
456  std::vector<double> m_towereta;
457  std::vector<double> m_towerphi;
458 
459  double m_d0uncaletlayers[25]={0};
460 
462 
466 };
467 
468 
469 #endif
tauAnalysisHelperObject::d0_emcluster_cell
const CaloCell * d0_emcluster_cell(uint i) const
Definition: tauAnalysisHelperObject.h:326
AllowedVariables::e
e
Definition: AsgElectronSelectorTool.cxx:37
tauAnalysisHelperObject::m_SignedImpactParameter
double m_SignedImpactParameter[10]
Definition: tauAnalysisHelperObject.h:407
tauAnalysisHelperObject::m_decmode
int m_decmode
Definition: tauAnalysisHelperObject.h:397
tauAnalysisHelperObject::setD0phi05
void setD0phi05(double val)
Definition: tauAnalysisHelperObject.h:276
tauAnalysisHelperObject::d0_05_track_begin
tauTrackColl_iterator d0_05_track_begin()
Definition: tauAnalysisHelperObject.h:343
tauAnalysisHelperObject::m_d0sumpt
double m_d0sumpt
Definition: tauAnalysisHelperObject.h:453
tauAnalysisHelperObject::m_SignedImpactParameterSignificance
double m_SignedImpactParameterSignificance[10]
Definition: tauAnalysisHelperObject.h:409
tauAnalysisHelperObject::m_d0dalpha
double m_d0dalpha
Definition: tauAnalysisHelperObject.h:445
tauAnalysisHelperObject::setD0mtr1tr2
void setD0mtr1tr2(double val)
Definition: tauAnalysisHelperObject.h:297
tauAnalysisHelperObject::d0uncaletlayers
double d0uncaletlayers(int l)
gives the uncal energy in layers up to 24.
Definition: tauAnalysisHelperObject.h:257
tauAnalysisHelperObject::EMRadii
double EMRadii(const int idx) const
gives the EMRadius for radius i ( i = 0.1, 0.2, 0.3, 0.4, 0.5, 0.7, 1.0 )
Definition: tauAnalysisHelperObject.h:88
tauAnalysisHelperObject::m_towerphi
std::vector< double > m_towerphi
Definition: tauAnalysisHelperObject.h:457
tauAnalysisHelperObject::SignedImpactParameterSignificance
double SignedImpactParameterSignificance(const int track) const
Definition: tauAnalysisHelperObject.h:111
I4Momentum
Definition: I4Momentum.h:31
ElementLinkVector< Rec::TrackParticleContainer >::iterator
ELVIterator< typename RefVector::iterator > iterator
Definition: AthLinks/ElementLinkVector.h:128
tauAnalysisHelperObject::setD0sumpt
void setD0sumpt(double val)
Definition: tauAnalysisHelperObject.h:302
tauAnalysisHelperObject::m_d0sumtaupt
double m_d0sumtaupt
Definition: tauAnalysisHelperObject.h:451
tauAnalysisHelperObject::m_d0e1e2
double m_d0e1e2
Definition: tauAnalysisHelperObject.h:446
tauAnalysisHelperObject::tauTrackColl_type
ElementLinkVector< Rec::TrackParticleContainer > tauTrackColl_type
Definition: tauAnalysisHelperObject.h:50
tauAnalysisHelperObject::m_TowET12Frac
double m_TowET12Frac
Definition: tauAnalysisHelperObject.h:403
tauAnalysisHelperObject::setTowIsoFrac
void setTowIsoFrac(const double frac)
Definition: tauAnalysisHelperObject.h:96
tauAnalysisHelperObject::m_ImpactParameter
double m_ImpactParameter[10]
Definition: tauAnalysisHelperObject.h:405
tauAnalysisHelperObject::d0_nontau_tracks
const tauTrackColl_type & d0_nontau_tracks() const
Definition: tauAnalysisHelperObject.h:382
tauAnalysisHelperObject::m_d0eTosumpT
double m_d0eTosumpT
Definition: tauAnalysisHelperObject.h:431
tauAnalysisHelperObject::m_d0ett1oEtiso
double m_d0ett1oEtiso
Definition: tauAnalysisHelperObject.h:443
TrackParticle.h
tauAnalysisHelperObject::d0deltaR1
double d0deltaR1()
gives Delta R between the 1 track and the calo cluster
Definition: tauAnalysisHelperObject.h:180
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:67
tauAnalysisHelperObject::setD0mtr1tr2tr3
void setD0mtr1tr2tr3(double val)
Definition: tauAnalysisHelperObject.h:298
tauAnalysisHelperObject::setSignedImpactParameter
void setSignedImpactParameter(const int track, const double ip)
Definition: tauAnalysisHelperObject.h:117
tauAnalysisHelperObject::decmode
double decmode() const
gives the decaymode of the associated true tau, 1-10 (for numbering convention see ?...
Definition: tauAnalysisHelperObject.h:68
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:83
tauAnalysisHelperObject::d0_tau_track_begin
tauTrackColl_iterator d0_tau_track_begin()
Definition: tauAnalysisHelperObject.h:363
tauAnalysisHelperObject::m_d0hadeta
double m_d0hadeta
Definition: tauAnalysisHelperObject.h:426
tauAnalysisHelperObject::TowEMRadius
double TowEMRadius() const
gives the EMRadius calculated on (pseudo-) triggertower granularity (for comparison with FASTSHOWER)
Definition: tauAnalysisHelperObject.h:82
tauAnalysisHelperObject::m_d0et05
double m_d0et05
Definition: tauAnalysisHelperObject.h:421
tauAnalysisHelperObject::setD0hadet
void setD0hadet(double val)
Definition: tauAnalysisHelperObject.h:270
tauAnalysisHelperObject::addD0tower
void addD0tower(const double e, const double eta, const double phi)
Definition: tauAnalysisHelperObject.h:309
tauAnalysisHelperObject::d0ntr1030
double d0ntr1030()
gives number of tracks between 10deg and 30deg of the calo cluster
Definition: tauAnalysisHelperObject.h:200
tauAnalysisHelperObject::m_d0ett1oEtisoet
double m_d0ett1oEtisoet
Definition: tauAnalysisHelperObject.h:444
tauAnalysisHelperObject::setD0emcleta
void setD0emcleta(double val)
Definition: tauAnalysisHelperObject.h:267
tauAnalysisHelperObject::setHADRadii
void setHADRadii(const int idx, const double rad)
Definition: tauAnalysisHelperObject.h:98
tauAnalysisHelperObject::d0sumpt
double d0sumpt()
gives the sum of pt of all tracks
Definition: tauAnalysisHelperObject.h:241
tauAnalysisHelperObject::d0_nontau_tracks
tauTrackColl_type & d0_nontau_tracks()
Definition: tauAnalysisHelperObject.h:381
P4EEtaPhiM
Definition: P4EEtaPhiM.h:25
tauAnalysisHelperObject::d0_tau_addTrack
void d0_tau_addTrack(const Rec::TrackParticleContainer *trackContainer, const Rec::TrackParticle *theTrack)
Definition: tauAnalysisHelperObject.h:369
tauAnalysisHelperObject::setD0uncaletlayers
void setD0uncaletlayers(int l, double val)
Definition: tauAnalysisHelperObject.h:312
tauAnalysisHelperObject::setD0deltaR2
void setD0deltaR2(double val)
Definition: tauAnalysisHelperObject.h:286
tauAnalysisHelperObject::m_d0emclphi
double m_d0emclphi
Definition: tauAnalysisHelperObject.h:420
tauAnalysisHelperObject::tauTrackColl_iterator
tauTrackColl_type::iterator tauTrackColl_iterator
Definition: tauAnalysisHelperObject.h:51
CaloCell.h
tauAnalysisHelperObject::m_d0hadet
double m_d0hadet
Definition: tauAnalysisHelperObject.h:425
tauAnalysisHelperObject::setD0etem
void setD0etem(double val)
Definition: tauAnalysisHelperObject.h:263
tauAnalysisHelperObject::ImpactParameter
double ImpactParameter(const int track) const
Definition: tauAnalysisHelperObject.h:108
tauAnalysisHelperObject::setD0hadeta
void setD0hadeta(double val)
Definition: tauAnalysisHelperObject.h:271
tauAnalysisHelperObject::d0_05_nTracks
int d0_05_nTracks() const
Definition: tauAnalysisHelperObject.h:340
tauAnalysisHelperObject::m_RawImpactParameter
double m_RawImpactParameter[10]
Definition: tauAnalysisHelperObject.h:406
UploadAMITag.l
list l
Definition: UploadAMITag.larcaf.py:158
ElementLinkVector< Rec::TrackParticleContainer >
tauAnalysisHelperObject::m_d0deltaR1had
double m_d0deltaR1had
Definition: tauAnalysisHelperObject.h:433
tauAnalysisHelperObject::RawImpactParameter
double RawImpactParameter(const int track) const
gives the impact parameter of track track
Definition: tauAnalysisHelperObject.h:107
tauAnalysisHelperObject::d0_emcluster_nCells
int d0_emcluster_nCells() const
Definition: tauAnalysisHelperObject.h:322
tauAnalysisHelperObject::tauCell_type
ElementLink< CaloCellContainer > tauCell_type
Definition: tauAnalysisHelperObject.h:53
tauAnalysisHelperObject::setJettype
void setJettype(const int jettype)
Definition: tauAnalysisHelperObject.h:72
tauAnalysisHelperObject::d0phi05
double d0phi05()
gives the calo phi in dR < 0.5
Definition: tauAnalysisHelperObject.h:173
tauAnalysisHelperObject::m_d0_emcluster
tauCellColl_type m_d0_emcluster
Definition: tauAnalysisHelperObject.h:461
tauAnalysisHelperObject::tauCellColl_iterator
tauCellColl_type::iterator tauCellColl_iterator
Definition: tauAnalysisHelperObject.h:55
I4Momentum.h
tauAnalysisHelperObject::m_hadradii
double m_hadradii[6]
Definition: tauAnalysisHelperObject.h:401
tauAnalysisHelperObject::d0sumnontaupt
double d0sumnontaupt()
gives the sum of pt of non-tau tracks
Definition: tauAnalysisHelperObject.h:238
tauAnalysisHelperObject::setD0iso
void setD0iso(double val)
Definition: tauAnalysisHelperObject.h:260
tauAnalysisHelperObject::m_jettype
int m_jettype
Definition: tauAnalysisHelperObject.h:398
tauAnalysisHelperObject::m_d0mtr1tr2tr3
double m_d0mtr1tr2tr3
Definition: tauAnalysisHelperObject.h:449
tauAnalysisHelperObject::setD0mtrem3
void setD0mtrem3(double val)
Definition: tauAnalysisHelperObject.h:284
tauAnalysisHelperObject::m_d0mtrem3
double m_d0mtrem3
Definition: tauAnalysisHelperObject.h:435
tauAnalysisHelperObject::m_d0_tau_Tracks
tauTrackColl_type m_d0_tau_Tracks
Definition: tauAnalysisHelperObject.h:464
tauAnalysisHelperObject::d0_05_track_end
tauTrackColl_iterator d0_05_track_end()
Definition: tauAnalysisHelperObject.h:344
tauAnalysisHelperObject::d0emcleta
double d0emcleta()
gives the eta in the em subcluster only
Definition: tauAnalysisHelperObject.h:150
tauAnalysisHelperObject::setD0sumnontaupt
void setD0sumnontaupt(double val)
Definition: tauAnalysisHelperObject.h:301
tauAnalysisHelperObject::m_TowEMRadius
double m_TowEMRadius
Definition: tauAnalysisHelperObject.h:402
tauAnalysisHelperObject::m_towere
std::vector< double > m_towere
Definition: tauAnalysisHelperObject.h:455
tauAnalysisHelperObject::setD0prf
void setD0prf(double val)
Definition: tauAnalysisHelperObject.h:259
tauAnalysisHelperObject::m_d0sumnontaupt
double m_d0sumnontaupt
Definition: tauAnalysisHelperObject.h:452
tauAnalysisHelperObject::setD0hadphi
void setD0hadphi(double val)
Definition: tauAnalysisHelperObject.h:272
tauAnalysisHelperObject::d0e1e2otaupT
double d0e1e2otaupT()
gives root square of em fraction of pT
Definition: tauAnalysisHelperObject.h:207
uint
unsigned int uint
Definition: LArOFPhaseFill.cxx:20
tauAnalysisHelperObject::setD0dalpha
void setD0dalpha(double val)
Definition: tauAnalysisHelperObject.h:294
tauAnalysisHelperObject::d0etem2
double d0etem2()
gives the calo energy in em2
Definition: tauAnalysisHelperObject.h:143
tauAnalysisHelperObject::d0eta05
double d0eta05()
gives the calo eta in dR < 0.5
Definition: tauAnalysisHelperObject.h:170
tauAnalysisHelperObject::~tauAnalysisHelperObject
~tauAnalysisHelperObject()=default
tauAnalysisHelperObject::setD0e1e2otaupT
void setD0e1e2otaupT(double val)
Definition: tauAnalysisHelperObject.h:290
tauAnalysisHelperObject::d0_tau_nTracks
int d0_tau_nTracks() const
Definition: tauAnalysisHelperObject.h:360
ParticleGun_EoverP_Config.mom
mom
Definition: ParticleGun_EoverP_Config.py:63
tauAnalysisHelperObject::m_d0emcleta
double m_d0emcleta
Definition: tauAnalysisHelperObject.h:419
tauAnalysisHelperObject::m_d0deltaR1
double m_d0deltaR1
Definition: tauAnalysisHelperObject.h:430
tauAnalysisHelperObject::d0emclphi
double d0emclphi()
gives the phi in the em subcluster only
Definition: tauAnalysisHelperObject.h:153
tauAnalysisHelperObject::m_d0mtr1tr2
double m_d0mtr1tr2
Definition: tauAnalysisHelperObject.h:448
tauAnalysisHelperObject::tauTrack_type
ElementLink< Rec::TrackParticleContainer > tauTrack_type
Definition: tauAnalysisHelperObject.h:49
tauAnalysisHelperObject::d0_nontau_track_end
tauTrackColl_iterator d0_nontau_track_end()
Definition: tauAnalysisHelperObject.h:384
tauAnalysisHelperObject::d0em3iso
double d0em3iso()
gives fraction in the third layer em3iso=E_T(EM3)^cluster / E_T(EM3)^tot
Definition: tauAnalysisHelperObject.h:190
tauAnalysisHelperObject::m_towereta
std::vector< double > m_towereta
Definition: tauAnalysisHelperObject.h:456
lumiFormat.i
int i
Definition: lumiFormat.py:85
tauAnalysisHelperObject::m_d0ettr
double m_d0ettr
Definition: tauAnalysisHelperObject.h:415
tauAnalysisHelperObject::setD0emclet
void setD0emclet(double val)
Definition: tauAnalysisHelperObject.h:266
checkxAOD.frac
frac
Definition: Tools/PyUtils/bin/checkxAOD.py:259
tauAnalysisHelperObject::d0dalpha
double d0dalpha()
gives the opening angle between the highest pT track and the corresponding em cluster / sin (theta_cl...
Definition: tauAnalysisHelperObject.h:219
tauAnalysisHelperObject::d0hadet
double d0hadet()
gives the calo energy in the had calo only
Definition: tauAnalysisHelperObject.h:157
tauAnalysisHelperObject::m_d0deltaR2
double m_d0deltaR2
Definition: tauAnalysisHelperObject.h:437
tauAnalysisHelperObject::setD0isoet
void setD0isoet(double val)
Definition: tauAnalysisHelperObject.h:261
tauAnalysisHelperObject::m_d0eta05
double m_d0eta05
Definition: tauAnalysisHelperObject.h:422
tauAnalysisHelperObject
DEPRECATED DO NOT USE - MIGRATE TO TauCommonDetails.
Definition: tauAnalysisHelperObject.h:46
tauAnalysisHelperObject::m_d0EM12isof
double m_d0EM12isof
Definition: tauAnalysisHelperObject.h:440
tauAnalysisHelperObject::d0_emcluster_begin
tauCellColl_iterator d0_emcluster_begin()
Definition: tauAnalysisHelperObject.h:323
tauAnalysisHelperObject::setRawImpactParameter
void setRawImpactParameter(const int track, const double ip)
Definition: tauAnalysisHelperObject.h:116
tauAnalysisHelperObject::d0_nontau_track
const Rec::TrackParticle * d0_nontau_track(uint i) const
Definition: tauAnalysisHelperObject.h:386
tauAnalysisHelperObject::setD0ettro123
void setD0ettro123(double val)
Definition: tauAnalysisHelperObject.h:291
tauAnalysisHelperObject::d0ett1oEtisoet
double d0ett1oEtisoet()
gives pT of track 1 / calo eT (dR < 0.5) = p_T^tautrk/(p_T^tau * iso )
Definition: tauAnalysisHelperObject.h:216
find_tgc_unfilled_channelids.ip
ip
Definition: find_tgc_unfilled_channelids.py:3
tauAnalysisHelperObject::d0toweret
double d0toweret(int i)
gives the et of tower i
Definition: tauAnalysisHelperObject.h:247
tauAnalysisHelperObject::TowIsoFrac
double TowIsoFrac() const
gives the Isolation calculated on (pseudo-) triggertower granularity (for comparison with FASTSHOWER)
Definition: tauAnalysisHelperObject.h:85
tauAnalysisHelperObject::setDecmode
void setDecmode(const int decmode)
Definition: tauAnalysisHelperObject.h:73
tauAnalysisHelperObject::d0_05_track
const Rec::TrackParticle * d0_05_track(uint i) const
Definition: tauAnalysisHelperObject.h:346
tauAnalysisHelperObject::d0_nontau_track_begin
tauTrackColl_iterator d0_nontau_track_begin()
Definition: tauAnalysisHelperObject.h:383
tauAnalysisHelperObject::setD0ettr
void setD0ettr(double val)
Definition: tauAnalysisHelperObject.h:262
tauAnalysisHelperObject::d0hadphi
double d0hadphi()
gives the phi in the had calo only
Definition: tauAnalysisHelperObject.h:163
tauAnalysisHelperObject::m_d0e1e2otaupT
double m_d0e1e2otaupT
Definition: tauAnalysisHelperObject.h:441
tauAnalysisHelperObject::d0emclet
double d0emclet()
gives the calo energy in the em subcluster only
Definition: tauAnalysisHelperObject.h:147
tauAnalysisHelperObject::jettype
int jettype() const
gives the type of jet, which is the pdgid of the highest pT parton (1-6, 15, 22) from history within ...
Definition: tauAnalysisHelperObject.h:65
tauAnalysisHelperObject::m_d0hadphi
double m_d0hadphi
Definition: tauAnalysisHelperObject.h:427
tauAnalysisHelperObject::m_d0ntr1030
double m_d0ntr1030
Definition: tauAnalysisHelperObject.h:438
tauAnalysisHelperObject::SignedImpactParameter
double SignedImpactParameter(const int track) const
Definition: tauAnalysisHelperObject.h:109
tauAnalysisHelperObject::d0mtr1tr2
double d0mtr1tr2()
gives the invariant mass of track 1 and track 2
Definition: tauAnalysisHelperObject.h:228
ElementLinkVector::push_back
void push_back(const ElemLink &link)
Definition: AthLinks/ElementLinkVector.h:318
tauAnalysisHelperObject::m_d0etem2
double m_d0etem2
Definition: tauAnalysisHelperObject.h:417
tauAnalysisHelperObject::setD0eta05
void setD0eta05(double val)
Definition: tauAnalysisHelperObject.h:275
tauAnalysisHelperObject::m_d0phi05
double m_d0phi05
Definition: tauAnalysisHelperObject.h:423
tauAnalysisHelperObject::d0et05
double d0et05()
gives the calo energy in dR < 0.5
Definition: tauAnalysisHelperObject.h:167
tauAnalysisHelperObject::m_d0type
double m_d0type
Definition: tauAnalysisHelperObject.h:429
tauAnalysisHelperObject::setD0em3iso
void setD0em3iso(double val)
Definition: tauAnalysisHelperObject.h:283
tauAnalysisHelperObject::setSignedImpactParameterSignificance
void setSignedImpactParameterSignificance(const int track, const double ip)
Definition: tauAnalysisHelperObject.h:119
tauAnalysisHelperObject::addD0tower
void addD0tower(const I4Momentum *mom)
Definition: tauAnalysisHelperObject.h:310
P4EEtaPhiM.h
tauAnalysisHelperObject::d0_emcluster
tauCellColl_type & d0_emcluster()
Definition: tauAnalysisHelperObject.h:320
tauAnalysisHelperObject::d0deltaR1had
double d0deltaR1had()
gives Delta R between the 1 track and the hadronic part of the calo cluster
Definition: tauAnalysisHelperObject.h:187
tauAnalysisHelperObject::m_d0em3iso
double m_d0em3iso
Definition: tauAnalysisHelperObject.h:434
tauAnalysisHelperObject::d0eTosumpT
double d0eTosumpT()
gives E_T/sum(p_T)
Definition: tauAnalysisHelperObject.h:183
tauAnalysisHelperObject::m_d0prf
double m_d0prf
Definition: tauAnalysisHelperObject.h:412
tauAnalysisHelperObject::tauCellColl_type
ElementLinkVector< CaloCellContainer > tauCellColl_type
Definition: tauAnalysisHelperObject.h:54
tauAnalysisHelperObject::setD0deltaR1
void setD0deltaR1(double val)
Definition: tauAnalysisHelperObject.h:279
tauAnalysisHelperObject::d0nTowers
int d0nTowers()
gives the number of towers
Definition: tauAnalysisHelperObject.h:250
tauAnalysisHelperObject::d0_emcluster_addCell
void d0_emcluster_addCell(const CaloCellContainer *cellContainer, const CaloCell *theCell)
Definition: tauAnalysisHelperObject.h:329
tauAnalysisHelperObject::setD0e1e2
void setD0e1e2(double val)
Definition: tauAnalysisHelperObject.h:295
Rec::TrackParticleContainer
Definition: Reconstruction/Particle/Particle/TrackParticleContainer.h:33
tauAnalysisHelperObject::setD0deltaRhad
void setD0deltaRhad(double val)
Definition: tauAnalysisHelperObject.h:282
CaloCellContainer.h
CaloCellContainer
Container class for CaloCell.
Definition: CaloCellContainer.h:55
tauAnalysisHelperObject::ImpactParameterSignificance
double ImpactParameterSignificance(const int track) const
Definition: tauAnalysisHelperObject.h:110
tauAnalysisHelperObject::d0mtrem3
double d0mtrem3()
gives mass of the tau tracks and the EM3 subcluster
Definition: tauAnalysisHelperObject.h:193
tauAnalysisHelperObject::m_ImpactParameterSignificance
double m_ImpactParameterSignificance[10]
Definition: tauAnalysisHelperObject.h:408
tauAnalysisHelperObject::d0prf
double d0prf()
gives the profile prf=(E_T^1+E_T^1)/E_T
Definition: tauAnalysisHelperObject.h:128
Rec::TrackParticle
Definition: Reconstruction/Particle/Particle/TrackParticle.h:47
tauAnalysisHelperObject::setD0ett1oEtisoet
void setD0ett1oEtisoet(double val)
Definition: tauAnalysisHelperObject.h:293
tauAnalysisHelperObject::d0_tau_track
const Rec::TrackParticle * d0_tau_track(uint i) const
Definition: tauAnalysisHelperObject.h:366
tauAnalysisHelperObject::d0deltaR2
double d0deltaR2()
gives Delta R between the 2 track and the calo cluster
Definition: tauAnalysisHelperObject.h:197
tauAnalysisHelperObject::m_d0_05_Tracks
tauTrackColl_type m_d0_05_Tracks
Definition: tauAnalysisHelperObject.h:463
tauAnalysisHelperObject::m_d0ettro123
double m_d0ettro123
Definition: tauAnalysisHelperObject.h:442
tauAnalysisHelperObject::d0_emcluster
const tauCellColl_type & d0_emcluster() const
Definition: tauAnalysisHelperObject.h:321
tauAnalysisHelperObject::d0type
double d0type()
gives the tau type : 1=tau->pi- nu, 2=tau->pi- xpi0 nu, 3=tau->pi- pi+ pi- xpi0 nu
Definition: tauAnalysisHelperObject.h:177
tauAnalysisHelperObject::setImpactParameter
void setImpactParameter(const int track, const double ip)
Definition: tauAnalysisHelperObject.h:115
tauAnalysisHelperObject::tauAnalysisHelperObject
tauAnalysisHelperObject()=default
tauAnalysisHelperObject::setD0et05
void setD0et05(double val)
Definition: tauAnalysisHelperObject.h:274
CaloCell
Data object for each calorimeter readout cell.
Definition: CaloCell.h:57
tauAnalysisHelperObject::setImpactParameterSignificance
void setImpactParameterSignificance(const int track, const double ip)
Definition: tauAnalysisHelperObject.h:118
tauAnalysisHelperObject::d0sumtoweret
double d0sumtoweret()
gives the sum of et of all towers
Definition: tauAnalysisHelperObject.h:254
tauAnalysisHelperObject::m_d0etem
double m_d0etem
Definition: tauAnalysisHelperObject.h:416
tauAnalysisHelperObject::m_d0isoet
double m_d0isoet
Definition: tauAnalysisHelperObject.h:414
tauAnalysisHelperObject::d0_05_tracks
const tauTrackColl_type & d0_05_tracks() const
Definition: tauAnalysisHelperObject.h:342
Pythia8_RapidityOrderMPI.val
val
Definition: Pythia8_RapidityOrderMPI.py:14
tauAnalysisHelperObject::d0mtau
double d0mtau()
gives the tau mass
Definition: tauAnalysisHelperObject.h:225
tauAnalysisHelperObject::d0_05_addTrack
void d0_05_addTrack(const Rec::TrackParticleContainer *trackContainer, const Rec::TrackParticle *theTrack)
Definition: tauAnalysisHelperObject.h:349
tauAnalysisHelperObject::m_d0_nontau_Tracks
tauTrackColl_type m_d0_nontau_Tracks
Definition: tauAnalysisHelperObject.h:465
tauAnalysisHelperObject::clearD0towers
void clearD0towers()
Definition: tauAnalysisHelperObject.h:304
tauAnalysisHelperObject::setD0emclphi
void setD0emclphi(double val)
Definition: tauAnalysisHelperObject.h:268
ElementLinkVector::begin
iterator begin()
Definition: AthLinks/ElementLinkVector.h:274
tauAnalysisHelperObject::setD0eTosumpT
void setD0eTosumpT(double val)
Definition: tauAnalysisHelperObject.h:280
tauAnalysisHelperObject::d0e1e2
double d0e1e2()
gives sqrt( E_T^tautrk * E_T^em )
Definition: tauAnalysisHelperObject.h:222
ElementLinkVector::size
size_type size() const
Definition: AthLinks/ElementLinkVector.h:294
tauAnalysisHelperObject::setD0etem2
void setD0etem2(double val)
Definition: tauAnalysisHelperObject.h:264
tauAnalysisHelperObject::d0etem
double d0etem()
gives the calo energy in em (em0 em1 em2 em3) only
Definition: tauAnalysisHelperObject.h:140
LArNewCalib_DelayDump_OFC_Cali.idx
idx
Definition: LArNewCalib_DelayDump_OFC_Cali.py:69
tauAnalysisHelperObject::m_d0iso
double m_d0iso
Definition: tauAnalysisHelperObject.h:413
tauAnalysisHelperObject::d0_nontau_nTracks
int d0_nontau_nTracks() const
Definition: tauAnalysisHelperObject.h:380
tauAnalysisHelperObject::d0_tau_tracks
const tauTrackColl_type & d0_tau_tracks() const
Definition: tauAnalysisHelperObject.h:362
tauAnalysisHelperObject::m_d0emclet
double m_d0emclet
Definition: tauAnalysisHelperObject.h:418
tauAnalysisHelperObject::d0_nontau_addTrack
void d0_nontau_addTrack(const Rec::TrackParticleContainer *trackContainer, const Rec::TrackParticle *theTrack)
Definition: tauAnalysisHelperObject.h:389
tauAnalysisHelperObject::setEMRadii
void setEMRadii(const int idx, const double rad)
Definition: tauAnalysisHelperObject.h:97
tauAnalysisHelperObject::d0hadeta
double d0hadeta()
gives the eta in the had calo only
Definition: tauAnalysisHelperObject.h:160
tauAnalysisHelperObject::d0_05_tracks
tauTrackColl_type & d0_05_tracks()
Definition: tauAnalysisHelperObject.h:341
tauAnalysisHelperObject::m_emradii
double m_emradii[6]
Definition: tauAnalysisHelperObject.h:400
tauAnalysisHelperObject::setD0type
void setD0type(double val)
Definition: tauAnalysisHelperObject.h:278
tauAnalysisHelperObject::setD0EM12isof
void setD0EM12isof(double val)
Definition: tauAnalysisHelperObject.h:289
xAOD::track
@ track
Definition: TrackingPrimitives.h:512
tauAnalysisHelperObject::d0iso
double d0iso()
gives the isolation iso= (E(0.5)-E(0.3))/E(0.3)
Definition: tauAnalysisHelperObject.h:131
tauAnalysisHelperObject::d0ettro123
double d0ettro123()
gives fraction of pT of the not tau tracks (dR<0.5)
Definition: tauAnalysisHelperObject.h:210
tauAnalysisHelperObject::setD0sumtaupt
void setD0sumtaupt(double val)
Definition: tauAnalysisHelperObject.h:300
tauAnalysisHelperObject::d0isoet
double d0isoet()
gives the isolation iso= (ET(0.5)-ET(0.3))/ET(0.3)
Definition: tauAnalysisHelperObject.h:134
tauAnalysisHelperObject::d0ettr
double d0ettr()
gives the track isolation ettr=sum(pT of non tau tracks in 0.5)
Definition: tauAnalysisHelperObject.h:137
ElementLinkVector::end
iterator end()
Definition: AthLinks/ElementLinkVector.h:278
tauAnalysisHelperObject::m_d0uncaletlayers
double m_d0uncaletlayers[25]
Definition: tauAnalysisHelperObject.h:459
tauAnalysisHelperObject::d0_tau_tracks
tauTrackColl_type & d0_tau_tracks()
Definition: tauAnalysisHelperObject.h:361
tauAnalysisHelperObject::setTowEMRadius
void setTowEMRadius(const double rad)
Definition: tauAnalysisHelperObject.h:95
tauAnalysisHelperObject::d0tower
I4Momentum * d0tower(int i)
gives tower i
Definition: tauAnalysisHelperObject.h:244
tauAnalysisHelperObject::d0sumtaupt
double d0sumtaupt()
gives the sum of pt of tau tracks
Definition: tauAnalysisHelperObject.h:235
tauAnalysisHelperObject::setD0ett1oEtiso
void setD0ett1oEtiso(double val)
Definition: tauAnalysisHelperObject.h:292
tauAnalysisHelperObject::setD0ntr1030
void setD0ntr1030(double val)
Definition: tauAnalysisHelperObject.h:287
tauAnalysisHelperObject::HADRadii
double HADRadii(const int idx) const
gives the HADRadius for radius i ( i = 0.1, 0.2, 0.3, 0.4, 0.5, 0.7, 1.0 )
Definition: tauAnalysisHelperObject.h:91
python.SystemOfUnits.rad
int rad
Definition: SystemOfUnits.py:111
tauAnalysisHelperObject::d0ett1oEtiso
double d0ett1oEtiso()
gives pT of track 1 / calo et (dR < 0.5) = p_T^tautrk/(p_T^tau * isoet )
Definition: tauAnalysisHelperObject.h:213
tauAnalysisHelperObject::d0mtr1tr2tr3
double d0mtr1tr2tr3()
gives the invariant mass of track 1 and track 2 and track 3
Definition: tauAnalysisHelperObject.h:231
tauAnalysisHelperObject::d0_emcluste_end
tauCellColl_iterator d0_emcluste_end()
Definition: tauAnalysisHelperObject.h:324
TrackParticleContainer.h
tauAnalysisHelperObject::d0_tau_track_end
tauTrackColl_iterator d0_tau_track_end()
Definition: tauAnalysisHelperObject.h:364
tauAnalysisHelperObject::d0EM12isof
double d0EM12isof()
gives the ratio of the transverse energy in the first two layers of the calo to the total transv....
Definition: tauAnalysisHelperObject.h:204