All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
StandardRecord.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file StandardRecord.h
3 // \brief StandardRecord defines top-level objects for
4 // Common Analysis File trees.
5 // \author $Author: psihas@fnal.gov
6 ////////////////////////////////////////////////////////////////////////
7 #ifndef STANDARDRECORD_H
8 #define STANDARDRECORD_H
9 
18 
19 
20 /// Common Analysis Files
21 namespace caf
22 {
23 
24  /// \brief The StandardRecord is the primary top-level object in the
25  /// Common Analysis File trees.
26 
28  {
29 
30  public:
33 
34  SRHeader hdr; ///< Header branch: run, subrun, etc.
35  // SRSpill spill; ///< Beam spill branch: pot, beam current, etc.
36  SRSliceRecoBranch reco; ///< Slice reco branch: tracks, showers, etc.
37  SRTruthBranch mc; ///< Truth branch for all interactions
38 
39  int nslc; ///< Number of slices in list
40  std::vector<SRSlice> slc; ///< Slice branch.
41  int nfake_reco; ///< Number of Fake-Reco's in list
42  std::vector<SRFakeReco> fake_reco; ///< List of fake-reco slices
43  int ntrue_particles; ///< Number of true particles in list
44  std::vector<SRTrueParticle> true_particles; ///< True particles in spill
45  int ncrt_hits; ///< Number of CRT hits in event
46  std::vector<SRCRTHit> crt_hits; ///< CRT hits in event
47  int ncrt_tracks; ///< Number of CRT tracks in event
48  std::vector<SRCRTTrack> crt_tracks; ///< CRT tracks in event
49  int nopflashes; ///< Number of OpFlashes in spill
50  std::vector<SROpFlash> opflashes; ///< List of OpFlashes in spill
51 
52  bool pass_flashtrig; ///< Whether this Record passed the Flash Trigger requirement
53 
54  };
55 
56 } // end namespace
57 
58 #endif // STANDARDRECORD_H
59 //////////////////////////////////////////////////////////////////////////////
int ncrt_tracks
Number of CRT tracks in event.
SRHeader hdr
Header branch: run, subrun, etc.
int nfake_reco
Number of Fake-Reco&#39;s in list.
int nslc
Number of slices in list.
std::vector< SRSlice > slc
Slice branch.
int ncrt_hits
Number of CRT hits in event.
Vectors of reconstructed objects found by various algorithms.
std::vector< SROpFlash > opflashes
List of OpFlashes in spill.
std::vector< SRCRTHit > crt_hits
CRT hits in event.
std::vector< SRTrueParticle > true_particles
True particles in spill.
bool pass_flashtrig
Whether this Record passed the Flash Trigger requirement.
std::vector< SRCRTTrack > crt_tracks
CRT tracks in event.
int ntrue_particles
Number of true particles in list.
The StandardRecord is the primary top-level object in the Common Analysis File trees.
std::vector< SRFakeReco > fake_reco
List of fake-reco slices.
Header representing overview information for the current event/slice.
Definition: SRHeader.h:18
SRSliceRecoBranch reco
Slice reco branch: tracks, showers, etc.
Vectors of reconstructed vertices found by various algorithms.
Definition: SRTruthBranch.h:15
SRTruthBranch mc
Truth branch for all interactions.
int nopflashes
Number of OpFlashes in spill.