56 for (
int hitNr = 0; hitNr <
fRecoHits->GetEntriesFast(); hitNr++){
59 myRecoHit->Position(recoVector);
68 for (
int clusterNr = 0; clusterNr < myCluster->
GetClusterSize(); clusterNr++){
73 std::cout <<
"Fe, Col, Row: " << fe <<
" " << col <<
"/" << row << std::endl;
74 calc.CalcSensorColRow(col, row, p->
GetFE());
75 std::cout <<
"Col, Row " << p->
GetSensorID() <<
" : " << col <<
"/" << row << std::endl;
76 TVector3 digiLocal(((col+0.5) - (SensDim.X()*100))*
fPixelSize, ((row+0.5)-(SensDim.Y()*100))*
fPixelSize, 0);
77 std::cout <<
"DigiLocal: " << digiLocal.X() <<
" " << digiLocal.Y() <<
" " << digiLocal.Z() << std::endl;
78 std::cout <<
"RecoLocal: " << recoLocal.X() <<
" " << recoLocal.Y() <<
" " << recoLocal.Z() << std::endl;
79 TVector3 diff = digiLocal - recoLocal;
80 std::cout <<
"Diff: " << diff.X() <<
" " << diff.Y() <<
" " << diff.Z() << std::endl;
83 std::cout <<
"Final: " <<
final.X() <<
" " <<
final.Y() <<
" " <<
final.Z() << std::endl;
91 for (Int_t
i=0;
i<fList->GetEntriesFast(); ++
i) {
102 std::cout <<
"Fe, Col, Row: " << fe <<
" " << col <<
"/" << row << std::endl;
103 calc.CalcSensorColRow(col, row, p->
GetFE());
104 std::cout <<
"Col, Row " << p->
GetSensorID() <<
" : " << col <<
"/" << row << std::endl;
106 std::cout <<
"SensDim: " << SensDim.X() <<
" " << SensDim.Y() <<
" " << SensDim.Z() << std::endl;
107 fModules[p->
GetSensorID()]->AddBox(((col+0.5) - (SensDim.X()*100))*0.01, ((row+0.5)-(SensDim.Y()*100))*0.01, 0.01);
117 TEveTrans&
t = it->second->RefMainTrans();
118 t.SetFrom(testMatrix);
120 TEveElement* man = (TEveElement*)fEventManager;
122 gEve->AddElement(it->second, man);
125 gEve->Redraw3D(kFALSE);
Int_t GetPixelRow() const
Int_t GetClusterSize() const
Int_t GetSensorID() const
std::map< Int_t, TEveBoxSet * >::iterator boxSetMapIter
Class to store the Digis which belong to one cluster This class holds the information which Digi belo...
Int_t GetPixelColumn() const
TEveBoxSet * CreateNewBoxSet(TString &name)
Double_t GetCharge() const
std::map< Int_t, TEveBoxSet * > fModules
TString GetPath(Int_t shortID)
for a given shortID the path is returned
TVector3 GetSensorDimensionsShortId(Int_t shortId)
TGeoHMatrix * GetMatrixShortId(Int_t shortId)
Int_t GetDigiIndex(Int_t i) const
TVector3 MasterToLocalShortId(const TVector3 &master, const Int_t &shortId)
TClonesArray * fClusterCands
Data class to store the digi output of a pixel module.
void SetMaxFEperRow(Int_t x)
void SetMaxFEperCol(Int_t x)
Int_t GetSensorID() const
Class to calculate the position of digis on a front-end from the digis on a sensor.
Digitization Parameter Class for SDS-Pixel part.