CbmRoot
CbmL1MuchHit.cxx
Go to the documentation of this file.
1 
2 #include "CbmL1MuchHit.h"
3 #include "CbmKF.h"
4 #include "CbmKFTrackInterface.h"
5 #include "CbmMuchHit.h"
6 
8 
9 void CbmL1MuchHit::Create(CbmMuchHit* h, int ind) {
10  FitPoint.x = h->GetX();
11  FitPoint.y = h->GetY();
12  FitPoint.z = h->GetZ();
13  FitPoint.V[0] = h->GetDx() * h->GetDx();
14  FitPoint.V[1] = 0;
15  FitPoint.V[2] = h->GetDy() * h->GetDy();
16 
17  CbmKF* KF = CbmKF::Instance();
18  iStation = h->GetStationNr() - 1;
20  time = h->GetTime(0);
21  busy = 0;
22  index = ind;
23 }
24 
26  Bool_t downstream,
27  Double_t& QP0) {
28  Bool_t err = 0;
29  err = err || track.Propagate(FitPoint.z, QP0);
30  err = err || FitPoint.Filter(track);
31  return err;
32 }
CbmKF::MuchStation2MCIDMap
std::map< Int_t, Int_t > MuchStation2MCIDMap
Definition: CbmKF.h:94
CbmL1MuchHit::Create
void Create(CbmMuchHit *h, int index)
Definition: CbmL1MuchHit.cxx:9
CbmKF.h
CbmKFPixelMeasurement::x
Double_t x
Definition: CbmKFPixelMeasurement.h:24
CbmKF::GetMaterialIndex
Int_t GetMaterialIndex(Int_t uid)
Definition: CbmKF.cxx:328
CbmKF
Definition: CbmKF.h:33
CbmL1MuchHit::index
int index
Definition: CbmL1MuchHit.h:21
CbmKFTrackInterface.h
CbmL1MuchHit::time
Double_t time
Definition: CbmL1MuchHit.h:23
CbmKFPixelMeasurement::z
Double_t z
Definition: CbmKFPixelMeasurement.h:23
ClassImp
ClassImp(CbmL1MuchHit)
CbmL1MuchHit
Definition: CbmL1MuchHit.h:10
CbmKF::Instance
static CbmKF * Instance()
Definition: CbmKF.h:39
CbmKFHit::MaterialIndex
Int_t MaterialIndex
Definition: CbmKFHit.h:22
h
Data class with information on a STS local track.
CbmKFPixelMeasurement::y
Double_t y
Definition: CbmKFPixelMeasurement.h:25
CbmKFTrackInterface
Definition: CbmKFTrackInterface.h:26
CbmL1MuchHit::Filter
Int_t Filter(CbmKFTrackInterface &track, Bool_t downstream, Double_t &QP0)
Definition: CbmL1MuchHit.cxx:25
CbmKFPixelMeasurement::Filter
Int_t Filter(CbmKFTrackInterface &track)
Definition: CbmKFPixelMeasurement.cxx:9
CbmKFTrackInterface::Propagate
Int_t Propagate(Double_t z_out, Double_t QP0)
Definition: CbmKFTrackInterface.cxx:449
CbmKFPixelMeasurement::V
Double_t V[3]
Definition: CbmKFPixelMeasurement.h:26
CbmL1MuchHit.h
CbmL1MuchHit::busy
bool busy
Definition: CbmL1MuchHit.h:24
CbmL1MuchHit::iStation
int iStation
Definition: CbmL1MuchHit.h:22
CbmL1MuchHit::FitPoint
CbmKFPixelMeasurement FitPoint
Definition: CbmL1MuchHit.h:19