CbmRoot
Loading...
Searching...
No Matches
CbmTrdSetTracksPidWkn.h
Go to the documentation of this file.
1/* Copyright (C) 2007-2018 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Florian Uhlig [committer], Philipp Kähler */
4
5// -------------------------------------------------------------------------
6// ----- CbmTrdSetTracksPidWkn header file -----
7// ----- Created 13/02/2007 by F. Uhlig -----
8// -------------------------------------------------------------------------
9
10
31#ifndef CBMTRDSETTRACKSPIDWKN
32#define CBMTRDSETTRACKSPIDWKN 1
33
34
35#include "FairTask.h"
36
37
38class TClonesArray;
39
40class CbmTrdSetTracksPidWkn : public FairTask {
41
42 public:
45
46
52 CbmTrdSetTracksPidWkn(const char* name, const char* title = "FairTask");
53
54
56 virtual ~CbmTrdSetTracksPidWkn();
57
58
60 virtual InitStatus Init();
61
62
64 virtual void Exec(Option_t* opt);
65
66
68 virtual void Finish();
69
70
71 void SetType(const std::string& SISType) { fSISType = SISType; }
72 void SetSIS100() { fSISType = "sis100"; }
73 void SetSIS300() { fSISType = "sis300"; }
74
75 void SetParameters();
77 virtual void SetParContainers();
78
79 private:
80 // Parametrs
81 int fnSet, // number of the layers with TR
82 fdegWkn, // statistics degree
84 float fk1, fwkn0,
85 fEmp, // energy loss transformation parameter
86 fXi, // energy loss transformation parameter
88
89
90 // Settings
91 // Set-up
92 // "sis100" - TRD with 10 layers
93 // "sis300" - TRD with 4 layers
94 std::string fSISType;
95
96 TClonesArray* fTrackArray; // Input array of TRD tracks
97 TClonesArray* fTrdHitArray; // Input array of TRD Hits
98
101
103};
104
105#endif
virtual void Exec(Option_t *opt)
CbmTrdSetTracksPidWkn(const CbmTrdSetTracksPidWkn &)
CbmTrdSetTracksPidWkn & operator=(const CbmTrdSetTracksPidWkn &)
ClassDef(CbmTrdSetTracksPidWkn, 1)
void SetType(const std::string &SISType)