FairRoot/PandaRoot
|
Go to the source code of this file.
Variables | |
bool | verbose = false |
TStopwatch | timer |
PndFileNameCreator | namecreator ("../data/mvddpm6GeV.root") |
std::string | inFile = namecreator.GetSimFileName(false) |
std::string | digiFile = namecreator.GetDigiFileName(false) |
std::string | parfile = "../data/mvddpm6GeV_digipar.root" |
TString | picture = namecreator.GetDigiFileName(false) |
TFile * | f = new TFile(inFile.c_str()) |
TTree * | t =(TTree *) f->Get("pndsim") |
TClonesArray * | mc_array =new TClonesArray("PndSdsMCPoint") |
TClonesArray * | digiPixel_array =new TClonesArray("PndSdsDigiPixel") |
TClonesArray * | digiStrip_array =new TClonesArray("PndSdsDigiStrip") |
TGeoManager * | geoMan = (TGeoManager*) gDirectory->Get("FAIRGeom") |
TH2D * | hisxy = new TH2D("hisxy","",400,-15.,15.,400,-15.,15.) |
TH2D * | hisrz = new TH2D("hisrz","",400,-20.,20.,400,-15.,25.) |
TH1D * | hisde = new TH1D("hisde","MVD MC Points, Energyloss",100,0.,0.002) |
TH1D * | hismom = new TH1D("hismom","MVD MC Points, momentum",100,0.,1.5) |
int | n = 100 |
int | low = 0 |
TH1I * | hisPixelCol = new TH1I("hispixelcol","Pixel column channel number on FE",n,low,low+n) |
TH1I * | hisPixelRow = new TH1I("hispixelrow","Pixel row channel number on FE",n,low,low+n) |
TH1I * | hisPixelFE = new TH1I("hispixelfe","Pixel FE number",n,low,low+n) |
TH1I * | hisCol = new TH1I("hiscol","column number",1200,0,1200) |
TH1I * | hisRow = new TH1I("hisrow","row number",1200,0,1200) |
TH1D * | hisPixelCharge = new TH1D("hispixelcharge","Pixel Charge content",100,0.,1e5) |
TH2I * | hisStripTop = new TH2I("hisstriptop","Strip Top channel&fe numbers",20,0,20,130,0,130) |
TH2I * | hisStripBot = new TH2I("hisstripbot","Strip Bot channel&fe numbers",20,0,20,130,0,130) |
TH1I * | hisStripStrip = new TH1I("hisstripstrip","Strip numbers",15*128,0,15*128) |
TH1D * | hisStripCharge = new TH1D("hisstripcharge","Strip Charge content",100,0.,1e5) |
TH1D * | hisStripChargeTop = new TH1D("hisstripchargetop","Strip Charge content",100,0.,1e5) |
TH1D * | hisStripChargeBot = new TH1D("hisstripchargebot","Strip Charge content",100,0.,1e5) |
TH1F * | fHChgDiff |
TH1F * | fHChgMC = new TH1F("hchgmc",";#DeltaC/e^{-} MC;",150,0.,1e4) |
TH1F * | fHChgFake = new TH1F("hchgfake",";#DeltaC/e^{-} fake;",150,0.,1e4) |
TH1F * | fHChgMCPix = new TH1F("hchgmcPix",";#DeltaC/e^{-} MC;",150,0.,1e4) |
TH1F * | fHChgFakePix = new TH1F("hchgfakePix",";#DeltaC/e^{-} fake;",150,0.,1e4) |
TVector3 | vecmc |
TVector3 | mommc |
Double_t | tmpx |
Double_t | tmpy |
Double_t | tmpz |
TVector2 | locals |
TVector2 | localmc |
TVector2 | localdiff |
int | col |
int | row |
int | fe |
double | x |
double | y |
TFile * | parDB = new TFile(parfile.c_str()) |
PndMvdStripDigiPar * | par = (PndMvdStripDigiPar*)gROOT->FindObject("MVDStripDigiParRect") |
int | nrFeChannels =par->GetNrFECh() |
int | nrStrips =par->GetNrTopFE()*nrFeChannels |
Int_t | a = 2 |
Int_t | b = 2 |
Int_t | res =475 |
TCanvas * | can1 = new TCanvas("MvdTestPlot","MCHit view in MVD",0,0,a*res,b*res) |
TPad * | mypad =0 |
Double_t | rtime = timer.RealTime() |
Double_t | ctime = timer.CpuTime() |
t AddFriend | ( | "pndsim" | , |
digiFile. | c_str() | ||
) |
BetterStatBox | ( | mypad | ) |
can1 cd | ( | 1 | ) |
mypad cd | ( | 2 | ) |
mypad cd | ( | 3 | ) |
mypad cd | ( | 4 | ) |
mypad cd | ( | 5 | ) |
mypad cd | ( | 6 | ) |
mypad Divide | ( | 2 | , |
2 | |||
) |
mypad Divide | ( | 2 | , |
3 | |||
) |
hisde DrawCopy | ( | ) |
fHChgFakePix DrawCopy | ( | "same" | ) |
hisStripChargeTop DrawCopy | ( | "sames" | ) |
DrawNice2DHisto | ( | hisxy | ) |
DrawNice2DHisto | ( | hisrz | ) |
DrawNice2DHisto | ( | hisStripTop | ) |
DrawNice2DHisto | ( | hisStripBot | ) |
for | ( | ) |
Definition at line 103 of file anadigi.C.
References col, PndSdsDigiStrip::GetChannel(), PndSdsDigi::GetCharge(), PndSdsDigi::GetFE(), PndSdsDigi::GetIndex(), PndSdsDigiPixel::GetPixelColumn(), PndSdsDigiPixel::GetPixelRow(), i, pixelcalc(), and point.
gROOT LoadMacro | ( | "$VMCWORKDIR/gconfig/rootlogon.C" | ) |
gROOT LoadMacro | ( | "../Tools.C" | ) |
LoadPandaStyle | ( | ) |
PndMvdCalcFePixel pixelcalc | ( | 100 | , |
100 | , | ||
10 | |||
) |
Referenced by for().
can1 Print | ( | picture. | Data() | ) |
picture ReplaceAll | ( | ".root" | , |
".ps" | |||
) |
rootlogon | ( | ) |
Definition at line 1 of file outdated/mpiTools/macros/emc/rootlogon.C.
t SetBranchAddress | ( | "MVDPoint" | , |
& | mc_array | ||
) |
t SetBranchAddress | ( | "MVDPixelDigis" | , |
& | digiPixel_array | ||
) |
t SetBranchAddress | ( | "MVDStripDigis" | , |
& | digiStrip_array | ||
) |
hisStripChargeTop SetLineColor | ( | kBlue | ) |
hisStripChargeBot SetLineColor | ( | kRed | ) |
fHChgMCPix SetLineColor | ( | 6 | ) |
fHChgFakePix SetLineColor | ( | 30 | ) |
gPad SetLogy | ( | ) |
timer Start | ( | ) |
timer Stop | ( | ) |
can1 Update | ( | ) |
TClonesArray* digiPixel_array =new TClonesArray("PndSdsDigiPixel") |
TClonesArray* digiStrip_array =new TClonesArray("PndSdsDigiStrip") |
TH1F* fHChgDiff |
TH1F* fHChgFake = new TH1F("hchgfake",";#DeltaC/e^{-} fake;",150,0.,1e4) |
TH1F* fHChgFakePix = new TH1F("hchgfakePix",";#DeltaC/e^{-} fake;",150,0.,1e4) |
TH1F* fHChgMC = new TH1F("hchgmc",";#DeltaC/e^{-} MC;",150,0.,1e4) |
TH1F* fHChgMCPix = new TH1F("hchgmcPix",";#DeltaC/e^{-} MC;",150,0.,1e4) |
TGeoManager* geoMan = (TGeoManager*) gDirectory->Get("FAIRGeom") |
TH1I* hisCol = new TH1I("hiscol","column number",1200,0,1200) |
TH1D* hisde = new TH1D("hisde","MVD MC Points, Energyloss",100,0.,0.002) |
TH1D* hismom = new TH1D("hismom","MVD MC Points, momentum",100,0.,1.5) |
TH1D* hisPixelCharge = new TH1D("hispixelcharge","Pixel Charge content",100,0.,1e5) |
TH2D* hisrz = new TH2D("hisrz","",400,-20.,20.,400,-15.,25.) |
TH2I* hisStripBot = new TH2I("hisstripbot","Strip Bot channel&fe numbers",20,0,20,130,0,130) |
TH1D* hisStripCharge = new TH1D("hisstripcharge","Strip Charge content",100,0.,1e5) |
TH1D* hisStripChargeBot = new TH1D("hisstripchargebot","Strip Charge content",100,0.,1e5) |
TH1D* hisStripChargeTop = new TH1D("hisstripchargetop","Strip Charge content",100,0.,1e5) |
TH1I* hisStripStrip = new TH1I("hisstripstrip","Strip numbers",15*128,0,15*128) |
TH2D* hisxy = new TH2D("hisxy","",400,-15.,15.,400,-15.,15.) |
PndFileNameCreator namecreator("../data/mvddpm6GeV.root") |
int nrStrips =par->GetNrTopFE()*nrFeChannels |
PndMvdStripDigiPar* par = (PndMvdStripDigiPar*)gROOT->FindObject("MVDStripDigiParRect") |
Int_t res =475 |
Definition at line 166 of file anadigi.C.
Referenced by PndLmdStripClusterTask::AddMSErr(), anaRadLength(), PndLmdSigCleanTask::Check(), PndLmdSigCleanTask::CheckMom(), PndLmdSigCleanTask::CheckMVA(), PndLmdSigCleanTask::CheckXY(), PndFilteredPrimaryGenerator::CombineList(), PndFsmSimpleTracker::dp(), PndFsmSimpleTracker::dphi(), PndFsmSimpleTracker::dtheta(), PndDiscTaskDigitization::Exec(), PndXYResidualTask::Exec(), PndEmcXClMoments::Fak(), TGo4EventElement::Fill(), fit1(), fit2(), FitFunction1(), FitFunction2(), for(), gem_material_ana1(), getFromCut(), getFromWeightFile(), HypStatDecay::GetPgCMSLab(), GFTrack::getResiduals(), GFTools::getSmoothedChiSqu(), TGo4EventElement::Init(), materialana(), TTracksCatCounters< int >::operator+(), GFKalman::processHit(), PndDsk::ProcessHitsParticle(), ReadModeTab(), PndRiemannTrack::refit(), PndLmdStripClusterTask::rotateToLumiFrame(), PndForwardTrackFinderTask::saveCorrectedTracklets(), PndMdtHitProducerIdeal::SetPositionSmearing(), and PndRichHitProducer::SetPositionSmearing().