Go to the documentation of this file.
9 #ifndef CBM_RICH_CONVERTER
10 #define CBM_RICH_CONVERTER
15 #include "FairRootManager.h"
16 #include "TClonesArray.h"
46 for (
int i = 0;
i < nofHits;
i++) {
47 Int_t hitInd = ring1->
GetHit(
i);
49 if (NULL == hit)
continue;
62 const vector<double>& hitY,
64 int nofHits = hitX.size();
65 for (
int i = 0;
i < nofHits;
i++) {
94 FairRootManager* ioman = FairRootManager::Instance();
96 cout <<
"-E- CbmRichConverter::Init, RootManager not instantised!"
100 fRichHits = (TClonesArray*) ioman->GetObject(
"RichHit");
102 cout <<
"-W- CbmRichConverter::Init, No RichHit array" << endl;
void SetRadius(Float_t r)
void SetCenterX(Float_t x)
void SetAaxis(Double_t a)
static void CopyHitsToRingLight(const vector< double > &hitX, const vector< double > &hitY, CbmRichRingLight *ring)
Copy hits coordinates from vectors to CbmRichRingLight.
void SetPhi(Double_t phi)
static void CopyParamsToRing(const CbmRichRingLight *ring1, CbmRichRing *ring2)
Copy parameters from CbmRichRingLight to CbmRichRing.
static TClonesArray * fRichHits
UInt_t GetHit(Int_t i) const
void SetChi2(Double_t chi2)
void AddHit(CbmRichHitLight hit)
Add new hit to the ring.
void SetBaxis(Double_t b)
static void Init()
Initialize array of RICH hits.
static void CopyHitsToRingLight(const CbmRichRing *ring1, CbmRichRingLight *ring2)
Copy hits from CbmRichRing to CbmRichRingLight.
void SetCenterY(Float_t y)
Convert internal data classes to cbmroot common data classes.