Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HistMacro_Beam.C File Reference

Go to the source code of this file.

Functions

locDirectory cd ()
 
locCanvas Divide (2, 1)
 
latex SetTextSize (0.04)
 
locCanvas cd (1)
 
gPad SetTicks ()
 
gPad SetGrid ()
 
 if ((locHist_RFBeamBunchPeriod_DFT!=NULL)&&(locHist_RFBeamBunchPeriod!=NULL))
 
locCanvas cd (2)
 
 if (locHist_BeamEnergy!=NULL)
 

Variables

string amorphous_label = "Normalized to Amorphous run 61486"
 
Double_t amorphous_data []
 
TDirectory * locTopDirectory = gDirectory
 
TDirectory * locDirectory = (TDirectory*)gDirectory->FindObjectAny("highlevel")
 
 return
 
TH1 * locHist_RFBeamBunchPeriod = (TH1*)gDirectory->Get("RFBeamBunchPeriod")
 
TH1 * locHist_RFBeamBunchPeriod_DFT = (TH1*)gDirectory->Get("RFBeamBunchPeriod_DFT")
 
TH1 * locHist_BeamEnergy = (TH1*)gDirectory->Get("BeamEnergy")
 
TCanvas * locCanvas = NULL
 
TLatex latex
 
char str [256]
 

Function Documentation

locDirectory cd ( )
locCanvas cd ( )
locCanvas cd ( )
locCanvas Divide ( ,
 
)
if ( (locHist_RFBeamBunchPeriod_DFT!=NULL)&&(locHist_RFBeamBunchPeriod!=NULL)  )

Definition at line 81 of file HistMacro_Beam.C.

References max, and sprintf().

if ( locHist_BeamEnergy!  = NULL)

Definition at line 118 of file HistMacro_Beam.C.

References max, min, and sprintf().

gPad SetGrid ( )
latex SetTextSize ( 0.  04)
gPad SetTicks ( )

Variable Documentation

Double_t amorphous_data[]
Initial value:
= {
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1528717.0, 1407544.0,
1528588.0, 1504324.0, 983111.0, 0.0, 1441092.0, 1480053.0, 1460954.0, 1392584.0, 1394014.0, 1336290.0,
0.0, 1346085.0, 1316119.0, 1285210.0, 1295065.0, 1250674.0, 1158590.0, 1126330.0, 0.0, 1146744.0,
1081900.0, 1086177.0, 0.0, 1068194.0, 1011269.0, 1012426.0, 1025018.0, 0.0, 951980.0, 939222.0,
927711.0, 917307.0, 901588.0, 919701.0, 0.0, 849302.0, 834149.0, 869406.0, 797246.0, 830177.0,
809832.0, 0.0, 790587.0, 749255.0, 760424.0, 720303.0, 761106.0, 724676.0, 704258.0, 0.0,
647908.0, 693104.0, 675661.0, 652931.0, 643327.0, 631906.0, 604586.0, 0.0, 612618.0, 603558.0,
613414.0, 582071.0, 569040.0, 559067.0, 0.0, 733722.0, 695395.0, 887978.0, 663665.0, 862062.0,
645243.0, 665747.0, 0.0, 784282.0, 800891.0, 761655.0, 746507.0, 729282.0, 716918.0, 0.0,
594731.0, 593412.0, 526234.0, 571098.0, 428117.0, 0.0, 816084.0, 542575.0, 544460.0, 523923.0,
487473.0, 508549.0, 703798.0, 1116513.0, 967680.0, 1285424.0, 1127003.0, 779033.0, 562754.0, 415374.0,
525636.0, 496556.0, 407793.0, 497061.0, 451473.0, 444332.0, 475791.0, 445463.0, 454212.0, 431271.0,
434089.0, 426533.0, 509816.0, 414168.0, 394648.0, 476410.0, 377050.0, 489869.0, 1281880.0, 750548.0,
755848.0, 891975.0, 821319.0, 533191.0, 929009.0, 600947.0, 918157.0, 977240.0, 949614.0, 925346.0,
577657.0, 896363.0, 1145221.0, 843711.0, 691364.0, 838236.0, 810891.0, 1209237.0, 790023.0, 741811.0,
711976.0, 690316.0, 1177627.0, 738936.0, 792484.0, 777937.0, 746319.0, 703869.0, 697973.0, 1025455.0,
639500.0, 908115.0, 581026.0, 899918.0, 786252.0, 809173.0, 732216.0, 699967.0, 1006938.0, 604373.0,
828893.0, 582538.0, 910984.0, 756836.0, 670650.0, 545766.0, 606404.0, 495667.0, 0.0, 0.0,
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0}

