diff options
| author | Stan Seibert <stan@mtrr.org> | 2011-10-08 16:55:25 -0400 |
|---|---|---|
| committer | tlatorre <tlatorre@uchicago.edu> | 2021-05-09 08:42:10 -0700 |
| commit | 8802fbcb15273017a674f68f9e8f0d27dd4231be (patch) | |
| tree | 3c1b14c482cec548b9e0d4511c408e993c41f6a3 /chroma | |
| parent | da368858314c1aba32a7d6a08b963351afc49925 (diff) | |
| download | chroma-8802fbcb15273017a674f68f9e8f0d27dd4231be.tar.gz chroma-8802fbcb15273017a674f68f9e8f0d27dd4231be.tar.bz2 chroma-8802fbcb15273017a674f68f9e8f0d27dd4231be.zip | |
Write t0 for primary vertex to ROOT file and fix unit test to catch this.
Diffstat (limited to 'chroma')
| -rw-r--r-- | chroma/io/root.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chroma/io/root.py b/chroma/io/root.py index b135df9..0454524 100644 --- a/chroma/io/root.py +++ b/chroma/io/root.py @@ -174,6 +174,7 @@ class RootWriter(object): if pyev.primary_vertex.pol is not None: self.ev.primary_vertex.pol.SetXYZ(*pyev.primary_vertex.pol) self.ev.primary_vertex.ke = pyev.primary_vertex.ke + self.ev.primary_vertex.t0 = pyev.primary_vertex.t0 if pyev.photons_beg is not None: photons = pyev.photons_beg |
