#include <SpillInfoBlock.h>
Public Member Functions | |
| SpillInfoBlock () | |
| SpillInfoBlock (Double_t, Double_t, Double_t, Double_t, Double_t, Double_t, Double_t) | |
| ~SpillInfoBlock () | |
| SpillInfoBlock | operator= (SpillInfoBlock source) |
| void | PrintInfo () const |
| void | Zero () |
| Double_t | GetTime () const |
| Double_t | GetPot () const |
| Double_t | GetHorn () const |
| Double_t | GetTgtpos () const |
| Double_t | GetHpos () const |
| Double_t | GetVpos () const |
| Double_t | GetMagnet () const |
| void | SetTime (Double_t) |
| void | SetPot (Double_t) |
| void | SetHorn (Double_t) |
| void | SetTgtpos (Double_t) |
| void | SetHpos (Double_t) |
| void | SetVpos (Double_t) |
| void | SetMagnet (Double_t) |
Private Attributes | |
| Double_t | spb_time |
| Double_t | spb_pot |
| Double_t | spb_horn |
| Double_t | spb_tgtpos |
| Double_t | spb_hpos |
| Double_t | spb_vpos |
| Double_t | spb_magnet |
Definition at line 6 of file SpillInfoBlock.h.
| SpillInfoBlock::SpillInfoBlock | ( | ) |
Definition at line 11 of file SpillInfoBlock.cxx.
References Msg::kDebug, and MSG.
00011 : spb_time(0),spb_pot(0),spb_horn(0), 00012 spb_tgtpos(0),spb_hpos(0),spb_vpos(0), 00013 spb_magnet(0) 00014 { 00015 MSG("SpillInfoBlock",Msg::kDebug)<<"in SpillInfoBlock()"<<endl; 00016 }
| SpillInfoBlock::SpillInfoBlock | ( | Double_t | , | |
| Double_t | , | |||
| Double_t | , | |||
| Double_t | , | |||
| Double_t | , | |||
| Double_t | , | |||
| Double_t | ||||
| ) |
Definition at line 19 of file SpillInfoBlock.cxx.
References Msg::kDebug, MSG, spb_horn, spb_hpos, spb_magnet, spb_pot, spb_tgtpos, spb_time, and spb_vpos.
00022 { 00023 MSG("SpillInfoBlock",Msg::kDebug)<<"in SpillInfoBlock(...)"<<endl; 00024 spb_time = time; 00025 spb_pot = pot; 00026 spb_horn = horn; 00027 spb_tgtpos = tgtpos; 00028 spb_hpos = hpos; 00029 spb_vpos = vpos; 00030 spb_magnet = magnet; 00031 }
| SpillInfoBlock::~SpillInfoBlock | ( | ) |
Definition at line 34 of file SpillInfoBlock.cxx.
References Msg::kDebug, and MSG.
00035 { 00036 MSG("SpillInfoBlock",Msg::kDebug)<<"in ~SpillInfoBlock()"<<endl; 00037 }
| Double_t SpillInfoBlock::GetHorn | ( | ) | const [inline] |
Definition at line 52 of file SpillInfoBlock.h.
References spb_horn.
Referenced by MadTestAnalysis::CreatePAN(), MadDpAnalysis::CreatePAN(), MadCluAnalysis::DataDistributions(), and operator=().
00052 {return spb_horn ;}
| Double_t SpillInfoBlock::GetHpos | ( | ) | const [inline] |
Definition at line 54 of file SpillInfoBlock.h.
References spb_hpos.
Referenced by MadTestAnalysis::CreatePAN(), MadDpAnalysis::CreatePAN(), MadCluAnalysis::DataDistributions(), and operator=().
00054 {return spb_hpos ;}
| Double_t SpillInfoBlock::GetMagnet | ( | ) | const [inline] |
Definition at line 56 of file SpillInfoBlock.h.
References spb_magnet.
Referenced by MadTestAnalysis::CreatePAN(), MadDpAnalysis::CreatePAN(), MadCluAnalysis::DataDistributions(), and operator=().
00056 {return spb_magnet;}
| Double_t SpillInfoBlock::GetPot | ( | ) | const [inline] |
Definition at line 51 of file SpillInfoBlock.h.
References spb_pot.
Referenced by MadTestAnalysis::CreatePAN(), MadDpAnalysis::CreatePAN(), MadCluAnalysis::DataDistributions(), and operator=().
00051 {return spb_pot ;}
| Double_t SpillInfoBlock::GetTgtpos | ( | ) | const [inline] |
Definition at line 53 of file SpillInfoBlock.h.
References spb_tgtpos.
Referenced by MadTestAnalysis::CreatePAN(), MadDpAnalysis::CreatePAN(), MadCluAnalysis::DataDistributions(), and operator=().
00053 {return spb_tgtpos;}
| Double_t SpillInfoBlock::GetTime | ( | ) | const [inline] |
Definition at line 50 of file SpillInfoBlock.h.
References spb_time.
Referenced by operator=().
00050 {return spb_time ;}
| Double_t SpillInfoBlock::GetVpos | ( | ) | const [inline] |
Definition at line 55 of file SpillInfoBlock.h.
References spb_vpos.
Referenced by MadTestAnalysis::CreatePAN(), MadDpAnalysis::CreatePAN(), MadCluAnalysis::DataDistributions(), and operator=().
00055 {return spb_vpos ;}
| SpillInfoBlock SpillInfoBlock::operator= | ( | SpillInfoBlock | source | ) |
Definition at line 40 of file SpillInfoBlock.cxx.
References GetHorn(), GetHpos(), GetMagnet(), GetPot(), GetTgtpos(), GetTime(), GetVpos(), spb_horn, spb_hpos, spb_magnet, spb_pot, spb_tgtpos, spb_time, and spb_vpos.
00041 { 00042 spb_time = source.GetTime(); 00043 spb_pot = source.GetPot(); 00044 spb_horn = source.GetHorn(); 00045 spb_tgtpos = source.GetTgtpos(); 00046 spb_hpos = source.GetHpos(); 00047 spb_vpos = source.GetVpos(); 00048 spb_magnet = source.GetMagnet(); 00049 00050 return *this; 00051 }
| void SpillInfoBlock::PrintInfo | ( | ) | const |
Definition at line 53 of file SpillInfoBlock.cxx.
References spb_horn, spb_hpos, spb_magnet, spb_pot, spb_tgtpos, spb_time, and spb_vpos.
00054 { 00055 00056 std::cout.precision(25); 00057 std::cout <<" time = "<<spb_time << std::endl; 00058 std::cout.precision(4); 00059 std::cout <<" pot = "<< spb_pot 00060 <<" horn = "<<spb_horn <<std::endl; 00061 std::cout<<" tgtpos = "<< spb_tgtpos << " hpos = " << spb_hpos 00062 <<" vpos = "<< spb_vpos << std::endl; 00063 std::cout<<" magnet = "<< spb_magnet << std::endl; 00064 00065 }
| void SpillInfoBlock::SetHorn | ( | Double_t | ) | [inline] |
Definition at line 60 of file SpillInfoBlock.h.
References spb_horn.
Referenced by SpillInfo::GetSpillInfo().
00060 {spb_horn = ho;}
| void SpillInfoBlock::SetHpos | ( | Double_t | ) | [inline] |
Definition at line 62 of file SpillInfoBlock.h.
References spb_hpos.
Referenced by SpillInfo::GetSpillInfo().
00062 {spb_hpos = hp;}
| void SpillInfoBlock::SetMagnet | ( | Double_t | ) | [inline] |
Definition at line 64 of file SpillInfoBlock.h.
References spb_magnet.
Referenced by SpillInfo::GetSpillInfo().
00064 {spb_magnet = ma;}
| void SpillInfoBlock::SetPot | ( | Double_t | ) | [inline] |
Definition at line 59 of file SpillInfoBlock.h.
References spb_pot.
Referenced by SpillInfo::GetSpillInfo().
00059 {spb_pot = po;}
| void SpillInfoBlock::SetTgtpos | ( | Double_t | ) | [inline] |
Definition at line 61 of file SpillInfoBlock.h.
References spb_tgtpos.
Referenced by SpillInfo::GetSpillInfo().
00061 {spb_tgtpos = tg;}
| void SpillInfoBlock::SetTime | ( | Double_t | ) | [inline] |
Definition at line 58 of file SpillInfoBlock.h.
References spb_time.
Referenced by SpillInfo::GetSpillInfo().
00058 {spb_time = ti;}
| void SpillInfoBlock::SetVpos | ( | Double_t | ) | [inline] |
Definition at line 63 of file SpillInfoBlock.h.
References spb_vpos.
Referenced by SpillInfo::GetSpillInfo().
00063 {spb_vpos = vp;}
| void SpillInfoBlock::Zero | ( | ) |
Definition at line 68 of file SpillInfoBlock.cxx.
References spb_horn, spb_hpos, spb_magnet, spb_pot, spb_tgtpos, spb_time, and spb_vpos.
Referenced by MadTestAnalysis::CreatePAN(), MadPIDAnalysis::CreatePAN(), MadDpAnalysis::CreatePAN(), and SpillInfo::GetSpillInfo().
00069 { 00070 spb_time =-999.; 00071 spb_pot =-999.; 00072 spb_horn =-999.; 00073 spb_tgtpos =-999.; 00074 spb_hpos =-999.; 00075 spb_vpos =-999.; 00076 spb_magnet =-999.; 00077 }
Double_t SpillInfoBlock::spb_horn [private] |
Definition at line 40 of file SpillInfoBlock.h.
Referenced by GetHorn(), operator=(), PrintInfo(), SetHorn(), SpillInfoBlock(), and Zero().
Double_t SpillInfoBlock::spb_hpos [private] |
Definition at line 42 of file SpillInfoBlock.h.
Referenced by GetHpos(), operator=(), PrintInfo(), SetHpos(), SpillInfoBlock(), and Zero().
Double_t SpillInfoBlock::spb_magnet [private] |
Definition at line 44 of file SpillInfoBlock.h.
Referenced by GetMagnet(), operator=(), PrintInfo(), SetMagnet(), SpillInfoBlock(), and Zero().
Double_t SpillInfoBlock::spb_pot [private] |
Definition at line 39 of file SpillInfoBlock.h.
Referenced by GetPot(), operator=(), PrintInfo(), SetPot(), SpillInfoBlock(), and Zero().
Double_t SpillInfoBlock::spb_tgtpos [private] |
Definition at line 41 of file SpillInfoBlock.h.
Referenced by GetTgtpos(), operator=(), PrintInfo(), SetTgtpos(), SpillInfoBlock(), and Zero().
Double_t SpillInfoBlock::spb_time [private] |
Definition at line 38 of file SpillInfoBlock.h.
Referenced by GetTime(), operator=(), PrintInfo(), SetTime(), SpillInfoBlock(), and Zero().
Double_t SpillInfoBlock::spb_vpos [private] |
Definition at line 43 of file SpillInfoBlock.h.
Referenced by GetVpos(), operator=(), PrintInfo(), SetVpos(), SpillInfoBlock(), and Zero().
1.4.7