KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVElasticScatter.h
1/*
2$Id: KVElasticScatter.h,v 1.6 2007/04/04 10:39:17 ebonnet Exp $
3$Revision: 1.6 $
4$Date: 2007/04/04 10:39:17 $
5*/
6
9
10#ifndef __KVELASTICSCATTER_H
11#define __KVELASTICSCATTER_H
12
13#include "TVector3.h"
14#include "KVNameValueList.h"
15#include "KVNucleus.h"
16
17class TH1F;
18class TList;
19class KVGroup;
20class KVTelescope;
21class KVDetector;
22class KVTarget;
23class KV2Body;
24class TObjArray;
25
97
100
102
109
112
114
117
118public:
119
121 virtual ~ KVElasticScatter();
122
123 void SetRun(Int_t run);
124 void SetProjectile(Int_t Z, Int_t A);
125 void SetEnergy(Double_t E);
126 void SetTargetScatteringLayer(const Char_t* name);
130 void SetEbinning(Int_t nbins = 500);
131 void SetDetector(const Char_t* det);
138 {
139 fExx = ex;
140 };
141
144 {
145 return fDepth;
146 };
149 {
150 return GetEnergy(fNDets - 1);
151 };
154 {
155 return fTheta;
156 };
157 TH1F* GetEnergy(const Char_t* type);
158 TH1F* GetEnergy(Int_t index);
161 {
162 return fNDets;
163 };
166 {
167 return fBinE;
168 };
169
170 ClassDef(KVElasticScatter, 1) //Calculate elastic scattering spectra in multidetector arrays
171};
172
173#endif
int Int_t
bool Bool_t
char Char_t
double Double_t
#define ClassDef(name, id)
Relativistic binary kinematics calculator.
Definition KV2Body.h:166
Base class for detector geometry description.
Definition KVDetector.h:160
Calculate elastic scattering spectra in multidetector arrays.
void SetDetector(const Char_t *det)
Set name of detector which will detect particle.
Double_t fEnergy
energy of projectile
TH1F * GetEnergy()
Return pointer to energy loss histogram for chosen detector (in MeV)
Int_t fNDets
number of aligned detectors
void SetTargetExcitedState(Double_t ex)
KVElasticScatter()
Default constructor.
Int_t fIntLayer
index of interaction layer in multilayer target
Double_t fExx
excited state of target nucleus
TH1F * fDepth
depth of scattering point in target
TList * fAlignedDetectors
all aligned detectors
TH1F * GetTheta()
Return pointer to polar angle distribution of scattered particle (in degrees)
TVector3 fBeamDirection
beam direction vector
KVDetector * fDetector
detector where particle will be detected
KVNameValueList * fDetInd
detector type-index association
KVTelescope * fTelescope
telescope where particle will be detected
void CalculateScattering(Int_t N)
Int_t GetNDets() const
Returns the number of detectors crossed by the scattered particle.
void SetEbinning(Int_t nbins=500)
void SetProjectile(Int_t Z, Int_t A)
Set projectile Z and A.
void SetRun(Int_t run)
Set detector parameters, target, etc. for run.
Bool_t fMultiLayer
kTRUE for multilayer target
TH1F * GetDepth()
Return pointer to histogram of 'depth' of scattering point in target (in mg/cm2)
void SetTargetScatteringLayer(const Char_t *name)
Int_t fBinE
Number of bins of the Energy histogram.
Int_t GetEbinning(void)
Returns the number of bins of the GetEnergy histogram.
KV2Body * fKinematics
kinematics calculation
TH1F * fTheta
angle of scattered particle
void SetEnergy(Double_t E)
Set energy of projectile in MeV.
KVTarget * fTarget
target for current run
TObjArray * fHistos
energy loss histograms for all hit detectors
KVNucleus fProj
scattered nucleus
Group of detectors which can be treated independently of all others in array.
Definition KVGroup.h:20
Handles lists of named parameters with different types, a list of KVNamedParameter objects.
Description of properties and kinematics of atomic nuclei.
Definition KVNucleus.h:126
Calculation/correction of energy losses of particles through an experimental target.
Definition KVTarget.h:127
Associates two detectors placed one behind the other.
Definition KVTelescope.h:36
Double_t ex[n]