Definition at line 23 of file HistMacro_Beam.C.

string amorphous_label = "Normalized to Amorphous run 61486"

Definition at line 21 of file HistMacro_Beam.C.

TLatex latex

Definition at line 73 of file HistMacro_Beam.C.

else locCanvas = NULL

Definition at line 66 of file HistMacro_Beam.C.

TDirectory* locDirectory = (TDirectory*)gDirectory->FindObjectAny("highlevel")

Definition at line 56 of file HistMacro_Beam.C.

TH1* locHist_BeamEnergy = (TH1*)gDirectory->Get("BeamEnergy")

Definition at line 63 of file HistMacro_Beam.C.

TH1* locHist_RFBeamBunchPeriod = (TH1*)gDirectory->Get("RFBeamBunchPeriod")

Definition at line 61 of file HistMacro_Beam.C.

Referenced by RFMacro_BeamBunchPeriod().

TH1* locHist_RFBeamBunchPeriod_DFT = (TH1*)gDirectory->Get("RFBeamBunchPeriod_DFT")

Definition at line 62 of file HistMacro_Beam.C.

TDirectory* locTopDirectory = gDirectory

Definition at line 53 of file HistMacro_Beam.C.

return

Definition at line 58 of file HistMacro_Beam.C.

char str[256]

Definition at line 75 of file HistMacro_Beam.C.

Referenced by DFDCHit_factory::brun(), DCDCHit_factory_Calib::brun(), HDEVIOWriter::ConnectToET(), daq_words(), daq_words_compare(), hdv_mainframe::DrawScale(), XString::dump(), EventstoreQueryHelp(), DPSHit_factory::evnt(), DFDCHit_factory::evnt(), DCDCHit_factory_Calib::evnt(), DFCALHit_factory::evnt(), DSCHit_factory::evnt(), DPSCHit_factory::evnt(), extract_photon_energy_spectrum(), DPSHit_factory::FillCalibTable(), DFCALHit_factory::FillCalibTable(), DBCALTDCHit_factory::FillCalibTable(), DPSCHit_factory::FillCalibTable(), DBCALHit_factory::FillCalibTable(), DTOFHit_factory::FillCalibTable(), DBCALTDCHit_factory::FillCalibTableShort(), DBCALHit_factory::FillCalibTableShort(), trk_mainframe::FillFactoryTagComboBox(), trk_mainframe::FillTrackNumberComboBox(), DEventProcessor_track_hists::fini(), DEventProcessor_candidate_tree::fini(), HDEVIOWriter::FlushOutput(), for(), DPSHit_factory::GetConstant(), DFDCHit_factory::GetConstant(), DTPOLHit_factory::GetConstant(), DCDCHit_factory_Calib::GetConstant(), DBCALTDCHit_factory::GetConstant(), DFCALHit_factory::GetConstant(), DSCHit_factory::GetConstant(), DPSCHit_factory::GetConstant(), DBCALHit_factory::GetConstant(), DTOFHit_factory::GetConstant(), GetDate(), guessType(), HDET::HDET(), HDET::HexStr(), HDEVIO::HexStr(), if(), JEventProcessor_highlevel_online::init(), DCCALHit_factory::LoadCCALConst(), DL1MCTrigger_factory::LoadFCALConst(), DFDCHit_factory::LoadPackageCalibTables(), main(), md5geom_xml(), PrintSummary(), hdv_mainframe::ReadPreferences(), HDEVIO::SaveFileMap(), int_attribute_t::toString(), boolean_attribute_t::toString(), Particle_attribute_t::toString(), long_attribute_t::toString(), float_attribute_t::toString(), double_attribute_t::toString(), DEVIOBufferWriter::WriteEPICSData(), and XString::XString().