31.8.2011 Kamil Sedlak

New geometry called "polycone" implemented in musrSim.
This required also an implementation of command
"/musr/command arrayDef arrayName N x1 x2 ... xN"
See the updated documentation musrSim.pdf.
This commit is contained in:
2011-08-31 11:19:09 +00:00
parent b4299fe10d
commit 0e5bdb63f9
5 changed files with 127 additions and 4 deletions

View File

@ -35,6 +35,8 @@ void musrAnalysis::Loop(char* runChar, char* v1190FileName, Int_t nrEvents)
//by b_branchname->GetEntry(ientry); //read only this branch
if (fChain == 0) return;
std::cerr<<"musrSimAnalysis::Loop() : Analysing run "<<v1190FileName<<std::endl;
hInfo = new TH1D("hInfo","Different values that need to be passed to ploting program",10000,1.,10001.);
ReadInInputParameters(v1190FileName);
CreateHistograms();
@ -707,7 +709,9 @@ void musrAnalysis::ReadInInputParameters(char* charV1190FileName) {
int iChn2 = itCoinc->second;
counterMapType::const_iterator itTwo = allCounterMap.find(abs(iChn2));
if (itTwo==allCounterMap.end()) {
std::cout<<" Pointer to coincidence counter ("<<iChn2<<") not found! This should never happen!!! ==> S T O P"<<std::endl;
std::cout<<" Pointer to coincidence counter ("<<iChn2<<") not found! Perhaps the counter nr. "<<abs(iChn2)
<<" was not defined ?"<<std::endl;
std::cout<<" Serious problem !!! ==> S T O P"<<std::endl;
exit(1);
}
else {