Skip to content

Commit 1502b1e

Browse files
authored
Automatic data model update (#58)
1 parent 83ef11d commit 1502b1e

3 files changed

Lines changed: 43 additions & 17 deletions

File tree

docs/datamodel/ao2dTables.md

Lines changed: 36 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -377,8 +377,8 @@ Click on the labels to display the table details.
377377
<div>Is used in:
378378
<ul>
379379
<li>o2::aod::Track = o2::aod::Tracks::iterator</li>
380-
<li>o2::aod::FullTracks = soa::Join<o2::aod::Tracks, o2::aod::TracksCov, o2::aod::TracksExtra></li>
381-
<li>o2::aod::FullTrack = soa::Join<o2::aod::Tracks, o2::aod::TracksCov, o2::aod::TracksExtra>::iterator</li>
380+
<li>o2::aod::FullTracks = soa::Join<o2::aod::Tracks, o2::aod::TracksExtra></li>
381+
<li>o2::aod::FullTrack = soa::Join<o2::aod::Tracks, o2::aod::TracksExtra>::iterator</li>
382382
<li>o2::aod::BigTracks = soa::Join<o2::aod::Tracks, o2::aod::TracksCov, o2::aod::TracksExtra, o2::aod::HFSelTrack></li>
383383
</ul>
384384
</div>
@@ -666,8 +666,6 @@ Click on the labels to display the table details.
666666
<div>Is used in:
667667
<ul>
668668
<li>o2::aod::TrackCov = o2::aod::TracksCov::iterator</li>
669-
<li>o2::aod::FullTracks = soa::Join<o2::aod::Tracks, o2::aod::TracksCov, o2::aod::TracksExtra></li>
670-
<li>o2::aod::FullTrack = soa::Join<o2::aod::Tracks, o2::aod::TracksCov, o2::aod::TracksExtra>::iterator</li>
671669
<li>o2::aod::BigTracks = soa::Join<o2::aod::Tracks, o2::aod::TracksCov, o2::aod::TracksExtra, o2::aod::HFSelTrack></li>
672670
</ul>
673671
</div>
@@ -1151,8 +1149,8 @@ Click on the labels to display the table details.
11511149
<div>Is used in:
11521150
<ul>
11531151
<li>o2::aod::TrackExtra = o2::aod::TracksExtra::iterator</li>
1154-
<li>o2::aod::FullTracks = soa::Join<o2::aod::Tracks, o2::aod::TracksCov, o2::aod::TracksExtra></li>
1155-
<li>o2::aod::FullTrack = soa::Join<o2::aod::Tracks, o2::aod::TracksCov, o2::aod::TracksExtra>::iterator</li>
1152+
<li>o2::aod::FullTracks = soa::Join<o2::aod::Tracks, o2::aod::TracksExtra></li>
1153+
<li>o2::aod::FullTrack = soa::Join<o2::aod::Tracks, o2::aod::TracksExtra>::iterator</li>
11561154
<li>o2::aod::BigTracks = soa::Join<o2::aod::Tracks, o2::aod::TracksCov, o2::aod::TracksExtra, o2::aod::HFSelTrack></li>
11571155
</ul>
11581156
</div>
@@ -3582,7 +3580,7 @@ Click on the labels to display the table details.
35823580
<td></td>
35833581
<td>statusCode</td>
35843582
<td>int</td>
3585-
<td>Status code directly from the generator</td>
3583+
<td>Generators status code or physics process. Do not use directly. Use dynamic columns getGenStatusCode() or getProcess()</td>
35863584
</tr>
35873585
<tr>
35883586
<td>o2::aod::mcparticle::Flags</td>
@@ -3694,7 +3692,7 @@ Click on the labels to display the table details.
36943692
<td>D</td>
36953693
<td>producedByGenerator</td>
36963694
<td>bool</td>
3697-
<td>Particle produced by the generator or by the transport code</td>
3695+
<td>True if particle produced by the generator (==TMCProcess::kPrimary); False if by the transport code</td>
36983696
</tr>
36993697
<tr>
37003698
<td>o2::aod::mcparticle::FromBackgroundEvent</td>
@@ -3703,6 +3701,20 @@ Click on the labels to display the table details.
37033701
<td>bool</td>
37043702
<td>Particle from background event</td>
37053703
</tr>
3704+
<tr>
3705+
<td>o2::aod::mcparticle::GetGenStatusCode</td>
3706+
<td>D</td>
3707+
<td>getGenStatusCode</td>
3708+
<td>int</td>
3709+
<td>The status code put by the generator, or -1 if a particle produced during transport</td>
3710+
</tr>
3711+
<tr>
3712+
<td>o2::aod::mcparticle::GetProcess</td>
3713+
<td>D</td>
3714+
<td>getProcess</td>
3715+
<td>int</td>
3716+
<td>The VMC physics code (as int) that generated this particle (see header TMCProcess.h in ROOT)</td>
3717+
</tr>
37063718
</table>
37073719
</div>
37083720

@@ -3758,7 +3770,7 @@ Click on the labels to display the table details.
37583770
<td></td>
37593771
<td>statusCode</td>
37603772
<td>int</td>
3761-
<td>Status code directly from the generator</td>
3773+
<td>Generators status code or physics process. Do not use directly. Use dynamic columns getGenStatusCode() or getProcess()</td>
37623774
</tr>
37633775
<tr>
37643776
<td>o2::aod::mcparticle::Flags</td>
@@ -3870,7 +3882,7 @@ Click on the labels to display the table details.
38703882
<td>D</td>
38713883
<td>producedByGenerator</td>
38723884
<td>bool</td>
3873-
<td>Particle produced by the generator or by the transport code</td>
3885+
<td>True if particle produced by the generator (==TMCProcess::kPrimary); False if by the transport code</td>
38743886
</tr>
38753887
<tr>
38763888
<td>o2::aod::mcparticle::FromBackgroundEvent</td>
@@ -3879,6 +3891,20 @@ Click on the labels to display the table details.
38793891
<td>bool</td>
38803892
<td>Particle from background event</td>
38813893
</tr>
3894+
<tr>
3895+
<td>o2::aod::mcparticle::GetGenStatusCode</td>
3896+
<td>D</td>
3897+
<td>getGenStatusCode</td>
3898+
<td>int</td>
3899+
<td>The status code put by the generator, or -1 if a particle produced during transport</td>
3900+
</tr>
3901+
<tr>
3902+
<td>o2::aod::mcparticle::GetProcess</td>
3903+
<td>D</td>
3904+
<td>getProcess</td>
3905+
<td>int</td>
3906+
<td>The VMC physics code (as int) that generated this particle (see header TMCProcess.h in ROOT)</td>
3907+
</tr>
38823908
<tr>
38833909
<td>o2::aod::mcparticle::Eta</td>
38843910
<td>E</td>

docs/datamodel/joinsAndIterators.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,14 @@ The data model provides in addition to the set of tables also some predefined jo
5656
<button class="myaccordion"><i class="fa fa-map-pin"></i> o2::aod::FullTracks</button>
5757
<div class="panel">
5858
<ul>
59-
<li>o2::aod::FullTracks = soa::Join<o2::aod::Tracks, o2::aod::TracksCov, o2::aod::TracksExtra></li>
59+
<li>o2::aod::FullTracks = soa::Join<o2::aod::Tracks, o2::aod::TracksExtra></li>
6060
</ul>
6161
</div>
6262

6363
<button class="myaccordion"><i class="fa fa-map-pin"></i> o2::aod::FullTrack</button>
6464
<div class="panel">
6565
<ul>
66-
<li>o2::aod::FullTrack = soa::Join<o2::aod::Tracks, o2::aod::TracksCov, o2::aod::TracksExtra>::iterator</li>
66+
<li>o2::aod::FullTrack = soa::Join<o2::aod::Tracks, o2::aod::TracksExtra>::iterator</li>
6767
</ul>
6868
</div>
6969

@@ -763,7 +763,7 @@ The data model provides in addition to the set of tables also some predefined jo
763763
<button class="myaccordion"><i class="fa fa-map-pin"></i> o2::analysis::hf_cuts_d0_topik::Trks</button>
764764
<div class="panel">
765765
<ul>
766-
<li>o2::analysis::hf_cuts_d0_topik::Trks = soa::Join<o2::analysis::hf_cuts_d0_topik::aod::BigTracksPID, o2::analysis::hf_cuts_d0_topik::aod::Tracks, o2::analysis::hf_cuts_d0_topik::aod::RICHTracksIndex, o2::analysis::hf_cuts_d0_topik::aod::McTrackLabels, o2::analysis::hf_cuts_d0_topik::aod::TracksExtra></li>
766+
<li>o2::analysis::hf_cuts_d0_topik::Trks = soa::Join<o2::analysis::hf_cuts_d0_topik::aod::BigTracksPID, o2::analysis::hf_cuts_d0_topik::aod::RICHTracksIndex, o2::analysis::hf_cuts_d0_topik::aod::McTrackLabels></li>
767767
</ul>
768768
</div>
769769

@@ -791,7 +791,7 @@ The data model provides in addition to the set of tables also some predefined jo
791791
<button class="myaccordion"><i class="fa fa-map-pin"></i> o2::analysis::hf_cuts_single_track::MyTracks</button>
792792
<div class="panel">
793793
<ul>
794-
<li>o2::analysis::hf_cuts_single_track::MyTracks = soa::Join<o2::analysis::hf_cuts_single_track::aod::FullTracks, o2::analysis::hf_cuts_single_track::aod::HFSelTrack, o2::analysis::hf_cuts_single_track::aod::TracksExtended, o2::analysis::hf_cuts_single_track::aod::McTrackLabels></li>
794+
<li>o2::analysis::hf_cuts_single_track::MyTracks = soa::Join<o2::analysis::hf_cuts_single_track::aod::FullTracks, o2::analysis::hf_cuts_single_track::aod::TracksCov, o2::analysis::hf_cuts_single_track::aod::HFSelTrack, o2::analysis::hf_cuts_single_track::aod::TracksExtended, o2::analysis::hf_cuts_single_track::aod::McTrackLabels></li>
795795
</ul>
796796
</div>
797797

@@ -805,7 +805,7 @@ The data model provides in addition to the set of tables also some predefined jo
805805
<button class="myaccordion"><i class="fa fa-map-pin"></i> o2::analysis::hf_cuts_single_track::MyTracks</button>
806806
<div class="panel">
807807
<ul>
808-
<li>o2::analysis::hf_cuts_single_track::MyTracks = soa::Join<o2::analysis::hf_cuts_single_track::aod::FullTracks, o2::analysis::hf_cuts_single_track::aod::HFSelTrack, o2::analysis::hf_cuts_single_track::aod::TracksExtended></li>
808+
<li>o2::analysis::hf_cuts_single_track::MyTracks = soa::Join<o2::analysis::hf_cuts_single_track::aod::FullTracks, o2::analysis::hf_cuts_single_track::aod::TracksCov, o2::analysis::hf_cuts_single_track::aod::HFSelTrack, o2::analysis::hf_cuts_single_track::aod::TracksExtended></li>
809809
</ul>
810810
</div>
811811

docs/datamodel/pwgTables.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2161,7 +2161,7 @@ Code file: <a href="https://github.com/AliceO2Group/O2Physics/tree/master//PWGDQ
21612161
<td></td>
21622162
<td>statusCode</td>
21632163
<td>int</td>
2164-
<td>Status code directly from the generator</td>
2164+
<td>Generators status code or physics process. Do not use directly. Use dynamic columns getGenStatusCode() or getProcess()</td>
21652165
</tr>
21662166
<tr>
21672167
<td>o2::aod::mcparticle::Flags</td>
@@ -2308,7 +2308,7 @@ Code file: <a href="https://github.com/AliceO2Group/O2Physics/tree/master//PWGDQ
23082308
<td>D</td>
23092309
<td>producedByGenerator</td>
23102310
<td>bool</td>
2311-
<td>Particle produced by the generator or by the transport code</td>
2311+
<td>True if particle produced by the generator (==TMCProcess::kPrimary); False if by the transport code</td>
23122312
</tr>
23132313
</table>
23142314
</div>

0 commit comments

Comments
 (0)