mirror of
https://github.com/gwm17/SabreRecon.git
synced 2024-11-22 18:28:51 -05:00
26 lines
470 B
C
26 lines
470 B
C
|
#ifndef DATA_STRUCTS_H
|
||
|
#define DATA_STRUCTS_H
|
||
|
|
||
|
#include <vector>
|
||
|
|
||
|
struct SabrePair
|
||
|
{
|
||
|
int ringch, wedgech; //global
|
||
|
int detID;
|
||
|
int local_ring, local_wedge; //local (obv.)
|
||
|
double ringE, wedgeE;
|
||
|
double ringT, wedgeT;
|
||
|
};
|
||
|
|
||
|
struct CalEvent
|
||
|
{
|
||
|
double xavg = -1e6, x1 = -1e6, x2 = -1e6;
|
||
|
double theta = -1, cathodeE = -1, scintE = -1;
|
||
|
double anodeFrontE = -1, anodeBackE = -1;
|
||
|
double scintT = -1;
|
||
|
std::vector<SabrePair> sabre;
|
||
|
};
|
||
|
|
||
|
bool EnforceDictionaryLinked();
|
||
|
|
||
|
#endif
|