BOSS 7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
EmcRecNeighbor.h
Go to the documentation of this file.
1//
2// Define the relationship of crystals
3//
4// Zhe Wang 2004, 3, 29
5//
6#ifndef EMC_REC_NEIGHBOR_H
7#define EMC_REC_NEIGHBOR_H
8
10
12{
13 public:
14 // Constructors and destructors
17
18 // 3*3
19 bool IsNeighbor(const Identifier& id1,
20 const Identifier& id2);
21
22 // 5*5
23 bool IsNextNeighbor(const Identifier& id1,
24 const Identifier& id2);
25
26 // 3*3
28
29 // 5*5
31};
32
33#endif
34
vector< RecEmcID > RecEmcIDVector
bool IsNextNeighbor(const Identifier &id1, const Identifier &id2)
RecEmcIDVector GetNeighbors(const Identifier &id)
bool IsNeighbor(const Identifier &id1, const Identifier &id2)
RecEmcIDVector GetNextNeighbors(const Identifier &id)