R3BROOT
R3B analysis software
Loading...
Searching...
No Matches
R3BNeulandCosmicTrack.h
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright (C) 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH *
3 * Copyright (C) 2019-2025 Members of R3B Collaboration *
4 * *
5 * This software is distributed under the terms of the *
6 * GNU General Public Licence (GPL) version 3, *
7 * copied verbatim in the file "LICENSE". *
8 * *
9 * In applying this license GSI does not waive the privileges and immunities *
10 * granted to it by virtue of its status as an Intergovernmental Organization *
11 * or submit itself to any jurisdiction. *
12 ******************************************************************************/
13
14#ifndef R3BNEULAND_COSMICTRACK_H
15#define R3BNEULAND_COSMICTRACK_H
16
17#include "TVector3.h"
18
19#include "R3BNeulandCommon.h"
20
22{
24 {
25 Interaction(Int_t barID = -1,
26 Double_t entryTime = 0.,
27 Double_t exitTime = 0.,
28 Double_t entryPosition = 0.,
29 Double_t exitPosition = 0.,
30 Double_t energy = 0.,
31 Double_t trackLength = 0.)
32 : BarID(barID)
33 , EntryTime(entryTime)
34 , ExitTime(exitTime)
35 , EntryPosition(entryPosition)
36 , ExitPosition(exitPosition)
37 , Energy(energy)
38 , TrackLength(trackLength)
39 {
40 }
41 Int_t BarID;
42 Double_t EntryTime;
43 Double_t ExitTime;
44 Double_t EntryPosition;
45 Double_t ExitPosition;
46 Double_t Energy;
47 Double_t TrackLength;
48 };
49
50 std::vector<Interaction> Interactions;
51 TVector3 EntryPoint;
52 TVector3 Direction;
53 TVector3 InvDirection;
55 Bool_t Stopped = kFALSE;
56 // Double_t TimeInsideMaterial;
57};
58#endif
Interaction(Int_t barID=-1, Double_t entryTime=0., Double_t exitTime=0., Double_t entryPosition=0., Double_t exitPosition=0., Double_t energy=0., Double_t trackLength=0.)
std::vector< Interaction > Interactions