#include "EmcRec/EmcRecNeighbor.h"
Go to the source code of this file.
◆ main()
Definition at line 4 of file Reconstruction/EmcRec/EmcRec-01-02-57/test/main.cxx.
5{
6 EmcRecID id;
7 unsigned int module,theta,phi;
9 theta=2;
10 phi=24;
11
13 cout<<id<<"\t"
17 cout<<endl;
18
19
21
22
24
25
26 EmcRecIDVector::iterator iN;
27 for(iN=neighbor.begin();
28 iN!=neighbor.end();
29 ++iN) {
30 cout<<*iN<<"\t"
34
35 }
36 cout<<endl;
37
38 for(iN=nextNeighbor.begin();
39 iN!=nextNeighbor.end();
40 ++iN) {
41 cout<<*iN<<"\t"
45
46 }
47 cout<<endl;
48}
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 getENDCAP_WEST()
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)