PandaRoot
PndFtsStraw.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 //
15 // Created by Bartosz Sobol on 22.04.2020.
16 //
17 
18 #pragma once
19 
20 #include "PndFtsStation.h"
21 
22 namespace PndFtsTrackFinder {
23 
29 #pragma pack(push, 1)
30 struct PndFtsStraw {
31  uint16_t fId;
32  uint8_t fLayerId;
33  float fX, fY, fZ;
34  float fSlope;
36  bool fSkewed;
37  bool fOutermost;
38 };
39 #pragma pack(pop)
40 
41 } // namespace PndFtsTrackFinder
bool fOutermost
If the straw is in fOutermost layer, equal to what IsOutermostLayer() returns.
Definition: PndFtsStraw.h:37
float fSlope
Slope of the straw in degrees one of {0, 11.43, -11.43}.
Definition: PndFtsStraw.h:34
uint8_t fLayerId
ID (number) of the layer containing the straw, in range [1,48].
Definition: PndFtsStraw.h:32
bool fSkewed
If the straw is fSkewed (otherwise it's vertical)
Definition: PndFtsStraw.h:36
PndFtsStation fStation
Station containing the straw.
Definition: PndFtsStraw.h:35
float fZ
Coordinates of the straw in PANDA's coordinate system.
Definition: PndFtsStraw.h:33
uint16_t fId
ID (number) of the straw, in range [0, 12223].
Definition: PndFtsStraw.h:31