LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
geo::part::PartitionDataDescriber< geo::TPCGeo > Struct Template Reference

Describes a geo::TPCGeo object for Partition::describe(). More...

#include "DriftPartitions.h"

Public Member Functions

template<typename Stream >
 PartitionDataDescriber (Stream &&out, geo::TPCGeo const *pTPC, std::string indent="", std::string firstIndent="")
 

Detailed Description

template<>
struct geo::part::PartitionDataDescriber< geo::TPCGeo >

Describes a geo::TPCGeo object for Partition::describe().

Definition at line 43 of file DriftPartitions.h.

Constructor & Destructor Documentation

template<typename Stream >
geo::part::PartitionDataDescriber< geo::TPCGeo >::PartitionDataDescriber ( Stream &&  out,
geo::TPCGeo const *  pTPC,
std::string  indent = "",
std::string  firstIndent = "" 
)

Definition at line 247 of file DriftPartitions.h.

References geo::TPCGeo::PrintTPCInfo().

253 {
254  out << firstIndent;
255  if (!pTPC) {
256  out << "no TPC";
257  return;
258  }
259  // verbosity: 2 => ID, size, drift information;
260  // 5: also number of wires and active volume
261  pTPC->PrintTPCInfo(std::forward<Stream>(out), indent, 2U);
262 } // geo::part::PartitionDataDescriber<TPCGeo>::PartitionDataDescriber()
std::string indent(std::size_t const i)

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