#include "EmcRec/EmcRecNeighbor.h"
Go to the source code of this file.
◆ main()
Definition at line 4 of file Reconstruction/EmcRec/test/main.cxx.
4 {
5 EmcRecID id;
6 unsigned int module, theta, phi;
7 module = EmcID::getENDCAP_WEST();
8 theta = 2;
9 phi = 24;
10
14 cout << endl;
15
16
18
19
21
22
23 EmcRecIDVector::iterator iN;
24 for ( iN = neighbor.begin(); iN != neighbor.end(); ++iN )
25 {
28 }
29 cout << endl;
30
31 for ( iN = nextNeighbor.begin(); iN != nextNeighbor.end(); ++iN )
32 {
35
36 }
37 cout << endl;
38}
static Identifier crystal_id(const unsigned int barrel_ec, const unsigned int theta_module, const unsigned int phi_module)
For a single crystal.
static unsigned int barrel_ec(const Identifier &id)
Values of different levels (failure returns 0).
static unsigned int theta_module(const Identifier &id)
static unsigned int phi_module(const Identifier &id)
RecEmcIDVector GetNeighbors(const Identifier &id)
RecEmcIDVector GetNextNeighbors(const Identifier &id)