Public Member Functions | Public Attributes | List of all members
CalibTreeRecord::CalibTreeRecord Class Reference

#include <CalibTreeRecord.h>

Public Member Functions

void Clear ()
 
void stdout_dump ()
 

Public Attributes

bool bunch_hits
 
UInt_t run
 
UInt_t subrun
 
UInt_t event
 
std::vector< EveRecordeves
 
std::vector< HitContributorhits
 
std::vector< HitContributorophits
 

Detailed Description

Definition at line 131 of file CalibTreeRecord.h.

Member Function Documentation

void CalibTreeRecord::CalibTreeRecord::Clear ( )

Definition at line 6 of file CalibTreeRecord.cxx.

7  {
8  eves.clear();
9  hits.clear();
10  ophits.clear();
11  run=0;
12  subrun=0;
13  event=0;
14  }
std::vector< HitContributor > hits
std::vector< HitContributor > ophits
std::vector< EveRecord > eves
void CalibTreeRecord::CalibTreeRecord::stdout_dump ( )

Definition at line 16 of file CalibTreeRecord.cxx.

17  {
18  std::cout<<"N eves is "<<eves.size()<<"\n";
19  for(auto eve : eves){
20  std::cout<<"N Particles is : "<<eve.particles.size()<<"\n";
21  std::cout<<"Eve position is X:"<<eve.x_pos<<" Y:"<<eve.y_pos<<" Z:"<<eve.z_pos<<" T:"<<eve.t_pos<<"\n";
22  for(auto particle: eve.particles){
23  std::cout<<"Particle position is X:"<<particle.x_pos<<" Y:"<<particle.y_pos<<" Z:"<<particle.z_pos<<" t:"<<particle.t_pos<<"\n";
24  for(auto hit : particle.partial_hits){
25  std::cout<<"Partial Hit. Charge:"<<hit.charge<<" ne:"<<hit.num_electrons<<" en:"<<hit.energy<<" t:"<<hit.width<<"\n";
26  }
27  for(auto hit :particle.partial_ophits){
28  std::cout<<"ParticlOphit. pes: "<<hit.pes<<" np:"<<hit.num_photons<<" t:"<<hit.time<<"\n";
29  }
30  }
31  }
32  }
Detector simulation of raw signals on wires.
std::vector< EveRecord > eves

Member Data Documentation

bool CalibTreeRecord::CalibTreeRecord::bunch_hits

Definition at line 134 of file CalibTreeRecord.h.

UInt_t CalibTreeRecord::CalibTreeRecord::event

Definition at line 137 of file CalibTreeRecord.h.

std::vector<EveRecord> CalibTreeRecord::CalibTreeRecord::eves

Definition at line 138 of file CalibTreeRecord.h.

std::vector<HitContributor> CalibTreeRecord::CalibTreeRecord::hits

Definition at line 139 of file CalibTreeRecord.h.

std::vector<HitContributor> CalibTreeRecord::CalibTreeRecord::ophits

Definition at line 140 of file CalibTreeRecord.h.

UInt_t CalibTreeRecord::CalibTreeRecord::run

Definition at line 135 of file CalibTreeRecord.h.

UInt_t CalibTreeRecord::CalibTreeRecord::subrun

Definition at line 136 of file CalibTreeRecord.h.


The documentation for this class was generated from the following files: