-
Notifications
You must be signed in to change notification settings - Fork 0
/
event.h
41 lines (34 loc) · 1.06 KB
/
event.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
#ifndef EVENT_H
#define EVENT_H
#include "!_All_include.h"
#include "muon.h"
class event
{
public:
event();
event(const muon m, const int index_k, const int index_m);
std::vector < std::pair < int , std::vector < std::pair < int, std::vector < int > > > > > GetArr() const;
long long GetKitIndex() const;
long long GetMuonIndex() const;
muon GetMuon() const;
bool GetFlag() const;
int GetCountOfDetectors() const;
int GetCountOfLayers() const;
int GetCountOfPixels() const;
void SetArr(std::vector < std::pair < int , std::vector < std::pair < int, std::vector < int > > > > > _arr);
void SetMuon(const muon m);
void SetKitIndex(const long long index_k);
void SetMuonIndex(const long long index_m);
void SetFlag(const bool flag);
void UpdateCounts();
private:
long long _index_k;
long long _index_m;
int _count_l;
int _count_d;
int _count_p;
muon _m;
bool _flag;
std::vector < std::pair < int , std::vector < std::pair < int, std::vector < int > > > > > _arr;
};
#endif // EVENT_H