Changeset c18dca6 in git
- Timestamp:
- Jul 9, 2020, 5:05:26 PM (4 years ago)
- Branches:
- master
- Children:
- 3051ea17, 4e5ed02, 6f004b5
- Parents:
- 942a705
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
classes/DelphesClasses.cc
r942a705 rc18dca6 28 28 29 29 #include "classes/DelphesClasses.h" 30 31 30 #include "classes/DelphesFactory.h" 32 31 #include "classes/SortableObject.h" … … 140 139 PositionError(0.0, 0.0, 0.0, 0.0), 141 140 Area(0.0, 0.0, 0.0, 0.0), 141 TrackCovarianceACTS(6), 142 142 L(0), 143 143 D0(0), ErrorD0(0), … … 377 377 object.SoftDroppedSubJet1 = SoftDroppedSubJet1; 378 378 object.SoftDroppedSubJet2 = SoftDroppedSubJet2; 379 379 object.TrackCovarianceACTS = TrackCovarianceACTS; 380 380 object.fFactory = fFactory; 381 381 object.fArray = 0; … … 434 434 InitialPosition.SetXYZT(0.0, 0.0, 0.0, 0.0); 435 435 Area.SetXYZT(0.0, 0.0, 0.0, 0.0); 436 TrackCovarianceACTS.Zero(); 436 437 L = 0.0; 437 438 ErrorT = 0.0; -
classes/DelphesClasses.h
r942a705 rc18dca6 33 33 34 34 #include "TLorentzVector.h" 35 #include "TMatrixDSym.h" 35 36 #include "TObject.h" 36 37 #include "TRef.h" … … 699 700 Float_t SumPt; 700 701 702 // ACTS compliant 6x6 track covariance (D, z0, phi0, theta, q/p, time) 703 704 TMatrixDSym TrackCovarianceACTS; 705 701 706 // vertex variables 702 707 -
modules/TrackCovariance.cc
r942a705 rc18dca6 114 114 candidate->Momentum.SetVectM(track.GetObsP(), mass); 115 115 candidate->InitialPosition.SetXYZT(track.GetObsX().X(),track.GetObsX().Y(),track.GetObsX().Z(),candidatePosition.T()); 116 117 // save full ACTS friendly covariance matrix internally (6x6: D, z0, phi0, theta, q/p, time) 118 candidate->TrackCovarianceACTS = track.GetCovACTS(); 116 119 117 120 pt = candidate->Momentum.Pt(); … … 149 152 candidate->TrackResolution = dp / p; 150 153 154 151 155 candidate->AddCandidate(mother); 152 156
Note:
See TracChangeset
for help on using the changeset viewer.