BmnRoot 26.10.0-210-gc52d34b0
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
dump_hits.C File Reference

Go to the source code of this file.

Enumerations

enum  enumTracking { VectorFinder , L1Tracking , CellAuto }

Functions

void dump_hits (TString inFileName="$VMCWORKDIR/macro/run/bmnsim.root", TString dstFileName="$VMCWORKDIR/macro/run/bmndst.root", Int_t nStartEvent=0, Int_t nEvents=0, enumTracking tracking=VectorFinder)
 Run reconstruction and export the converted hits to .csv.

Variables

bool usePreviousIfMissing = false

Enumeration Type Documentation

◆ enumTracking

Enumerator
VectorFinder 
L1Tracking 
CellAuto 

Definition at line 22 of file dump_hits.C.

Function Documentation

◆ dump_hits()

void dump_hits ( TString inFileName = "$VMCWORKDIR/macro/run/bmnsim.root",
TString dstFileName = "$VMCWORKDIR/macro/run/bmndst.root",
Int_t nStartEvent = 0,
Int_t nEvents = 0,
enumTracking tracking = VectorFinder )

The standard reconstruction macro with a BmnHitDumper injected after BmnToCbmHitConverter and every subsequent task dropped, so it produces hit dumps rather than a usable DST.

Parameters
inFileNameinput file with data, simulated or experimental
dstFileNameoutput DST file
nStartEventnumber of the first event to process, counted from zero
nEventsnumber of events to process, 0 for all of them
trackingtrack finder to use, see enumTracking

Definition at line 42 of file dump_hits.C.

References TString::BeginsWith(), BmnFunctionSet::CheckFileExist(), TStopwatch::CpuTime(), BmnFunctionSet::CreateDirectoryTree(), TString::Data(), BmnToCbmHitConverter::EnableAlignment(), UniRun::FindPreviousFieldVoltage(), BmnCSCConfiguration::FullCSC_Run8, UniRun::GetBeamParticle(), TKey::GetClassName(), UniRun::GetFieldVoltage(), TDirectoryFile::GetListOfKeys(), GeoSetup::GetMagneticField(), MpdGetNumEvents::GetNumROOTEvents(), UniRun::GetRun(), UniRun::GetTargetParticle(), BmnFieldMap::Init(), TFile::IsOpen(), BmnFunctionSet::isSimulationFile(), kTOF1, kTOF701, L1Tracking, GeoSetup::LoadSetupToGeoManager(), TKey::ReadObj(), TStopwatch::RealTime(), BmnCSCHitMaker::SetCurrentConfig(), BmnCSCHitMaker::SetHitMatching(), BmnGemStripHitMaker::SetHitMatching(), BmnSiliconHitMaker::SetHitMatching(), BmnVSPHitMaker::SetHitMatching(), BmnEventSelector::SetInputFileName(), BmnTof1HitProducer::SetPeriodRun(), BmnFHCalReconstructor::SetRecoCutsFile(), BmnHodoReconstructor::SetRecoCutsFile(), BmnNdetReconstructor::SetRecoCutsFile(), BmnScWallReconstructor::SetRecoCutsFile(), BmnEventSelector::SetRunId(), BmnFieldMap::SetScale(), TStopwatch::Start(), TStopwatch::Stop(), usePreviousIfMissing, and VectorFinder.

Here is the call graph for this function:

Variable Documentation

◆ usePreviousIfMissing

bool usePreviousIfMissing = false