root è un object oriented analysis...

3
Software per l'analisi Il codice è basato su ROOT ROOT è un Object Oriented Analysis Framework Il linguaggio di programmazione è C++ Le classi di partenza sono state sviluppate dal gruppo di Mainz A Torino si è optato per un ampliamento e completamento della struttura delle classi.

Upload: nguyenque

Post on 17-Feb-2019

248 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: ROOT è un Object Oriented Analysis Frameworkhep.fi.infn.it/iacopini/30Agosto02/marcoclemencic.pdf · Software per l'analisi Il codice è basato su ROOT ROOT è un Object Oriented

Software per l'analisi

� Il codice è basato su ROOT

� ROOT è un Object Oriented Analysis Framework

� Il linguaggio di programmazione è C++

Le classi di partenza sono state sviluppate dal gruppo di Mainz

� A Torino si è optato per un ampliamento e completamento della struttura delle classi.

Page 2: ROOT è un Object Oriented Analysis Frameworkhep.fi.infn.it/iacopini/30Agosto02/marcoclemencic.pdf · Software per l'analisi Il codice è basato su ROOT ROOT è un Object Oriented

Schema provvisorio delle classi

Detector

Fisica

Selezione

TChargedParticle#fDirectionAfterMagnet: TVector3#fPointAfterMagnet: TVector3#fTrack: TTrack*+GetTrack(): TTrack*

TMcParticle#fParentParticle: TMcParticle*

TElectronCandidate

TProtonCandidate

TMuonCandidate

TNA48Particle#fp4: TLorentzVector#fPoint: TVector3#fCharge: Int_t#fPdgCode: Int_t+P4(): TLorentzVector+Charge(): Int_t+Mass(): Float_t+Point(): TVector3+PointZ(z:Float_t): TVector3+SetMass(mass:Float_t): Float_t+SetPoint(pt:TVector3=TVector3(0,0,0))+Type(): Int_t+PdgCode(): Int_t

TTrack#fP: Float_t#fEop: Float_t#fQual: Float_t#fPoint: TVector3#fPointBeforeMagnet: TVector3#fDirection: TVector3#fDirectionAfterMagnet: TVector3#fTime: Float_t#fHodtime: Float_t#fExHac: Float_t#fEyHac: Float_t#fHodstatus: Int_t#fCharge: Int_t#fMuvReject: Int_t#fLKRCluster: TLKRCluster*

TLKRCluster#fE: Float_t#fX: Float_t#fY: Float_t#fRmsX: Float_t#fRmsY: Float_t#fTime: Float_t#fDeadCellDist: Float_t#Int_t: fTrigword#fEnergyScale: Float_t

TPhotonCandidate#fCluster: TLKRCluster*+UpdateEnergy(): Float_t+GetCluster(): TLKRCluster*

TPi0Candidate#fG1: TPhotonCandidate*#fG2: TPhotonCandidate*

TMcAssociation#fMcPartner: TMcParticle* = NULL+McPartner(): TMcParticle*+FindMcPartner(mcList:TList<McParticle>*)

TSigmaPlusCandidate

TXi0BetaCandidateTAbsCut

TCutParam

TCounterTEventCut

TLKRClusterCut

TPi0Cut

TSigmaPlusCut

TXi0BetaCut

Page 3: ROOT è un Object Oriented Analysis Frameworkhep.fi.infn.it/iacopini/30Agosto02/marcoclemencic.pdf · Software per l'analisi Il codice è basato su ROOT ROOT è un Object Oriented

Esempi di plot

4 6 8 10 12 14 16 18 20 22 24

0.4

0.5

0.6

0.7

0.8

0.9

Nent = 41706

Mass of pi+pi- pair vs. Pratio

Nent = 41706

1 1.05 1.1 1.15 1.2 1.25 1.3 1.35 1.4 1.45 1.50

200

400

600

800

1000

1200

1400

1600

1800sigma_massNent = 41706 Mean = 1.219RMS = 0.101

Mass of the Sigma+ imposing the z of Pi0

sigma_massNent = 41706 Mean = 1.219RMS = 0.101

4 6 8 10 12 14 16 18 20 22 24

0.4

0.5

0.6

0.7

0.8

0.9

Nent = 549

Mass of pi+pi- pair vs. Pratio

Nent = 549

1 1.05 1.1 1.15 1.2 1.25 1.3 1.35 1.4 1.45 1.50

50

100

150

200

250

300

350sigma_massNent = 549 Mean = 1.189RMS = 0.002123

Mass of the Sigma+ imposing the z of Pi0

sigma_massNent = 549 Mean = 1.189RMS = 0.002123