Public Member Functions | Public Attributes | List of all members
noeevent Struct Reference

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N21-04-11/NewEventDisplay/func/event.h"

Public Member Functions

void addtrack (const track &t)
 
void addvertex (const vertex &v)
 
void addhit (const hit &h)
 

Public Attributes

std::vector< hithits
 
std::vector< tracktracks
 
std::vector< vertexvertices
 
uint32_t nevent
 
uint32_t nrun
 
uint32_t nsubrun
 
int32_t mintick = 0x7fffffff
 
int32_t maxtick = 0
 
int32_t user_mintick = 0x7fffffff
 
int32_t user_maxtick = 0
 
int32_t current_mintick = 0x7fffffff
 
int32_t current_maxtick = 0
 
bool fdlike = false
 

Detailed Description

Definition at line 41 of file event.h.

Member Function Documentation

void noeevent::addhit ( const hit h)
inline

Definition at line 83 of file event.h.

References hit::cell, hit::plane, and hit::tdc.

Referenced by noe::__attribute__(), and noe::noe::produce().

84  {
85  hits.push_back(h);
86 
87  // I don't want to use any art services unless it's really necessary, so
88  // autodetect when we are in the FD. This should fail very very rarely
89  // since the FD is noisy.
90  if(!fdlike && (h.cell >= 3 * 32 || h.plane >= 8 * 24 + 22)) fdlike = true;
91 
94  }
int32_t user_maxtick
Definition: event.h:53
int32_t current_maxtick
Definition: event.h:69
uint16_t plane
Definition: event.h:2
int32_t tdc
Definition: event.h:5
uint16_t cell
Definition: event.h:2
int32_t current_mintick
Definition: event.h:69
int32_t maxtick
Definition: event.h:48
bool fdlike
Definition: event.h:71
int32_t mintick
Definition: event.h:48
int32_t user_mintick
Definition: event.h:53
std::vector< hit > hits
Definition: event.h:42
void noeevent::addtrack ( const track t)
inline

Definition at line 73 of file event.h.

Referenced by noe::noe::produce().

74  {
75  tracks.push_back(t);
76  }
std::vector< track > tracks
Definition: event.h:43
void noeevent::addvertex ( const vertex v)
inline

Definition at line 78 of file event.h.

Referenced by noe::noe::produce().

79  {
80  vertices.push_back(v);
81  }
std::vector< vertex > vertices
Definition: event.h:44

Member Data Documentation

int32_t noeevent::current_maxtick = 0

Definition at line 69 of file event.h.

Referenced by adjusttick(), animation_step(), handle_event(), and set_eventn_status_timing().

int32_t noeevent::current_mintick = 0x7fffffff

Definition at line 69 of file event.h.

Referenced by adjusttick(), animation_step(), handle_event(), and set_eventn_status_timing().

bool noeevent::fdlike = false

Definition at line 71 of file event.h.

Referenced by set_eventn_status_timing().

std::vector<hit> noeevent::hits

Definition at line 42 of file event.h.

int32_t noeevent::maxtick = 0

Definition at line 48 of file event.h.

Referenced by handle_event(), and set_eventn_status_timing().

int32_t noeevent::mintick = 0x7fffffff

Definition at line 48 of file event.h.

Referenced by handle_event(), and set_eventn_status_timing().

uint32_t noeevent::nevent

Definition at line 45 of file event.h.

Referenced by noe::__attribute__(), and noe::noe::produce().

uint32_t noeevent::nrun

Definition at line 45 of file event.h.

Referenced by noe::__attribute__(), and noe::noe::produce().

uint32_t noeevent::nsubrun

Definition at line 45 of file event.h.

Referenced by noe::__attribute__(), and noe::noe::produce().

std::vector<track> noeevent::tracks

Definition at line 43 of file event.h.

int32_t noeevent::user_maxtick = 0

Definition at line 53 of file event.h.

Referenced by adjusttick(), and handle_event().

int32_t noeevent::user_mintick = 0x7fffffff

Definition at line 53 of file event.h.

Referenced by adjusttick(), and handle_event().

std::vector<vertex> noeevent::vertices

Definition at line 44 of file event.h.


The documentation for this struct was generated from the following file: