Class BinData


class BinData

Class to hold smearing matrix data corresponding to an eta/pt/radius bin The data is provided through the constructor in the format found in the flat file and the correlation matrix corresponding to the bin can be calculated and returned via public methods.


Field Summary
 private vectorm_ectail
          vector data store.
 private vectorm_ecxkal
          vector data store.
 private vectorm_efrac
          vector data store.
 private vectorm_esig
          vector data store.
 private HepMatrixm_gauss
          main gaussian correlation matrix
 private HepMatrixm_tail
          tail correlation matrix

Constructor Summary
BinData(const vector xkal, const vector tail, vector frac, vector sig)
          Constructor from flat file contents

Method Summary
 voidcalculate(int option)
          calculates two matrices from the data provided in the constructor with an option to rescale provided as argument
 private HepMatrixconvert(vector )
          method which converts
 HepMatrix *getMatrix(double random)
          returns the correlation matrix depending on a random number supplied as argument
 private voidrescale(vector & , double )
          rescale matrix according to integer option

Field Detail

m_ectail

private vector m_ectail
vector data store. These data are used to calculate the tail correlation matrix

m_ecxkal

private vector m_ecxkal
vector data store. These data are used to calculate the main gaussian correlation matrix

m_efrac

private vector m_efrac
vector data store. These data are used to ?

m_esig

private vector m_esig
vector data store. These data are used to ?

m_gauss

private HepMatrix m_gauss
main gaussian correlation matrix

m_tail

private HepMatrix m_tail
tail correlation matrix
Constructor Detail

BinData

public BinData(const vector xkal, const vector tail, vector frac, vector sig)
Constructor from flat file contents
Method Detail

calculate

public void calculate(int option)
calculates two matrices from the data provided in the constructor with an option to rescale provided as argument

convert

private HepMatrix convert(vector )
method which converts

getMatrix

public HepMatrix * getMatrix(double random)
returns the correlation matrix depending on a random number supplied as argument

rescale

private void rescale(vector & , double )
rescale matrix according to integer option