-
Notifications
You must be signed in to change notification settings - Fork 0
/
ParticleInformation.h
63 lines (50 loc) · 1.14 KB
/
ParticleInformation.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#pragma once
#include <iostream>
#include <algorithm> // std::fill
using namespace std;
class ParticleInformation
{
string type;
float *timebin;
int pid;
int sumPid;
bool help;
float deviation;
int pidE;
int pidP;
// features
int totalADC;
int minThreshCountTB;
int maxThreshCountTB;
int numClusters;
int highestChargeTBindex;
public:
ParticleInformation();
ParticleInformation(string type);
void setType(string t);
string getType() const;
void addTimebin(int i, float number);
float* getTimeBin();
void setNeuralNetworkPID(int value);
int getNeuralNetworkPID() const;
void setSumPID(int value);
int getSumPID() const;
void helper(bool h);
bool getHelper();
void setTargetDeviation(float num);
float getTargetDeviation();
void setTotalADC(int t);
int getTotalADC();
void setMinThreshCountTB(int num);
int getMinThreshCountTB();
void setMaxThreshCountTB(int num);
int getMaxThreshCountTB();
void setNumClusters(int n);
int getNumClusters();
void setHighestChargeTBindex(int n);
int getHighestChargeTBindex();
void setPID4_electron(int e);
int getPID4_electron();
void setPID4_pion(int p);
int getPID4_pion();
};