MyPhoton Class Reference

#include <MyPhoton.h>

Inheritance diagram for MyPhoton:

MyParticle List of all members.

Public Member Functions

 MyPhoton (void)
 Default constructor: all private variables are set to 0.
 MyPhoton (const TLorentzVector &p, const double &echarge, const bool &egamma_flag, const double &isem, const double &neuralnet, const int &index, const double et_cone[4])
bool e_gamma_flag (void) const
int is_em (void) const
 returns the is_em value
double NeuralNet (void) const
 returns the NeuralNet value
double Et_in_cone (const int &delta_R_index) const
void set_e_gamma_flag (const bool &flag)
void set_Et_in_cone (const double et_in_cone[4])
void PrintParticle (std::string option="")
 print photon properties

Private Member Functions

void init (const TLorentzVector &p, const double &echarge, const bool &egamma_flag, const double &isem, const double &neuralnet, const int &index, const double et_cone[4])

Private Attributes

bool m_egamma_flag
int m_isEM
double m_NeuralNet
double m_Et_in_cone [4]

Detailed Description

This class stores photon data to be easily accessed inside ROOT. It therefore avoids direct use of ATHENA classes.

Date:
23.10.2006
Author:
Oliver.Kortner

Definition at line 34 of file MyPhoton.h.


Constructor & Destructor Documentation

MyPhoton::MyPhoton ( const TLorentzVector &  p,
const double &  echarge,
const bool &  egamma_flag,
const double &  isem,
const double &  neuralnet,
const int &  index,
const double  et_cone[4] 
) [inline]

Constructor: store the fourmomentum p of the photon. echarge: charge ; egamma_flag = true, if the particle was identified as photon by the e-gamma algorithm; Et in et_cone[0]: a cone of 0.20, Et in et_cone[1]: a cone of 0.30, Et in et_cone[2]: a cone of 0.40, Et in et_cone[3]: a cone of 0.45

Definition at line 43 of file MyPhoton.h.


Member Function Documentation

bool MyPhoton::e_gamma_flag ( void   )  const [inline]

returns true, the e-gamma algorithm identifies the particle as an photon

Definition at line 50 of file MyPhoton.ixx.

double MyPhoton::Et_in_cone ( const int &  delta_R_index  )  const [inline]

get the transverse energy in a cone around the photon; delta_R_index = 0: a cone of 0.20, delta_R_index = 1: a cone of 0.30, delta_R_index = 2: a cone of 0.40, delta_R_index = 3: a cone of 0.45

Definition at line 85 of file MyPhoton.ixx.

void MyPhoton::set_e_gamma_flag ( const bool &  flag  )  [inline]

set the flag indicating whether the e-gamma algorithm identifies the particle as an photon to flag

Definition at line 113 of file MyPhoton.ixx.

void MyPhoton::set_Et_in_cone ( const double  et_in_cone[4]  )  [inline]

set the transverse energy in a cone around the photon; et_in_cone[0]: a cone of 0.20, et_in_cone[1]: a cone of 0.30, et_in_cone[2]: a cone of 0.40, et_in_cone[3]: a cone of 0.45

Definition at line 126 of file MyPhoton.ixx.


The documentation for this class was generated from the following files:
Generated on Tue Oct 21 11:50:48 2008 for NtupleAnalysis by  doxygen 1.5.1