Pluto v6.3.0
Loading...
Searching...
No Matches
PHadesParticleSmearer.h
Go to the documentation of this file.
1// Author:
2// Written: 12.5.2009
3// Revised:
4// PHadesParticleSmearer Class Header
5
6#ifndef _PHADESPARTICLESMEARER_H_
7#define _PHADESPARTICLESMEARER_H_
8
9#include "TObject.h"
10#include "PBulkInterface.h"
11#include "PUtils.h"
12
14
15 public:
17
18 Bool_t Modify(PParticle **stack, int *decay_done, int *num, int stacksize);
19
20 void SetResolutionFactor(Double_t x) {
22 };
23
24 protected:
25
26 static double detrk4[7][5] ;
27 static double multscrk4[7][5] ;
28 static double detrk3[7][5] ;
29 static double multscrk3[7][5] ;
30 static double detkick[7][5] ;
31 TRandom3 rand;
32
33
34 double GetResolution(PParticle *p, Int_t iSetup=4);
35 void Smear(PParticle *p, double gamma);
37
38 ClassDef(PHadesParticleSmearer, 0) // Momentum smearing of HADES particle tracks
39
40};
41
42#endif
void Smear(PParticle *p, double gamma)
static double multscrk4[7][5]
double GetResolution(PParticle *p, Int_t iSetup=4)
static double detkick[7][5]
Bool_t Modify(PParticle **stack, int *decay_done, int *num, int stacksize)
void SetResolutionFactor(Double_t x)
static double multscrk3[7][5]
PParticle * p
Definition dp_mult.C:24