CbmRoot
Loading...
Searching...
No Matches
CbmTrdSetTracksPidModWkn.h
Go to the documentation of this file.
1/* Copyright (C) 2014-2016 Laboratory of Information Technologies, Joint Institute for Nuclear Research, Dubna
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Olga Derenovskaya [committer] */
4
5// -------------------------------------------------------------------------
6// ----- CbmTrdSetTracksPidModWkn header file -----
7// ----- Created 13/02/2007 by F. Uhlig -----
8// -------------------------------------------------------------------------
9
10
31#ifndef CBM_TRD_SET_TRACKS_PID_MOD_WKN_H
32#define CBM_TRD_SET_TRACKS_PID_MOD_WKN_H
33
34#include "FairTask.h"
35#include "TH1D.h"
36
37#include <string>
38#include <vector>
39
40class TClonesArray;
41
42class CbmTrdSetTracksPidModWkn : public FairTask {
43
44 public:
47
48
54 CbmTrdSetTracksPidModWkn(const char* name, const char* title = "FairTask");
55
56
59
60
62 virtual InitStatus Init();
63
64
66 virtual void Exec(Option_t* opt);
67
68
70 virtual void Finish();
71
73 void SetType(const std::string& SISType) { fSISType = SISType; }
74 void SetSIS100() { fSISType = "sis100"; }
75 void SetSIS300() { fSISType = "sis300"; }
76
77 void SetParameters();
78
79 private:
80 TClonesArray* fTrackArray; // Input array of TRD tracks
81 TClonesArray* fTrdHitArray; // Input array of TRD Hits
82
83 // Parametrs
84 int fnSet; // number of the layers with TR
85 float fdegWkn, // statistics degree
87 fEmp, // energy loss transformation parameter
88 fXi, // energy loss transformation parameter
90
91
92 // Settings
93 // Set-up
94 // "sis100" - TRD with 10 layers
95 // "sis300" - TRD with 4 layers
96 std::string fSISType;
97
100
102};
103
104#endif
CbmTrdSetTracksPidModWkn & operator=(const CbmTrdSetTracksPidModWkn &)
CbmTrdSetTracksPidModWkn(const CbmTrdSetTracksPidModWkn &)
ClassDef(CbmTrdSetTracksPidModWkn, 1)
void SetType(const std::string &SISType)
virtual void Exec(Option_t *opt)