Create the transient representation of an object, given an opaque address. This and the following update method comprise the core functionality of calibration converters. Convenience routine used by most CAL calibration types, which have a <dimension> element describing how the remainder of the Data is laid out. Read from TDS; store information internally in protected members.
Given a pointer to a TDS object which can be cast to "our" type, fill in corresponding information in the corresponding root class
49 {
50
51 MsgStream log(
msgSvc(),
"RootDedxSimDataCnv");
52 log<<MSG::DEBUG<<"SetProperty"<<endreq;
53
55
56 TH1F *h1=new TH1F();
57
59 if(!sc)
60 {
61 log<<MSG::ERROR<<"unable to open files"<<endreq;
62 }
63
64 std::vector<TH1F> hist;
65 std::vector<double> hRange;
66
67 int cnt;
68 TTree *tree=(TTree*)
m_inFile->Get(
"TH1F_Col");
69 tree->SetBranchAddress("TH1F_Col", &h1);
70 int entries=tree->GetEntries();
71 for (cnt = 0; cnt < entries; cnt++) {
73 gROOT->cd();
74 TH1F *h2=new TH1F();
75 h2=(TH1F*)h1->Clone();
76 hist.push_back(*h2);
77 }
78
79 double betagamma[5000];
80 int totalNum;
81 int bgNum;
83 bin->SetBranchAddress(
"totalNum", &totalNum);
84 bin->SetBranchAddress(
"betagamma", betagamma);
85 bin->SetBranchAddress(
"betagammaBounds", &bgNum);
87
88
89 for (cnt = 0; cnt < bgNum; cnt++) {
90 hRange.push_back(betagamma[cnt]);
91 }
92
97 refpObject = tmpObject;
98
99 return StatusCode::SUCCESS;
100}
*******INTEGER m_nBinMax INTEGER m_NdiMax !No of bins in histogram for cell exploration division $ !Last vertex $ !Last active cell $ !Last cell in buffer $ !No of sampling when dividing cell $ !No of function total $ !Flag for random ceel for $ !Flag for type of for WtMax $ !Flag which decides whether vertices are included in the sampling $ entire domain is hyp !Maximum effective eevents per bin
void setHistNo(const int No)
void setRange(const vector< double > *hRange)
void setHist(const vector< TH1F > *hist)
void setRangeNo(const int No)
StatusCode openRead(const std::string &fname)