-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathInitialingPROOF.C
69 lines (59 loc) · 1.35 KB
/
InitialingPROOF.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/*Run with HipoPRocessor/PROOF*/
clas12root::HipoChain chain;
HipoProcessor processor(&chain);
TProof::Process(&processor);
{
HipoProcessor::SlaveBegin()
{
FinalStateManager::LoadData();
FinalStateManager::LoadFinalState()
{
FinalState::SetEventParticles(&_eventParts); //link to data
FinalState::SetEventInfo(_data->GetEventInfo());
FinalState::PostRead(){
FinalState::InitTopoMan();
FinalState::Define();
FinalState::SetTopologies();
}
}
HipoProcessor::ApplyOptions();
}
HipoProcessor::Process():HipoSelector::Process()
{
if(newFile)
{
new clas12::clas12reader;
clas12::connectDBs()
HipoProcessor::Notify()
{
HipoSelector::Notify();
HipoData::SetReader(){
HipoData::Init(){
if() _dataType=static_cast<Short_t> (chanser::DataType::Sim);
_eventInfo.SetCLAS12( _c12 );
_runInfo.SetCLAS12( _c12 );
!NOT clas12::connectDBs()
}
}
if(firstTime)
{
FinalStateManager::Init()
{
FinalState::Init()
{
ActionManger::Configure();
ActionManger::PostConfigure();
}
}
}
FinalStateManager::Notify()
{
FinalState::ChangeRun()
{
ActionManger::ChangeRun(); //Data init, Actions configured
}
}
}
}
while(_c12->nextInRecord()==true){/*record event loop*/}
}