forked from dglazier/chanser
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProcessing.C
More file actions
33 lines (29 loc) · 698 Bytes
/
Processing.C
File metadata and controls
33 lines (29 loc) · 698 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*Run 1 file*/
HipoData::SetFile()
{
HipoData::Init(){
if() _dataType=static_cast<Short_t> (chanser::DataType::Sim);
_eventInfo.SetCLAS12( _c12 );
_runInfo.SetCLAS12( _c12 );
}
}
FinalStateManager::LoadData();
FinalStateManager::LoadFinalState()
{
FinalState::SetEventParticles(&_eventParts); //link to data
FinalState::SetEventInfo(_data->GetEventInfo());
FinalState::PostRead(){
FinalState::InitTopoMan();
FinalState::Define();
FinalState::SetTopologies();
}
}
FinalStateManager::ProcessAll()
{
FinalStateManager::Init()
{
FinalState::Init();
}
while(_data->InitEvent()){ /*file event loop*/ }
FinalStateManager::EndAndWrite();
}