Namespaces | Classes | Typedefs | Functions
mono Namespace Reference

Namespaces

 Constants
 

Classes

class  Cluster
 
struct  Configuration
 
class  DataCheckMonopole
 
class  EventSelector
 
class  HighEnergySliceRemoval
 
class  Monopole
 
class  MonopoleCluster
 
class  MonopoleTrack
 
class  SlowMonopoleAna
 
class  SlowMonopoleFilt
 
class  SlowMonopoleTrigger
 
class  Track
 
struct  Track2D
 
class  Track3D
 
struct  Track_Match
 

Typedefs

typedef std::vector< art::Ptr< rb::CellHit > > HitList
 
typedef std::tuple< unsigned, double, double > Binning1
 
typedef std::tuple< unsigned, double, double, unsigned, double, double > Binning2
 
typedef std::pair< uint32_t, uint32_t > TimeWindow
 
typedef unsigned long long tdc_t
 

Functions

std::ostream & operator<< (std::ostream &os, Track3D const &t)
 

Typedef Documentation

typedef std::tuple<unsigned, double, double> mono::Binning1

Definition at line 49 of file SlowMonopoleAna_module.cc.

typedef std::tuple<unsigned, double, double, unsigned, double, double> mono::Binning2

Definition at line 52 of file SlowMonopoleAna_module.cc.

typedef std::vector<art::Ptr<rb::CellHit> > mono::HitList

Definition at line 15 of file Cluster.h.

typedef unsigned long long mono::tdc_t

Definition at line 35 of file DataCheckMonopole_module.cc.

typedef std::pair<uint32_t, uint32_t> mono::TimeWindow

Definition at line 38 of file SlowMonopoleFilt_module.cc.

Function Documentation

std::ostream & mono::operator<< ( std::ostream &  os,
mono::Track3D const &  t 
)

Definition at line 307 of file Track3D.cxx.

References rb::Cluster::AllCells(), geo::GeometryBase::CellInfo(), geo::GeometryBase::CellTpos(), mono::Track3D::cluster(), mono::Track3D::dxdz(), mono::Track3D::dydz(), kX, kY, string, registry_explorer::v, POTSpillRate::view, and test::z.

308 {
310 
311  os << "Track3D: dxdz, dydz = " << t.dxdz() << ", " << t.dydz() << "\n";
312 
313  for (auto const& hit : t.cluster().AllCells())
314  {
316  if (hit->View() == geo::View_t::kX)
317  view = "XZ";
318  else if (hit->View() == geo::View_t::kY)
319  view = "YZ";
320  else
321  view = "BAD";
322 
323  double xyz[3];
324  geometry->CellInfo(hit->Plane(), hit->Cell(), NULL, xyz);
325  TVector3 hit_vector(xyz);
326  double v = geometry->CellTpos(hit->Plane(), hit->Cell());
327  double z = hit_vector.z();
328  double t = hit->TNS();
329 
330  os << "Track3D: View " << view
331  << " Hit: t, v, z = " << t << ", " << v << ", " << z << "\n";
332  }
333 
334  return os;
335 }
double CellTpos(unsigned int ip, unsigned int ic, double w=0.0) const
const Var kY([](const caf::SRProxy *sr){float tmp=0.f;if(sr->mc.nu.empty()) return tmp;tmp=sr->mc.nu[0].y;return tmp;})
void CellInfo(unsigned int ip, unsigned int ic, View_t *view=0, double *pos=0, double *dpos=0) const
z
Definition: test.py:28
Definition: structs.h:12
Definition: geo.h:1
enum BeamMode string