PandaRoot
PndFsmDetTemplate.h
Go to the documentation of this file.
1
//****************************************************************************
2
//* This file is part of PandaRoot. *
3
//* *
4
//* PandaRoot is distributed under the terms of the *
5
//* GNU General Public License (GPL) version 3, *
6
//* copied verbatim in the file "LICENSE". *
7
//* *
8
//* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9
//* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10
//* The authors are listed in the file "AUTHORS". *
11
//****************************************************************************
12
13
//--------------------------------------------------------------------------
14
// Description:
15
// Class PndFsmDetTemplate
16
//
17
// Template class for a Fast Sim Detectors
18
//
19
// This software was developed for the PANDA collaboration. If you
20
// use all or part of it, please give an appropriate acknowledgement.
21
//
22
// Author List:
23
// Klaus Goetzen Original Author
24
//
25
// Copyright Information:
26
// Copyright (C) 2008 GSI
27
//
28
//------------------------------------------------------------------------
29
30
#ifndef PNDFSMDETTEMPLATE_H
31
#define PNDFSMDETTEMPLATE_H
32
33
//----------------------
34
// Base Class Headers --
35
//----------------------
36
37
//-------------------------------
38
// Collaborating class Headers --
39
//-------------------------------
40
#include <iosfwd>
41
#include "
ArgList.h
"
42
#include "
PndFsmAbsDet.h
"
43
44
//--------------------------------------------
45
// Collaborating class forward declarations --
46
// -------------------------------------------
47
class
PndFsmTrack
;
48
class
PndFsmResponse
;
49
50
class
PndFsmDetTemplate
:
public
PndFsmAbsDet
{
51
public
:
52
//--------------------
53
// Public interface --
54
//--------------------
55
56
//
57
// Constructors
58
//
59
61
PndFsmDetTemplate
();
62
PndFsmDetTemplate
(
ArgList
&par);
65
virtual
~PndFsmDetTemplate
();
66
71
virtual
PndFsmResponse
*
respond
(
PndFsmTrack
*t);
72
73
private
:
74
bool
detected(
PndFsmTrack
*t)
const
;
75
double
dp(
PndFsmTrack
*t)
const
;
76
double
dphi(
PndFsmTrack
*t)
const
;
77
double
dtheta(
PndFsmTrack
*t)
const
;
78
79
void
initParameters();
80
void
print(std::ostream &o);
81
bool
setParameter(std::string &name,
double
value);
82
83
//
84
// Modifiers
85
//
86
87
double
_thtMin;
88
double
_thtMax;
89
double
_ptmin;
90
91
double
_pRes;
92
double
_thtRes;
93
double
_phiRes;
94
};
95
96
#endif
PndFsmDetTemplate::~PndFsmDetTemplate
virtual ~PndFsmDetTemplate()
ArgList
std::list< std::string > ArgList
Definition:
ArgList.h:19
PndFsmDetTemplate
Definition:
PndFsmDetTemplate.h:50
ArgList.h
PndFsmAbsDet
Definition:
PndFsmAbsDet.h:61
PndFsmDetTemplate::respond
virtual PndFsmResponse * respond(PndFsmTrack *t)
PndFsmDetTemplate::PndFsmDetTemplate
PndFsmDetTemplate()
PndFsmResponse
Definition:
PndFsmResponse.h:52
PndFsmTrack
Definition:
PndFsmTrack.h:61
PndFsmAbsDet.h
home
gitlab-runner
builds
Vxspf1vo
0
PandaRootGroup
PandaRoot
fastsim
PndFsmDetTemplate.h
Generated on Fri Nov 29 2024 06:04:41 for PandaRoot by
1.8.13