#include <PndTrkSttConformalFilling.h>
|
| PndTrkSttConformalFilling () |
|
| ~PndTrkSttConformalFilling () |
|
void | BoxConformalFilling (Vec< Short_t > &FiConformalIndex, Vec< Short_t > &HitsinBoxConformal, bool *InclusionListStt, Double_t infoparalConformal[][5], Short_t *ListSttParHits, Short_t MAXHITSINCELL, Vec< Short_t > &nBoxConformal, Short_t NFIDIVCONFORMAL, Int_t Nparal, Short_t NRDIVCONFORMAL, Double_t *radiaConf, Vec< Short_t > &RConformalIndex) |
|
void | FromXYtoConformal (Double_t trajectory_vertex[2], Double_t info[][7], Short_t *ListSttParHits, Int_t Nparal, Double_t infoparalConformal[][5], Double_t STRAWRADIUS) |
|
| ClassDef (PndTrkSttConformalFilling, 1) |
|
Definition at line 8 of file PndTrkSttConformalFilling.h.
PndTrkSttConformalFilling::PndTrkSttConformalFilling |
( |
| ) |
|
|
inline |
PndTrkSttConformalFilling::~PndTrkSttConformalFilling |
( |
| ) |
|
|
inline |
void PndTrkSttConformalFilling::BoxConformalFilling |
( |
Vec< Short_t > & |
FiConformalIndex, |
|
|
Vec< Short_t > & |
HitsinBoxConformal, |
|
|
bool * |
InclusionListStt, |
|
|
Double_t |
infoparalConformal[][5], |
|
|
Short_t * |
ListSttParHits, |
|
|
Short_t |
MAXHITSINCELL, |
|
|
Vec< Short_t > & |
nBoxConformal, |
|
|
Short_t |
NFIDIVCONFORMAL, |
|
|
Int_t |
Nparal, |
|
|
Short_t |
NRDIVCONFORMAL, |
|
|
Double_t * |
radiaConf, |
|
|
Vec< Short_t > & |
RConformalIndex |
|
) |
| |
Definition at line 14 of file PndTrkSttConformalFilling.cxx.
References atan2(), Double_t, i, PI, and sqrt().
43 for(j = 0; j< NFIDIVCONFORMAL*NRDIVCONFORMAL ; j++){
49 for(i = 0; i< Nparal ; i++){
51 if( ! InclusionListStt[ ListSttParHits[i] ] )
continue;
52 Fi =
atan2(infoparalConformal[ListSttParHits[i]][1],
53 infoparalConformal[ListSttParHits[i]][0]) ;
54 if ( Fi < 0. ) Fi += 2.*
PI;
55 iFi = (Short_t) (0.5*NFIDIVCONFORMAL*Fi/
PI);
56 if(iFi > NFIDIVCONFORMAL ) {
57 iFi = NFIDIVCONFORMAL;
64 Double_t RRR =
sqrt(infoparalConformal[ListSttParHits[i]][0]*
65 infoparalConformal[ListSttParHits[i]][0]+
66 infoparalConformal[ListSttParHits[i]][1]*
67 infoparalConformal[ListSttParHits[i]][1]);
69 for(j=NRDIVCONFORMAL-1, iR=0; j>0; j--){
70 if( RRR> radiaConf[j] ){
77 bi_index = iR*NFIDIVCONFORMAL+iFi;
78 tri_index = nBoxConformal[bi_index]*NRDIVCONFORMAL*NFIDIVCONFORMAL + bi_index;
80 cout<<
"Warning from PndTrkSttConformalFilling::BoxConformalFilling\t:"
81 <<
"\n\tcontent in nBoxConformal["<<iR<<
"]["<<
82 iFi<<
"] has reached the Max allowed value = "
86 HitsinBoxConformal[ tri_index ] = (Short_t) ListSttParHits[i];
87 nBoxConformal[bi_index]++;
88 RConformalIndex[ ListSttParHits[
i] ] = iR;
89 FiConformalIndex[ ListSttParHits[
i] ] = iFi;
friend F32vec4 sqrt(const F32vec4 &a)
friend F32vec4 atan2(const F32vec4 &y, const F32vec4 &x)
void PndTrkSttConformalFilling::FromXYtoConformal |
( |
Double_t |
trajectory_vertex[2], |
|
|
Double_t |
info[][7], |
|
|
Short_t * |
ListSttParHits, |
|
|
Int_t |
Nparal, |
|
|
Double_t |
infoparalConformal[][5], |
|
|
Double_t |
STRAWRADIUS |
|
) |
| |
Definition at line 106 of file PndTrkSttConformalFilling.cxx.
References Double_t, fabs(), i, r, x, and y.
Referenced by PndTrkTracking2::Exec().
131 for(i=0; i<Nparal; i++){
132 x = info[ListSttParHits[
i]][0]-trajectory_vertex[0];
133 y = info[ListSttParHits[
i]][1]-trajectory_vertex[1];
134 r = info[ListSttParHits[
i]][3];
135 gamma = x*x + y*y - r*
r;
136 infoparalConformal[ListSttParHits[
i]][0] = x / gamma;
137 infoparalConformal[ListSttParHits[
i]][1] = y / gamma;
138 infoparalConformal[ListSttParHits[
i]][2] = r/
fabs(gamma);
140 infoparalConformal[ListSttParHits[
i]][3] = ListSttParHits[
i] ;
const Double_t STRAWRADIUS
friend F32vec4 fabs(const F32vec4 &a)
The documentation for this class was generated from the following files: