MySystematics Class Reference

#include <MySystematics.h>

List of all members.

Public Member Functions

 MySystematics (unsigned int seed)
 ~MySystematics (void)
Double_t egamma_resolution (const Double_t et)
Double_t muon_resolution (const Double_t pt)
Double_t jet_resolution (const Double_t e, const Double_t eta)
Double_t taujet_resolution (const Double_t e)
Double_t energy_scale (const Double_t pT, const Double_t f)
Bool_t is_detected (const Double_t f)
Bool_t is_bjet (const Double_t f_minus)
Double_t metCorrection_x (const Double_t aodPx, const Double_t correctedPx)
Double_t metCorrection_y (const Double_t aodPy, Double_t correctedPy)
Double_t metCorrection_sum (const Double_t aodSum, Double_t correctedsum)
Double_t metScale (const Double_t aodM, const Double_t correctedM, Double_t factor=1.0)
void apply_syst (std::vector< MyParticle * > *vp_syst, MyMissingEt *met_syst, int f_reso, int f_eScale_minus, int f_eScale_plus, int f_effi, int f_btag)
 apply systematic effect on particles vp_syst and met_syst

Private Member Functions

void init (unsigned int seed)
void destruct (void)

Private Attributes

MyDatasetInfom_dataset_info
MyTools m_tools
TRandom * m_random


Detailed Description

apply CSC note recommendations of systematics uncertainties from athena/offline/PhysicsAnalysis/HiggsPhys/ChargedHiggs/Root/Systematics.h (version: ChargedHiggs-00-00-40)

Date:
december 2007
Author:
Ketevi A. Assamagan

Definition at line 38 of file MySystematics.h.


Constructor & Destructor Documentation

MySystematics::MySystematics ( unsigned int  seed  )  [inline]

the constructor - you must pass the seed for the random number generator

Definition at line 43 of file MySystematics.h.

MySystematics::~MySystematics ( void   )  [inline]

destructor - remove memory allocation on the heap

Definition at line 48 of file MySystematics.h.


Member Function Documentation

Double_t MySystematics::egamma_resolution ( const Double_t  et  )  [inline]

Gaussing smearing in the resolution of electron/photon smearing of ET with some sigma specified/recommended this method returns the smeared electron/photon ET

Definition at line 19 of file MySystematics.ixx.

Double_t MySystematics::muon_resolution ( const Double_t  pt  )  [inline]

Gaussing smearing in the resolution smearing in pt with some sigma specified/recommended This method return the smeared muon PT (in GeV)

Definition at line 33 of file MySystematics.ixx.

Double_t MySystematics::jet_resolution ( const Double_t  e,
const Double_t  eta 
) [inline]

Gaussing smearing in the resolution smearing of et with some sigma specified/recommended This method returm the smeared jet E (in GeV) values are eta dependent

Definition at line 65 of file MySystematics.ixx.

Double_t MySystematics::taujet_resolution ( const Double_t  e  )  [inline]

Gaussing smearing in the resolution smearing of et with some sigma specified/recommended This method returm the smeared TauJet E (in GeV)

Definition at line 81 of file MySystematics.ixx.

Double_t MySystematics::energy_scale ( const Double_t  pT,
const Double_t  f 
) [inline]

Energy scale - boost pT with corresponding f+ nad f-

Definition at line 92 of file MySystematics.ixx.

Bool_t MySystematics::is_detected ( const Double_t  f  )  [inline]

Efficiency: account for the efficiency uncertainty (see "error" in the table) with the appropriate analytical calculation (event yield). test both approach: should get similar result

Definition at line 107 of file MySystematics.ixx.

Bool_t MySystematics::is_bjet ( const Double_t  f_minus  )  [inline]

b-tagging efficiency uncertainty kill randomly the available b-tagged jets according to the additional inefficiency probability reported (1- f-)

Definition at line 120 of file MySystematics.ixx.

Double_t MySystematics::metCorrection_x ( const Double_t  aodPx,
const Double_t  correctedPx 
) [inline]

Correct the missing energy according to the reconstructed muon: For Resolution and Energy scale: ETM_x_new = ET_x_fromAOD + pxmu_fromAOD - pxmu_new Here you pass the X and Y component separately You have to add the original MET your self

Definition at line 135 of file MySystematics.ixx.

void MySystematics::init ( unsigned int  seed  )  [private]

constructor - need to pass the seed for the random number generator

Definition at line 26 of file MySystematics.cxx.

void MySystematics::destruct ( void   )  [private]

destructor - remove memory allocation on the heap

Definition at line 36 of file MySystematics.cxx.


Member Data Documentation

TRandom* MySystematics::m_random [private]

the random number generator

Definition at line 118 of file MySystematics.h.


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