-
Notifications
You must be signed in to change notification settings - Fork 2
/
Initialing.C
46 lines (41 loc) · 933 Bytes
/
Initialing.C
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
34
35
36
37
38
39
40
41
42
43
44
45
46
/*Run 1 file*/
HipoData::SetFile()
{
HipoData::Init(){
if() _dataType=static_cast<Short_t> (chanser::DataType::Sim);
_eventInfo.SetCLAS12( _c12 );
_runInfo.SetCLAS12( _c12 );
clas12::connectDBs()
}
}
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()
{
ActionManger::Configure();
ActionManger::PostConfigure();
}
}
FinalStateManager::Notify()
{
FinalState::ChangeRun()
{
ActionManger::ChangeRun(); //Data init, Actions configured
}
}
while(_data->InitEvent()){ /*file event loop*/ }
FinalStateManager::EndAndWrite();
}