9#include "FairRootManager.h"
10#include "FairTrackParam.h"
11#include "TClonesArray.h"
24 std::cout <<
"-I- CbmLitCreateStandaloneData::Init Creating MUCH layout" << std::endl;
31 std::ofstream outfile(
"sa_geometry.txt");
48 std::cout <<
"-I- CbmLitCreateStandaloneData::Init Finish creating MUCH layout" << std::endl;
52 FairRootManager* ioman = FairRootManager::Instance();
54 LOG(fatal) << GetName() <<
"::Init: CbmRootManager is not instantiated";
57 fStsTracks = (TClonesArray*) ioman->GetObject(
"StsTrack");
59 LOG(fatal) << GetName() <<
"::Init: No StsTrack array!";
64 LOG(fatal) << GetName() <<
"::Init: No MuchPixelHit array!";
79 for (Int_t iStsTrack = 0; iStsTrack <
fStsTracks->GetEntriesFast(); iStsTrack++) {
82 fSeedsFile << par->GetX() <<
" " << par->GetY() <<
" " << par->GetZ() <<
" " << par->GetTx() <<
" " << par->GetTy()
83 <<
" " << par->GetQp() <<
" ";
86 for (
unsigned int i = 0; i < 15; ++i) {
93 for (Int_t iMuchHit = 0; iMuchHit <
fMuchPixelHits->GetEntriesFast(); iMuchHit++) {
100 std::cout <<
"Event: " <<
fEventNo++ << std::endl;
ClassImp(CbmLitCreateStandaloneData)
Class for pixel hits in MUCH detector.
Data class for STS tracks.
virtual InitStatus Init()
TClonesArray * fMuchPixelHits
CbmLitCreateStandaloneData()
TClonesArray * fStsTracks
virtual void Exec(Option_t *opt)
virtual void SetParContainers()
virtual ~CbmLitCreateStandaloneData()
virtual int32_t GetPlaneId() const
Inherited from CbmBaseHit.
const FairTrackParam * GetParamLast() const