Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
MbdGeom.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file MbdGeom.h
1
#ifndef __MBD_GEOM_H__
2
#define __MBD_GEOM_H__
3
4
#include <
phool/PHObject.h
>
5
6
#include <vector>
7
#include <utility>
8
#include <tuple>
9
#include <iostream>
10
#include <cmath>
11
12
class
MbdGeom
:
public
PHObject
13
{
14
public
:
15
MbdGeom
() =
default
;
16
~MbdGeom
()
override
{};
17
18
virtual
float
get_x
(
const
unsigned
int
/*pmtch*/
)
const
{
return
NAN;};
19
virtual
float
get_y
(
const
unsigned
int
/*pmtch*/
)
const
{
return
NAN;};
20
virtual
float
get_z
(
const
unsigned
int
/*pmtch*/
)
const
{
return
NAN;};
21
virtual
float
get_r
(
const
unsigned
int
/*pmtch*/
)
const
{
return
NAN;};
22
virtual
float
get_phi
(
const
unsigned
int
/*pmtch*/
)
const
{
return
NAN;};
23
virtual
int
get_arm
(
const
unsigned
int
/*pmtch*/
)
const
{
return
-1;};
24
virtual
int
get_feech
(
const
unsigned
int
/*pmtch*/
)
const
{
return
-1;};
25
virtual
void
set_xyz
(
const
unsigned
int
/*pmtch*/
,
const
float
/*x*/
,
const
float
/*y*/
,
const
float
/*z*/
) {}
26
27
// methods when accessing raw fee channels
28
virtual
int
get_arm_feech
(
const
unsigned
int
/*feech*/
)
const
{
return
-1;};
29
virtual
int
get_pmt
(
const
unsigned
int
/*feech*/
)
const
{
return
-1;};
30
virtual
int
get_type
(
const
unsigned
int
/*feech*/
)
const
{
return
-1;};
// 0=T-channel, 1=Q-channel
31
32
virtual
void
Reset
()
override
{}
33
34
private
:
35
ClassDefOverride
(
MbdGeom
, 1);
36
};
37
38
39
#endif // __MBD_GEOM_H__
coresoftware
blob
master
offline
packages
mbd
MbdGeom.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:07
using
1.8.2 with
sPHENIX GitHub integration