Public Member Functions | List of all members
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 44 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 260 of file DriftPartitions.h.

264 {
265  out << firstIndent;
266  if (!pTPC) {
267  out << "no TPC";
268  return;
269  }
270  // verbosity: 2 => ID, size, drift information;
271  // 5: also number of wires and active volume
272  pTPC->PrintTPCInfo(std::forward<Stream>(out), indent, 2U);
273 } // geo::part::PartitionDataDescriber<TPCGeo>::PartitionDataDescriber()

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