18 #include "art/Framework/Services/Registry/ServiceHandle.h"
19 #include <TLorentzVector.h>
32 fbins = std::vector<int>(4);
45 fbins = std::vector<int>(4);
46 art::ServiceHandle<sim::LArVoxelCalculator const> voxelCalc;
47 for ( Ssiz_t
a = 0;
a != 4; ++
a ){
48 fbins[
a] = voxelCalc->AxisToBin(
a, coord[
a] );
55 art::ServiceHandle<sim::LArVoxelCalculator const> voxelCalc;
58 fbins = std::vector<int>(4);
59 fbins[0] = voxelCalc->XAxisToBin( x );
60 fbins[1] = voxelCalc->YAxisToBin( y );
61 fbins[2] = voxelCalc->ZAxisToBin( z );
62 fbins[3] = voxelCalc->TAxisToBin( t );
74 art::ServiceHandle<sim::LArVoxelCalculator const> voxelCalc;
75 return voxelCalc->XBinToAxis(
fbins[0]);
81 art::ServiceHandle<sim::LArVoxelCalculator const> voxelCalc;
82 return voxelCalc->YBinToAxis(
fbins[1]);
88 art::ServiceHandle<sim::LArVoxelCalculator const> voxelCalc;
89 return voxelCalc->ZBinToAxis(
fbins[2]);
95 art::ServiceHandle<sim::LArVoxelCalculator const> voxelCalc;
96 return voxelCalc->TBinToAxis(
fbins[3]);
123 output <<
"(" <<
id.X()
172 LArVoxelID::operator TLorentzVector()
const
174 return TLorentzVector(
X(), Y(), Z(), T() );
178 LArVoxelID::operator TVector3()
const
180 return TVector3(
X(), Y(), Z() );
process_name opflash particleana ie ie ie z
LArVoxelID(const int x=0, const int y=0, const int z=0, const int t=0)
Expert constructor based on actual bins.
process_name opflash particleana ie x
Encapsulates calculation of LArVoxelID and LArVoxel parameters.
auto coord(Vector &v, unsigned int n) noexcept
Returns an object to manage the coordinate n of a vector.
bool operator<(const LArVoxelID &) const
double operator[](const int) const
virtual ~LArVoxelID()
Destructor.
then echo echo For and will not be changed by echo further linking echo echo B echo The symbol is in the uninitialized data multiple common symbols may appear with the echo same name If the symbol is defined the common echo symbols are treated as undefined references For more echo details on common see the discussion of warn common echo in *Note Linker see the discussion of warn common echo in *Note Linker such as a global int variable echo as opposed to a large global array echo echo I echo The symbol is an indirect reference to another symbol This echo is a GNU extension to the a out object file format which is echo rarely used echo echo N echo The symbol is a debugging symbol echo echo R echo The symbol is in a read only data section echo echo S echo The symbol is in an uninitialized data section for small echo objects echo echo T echo The symbol is in the the normal defined echo symbol is used with no error When a weak undefined symbol echo is linked and the symbol is not the value of the echo weak symbol becomes zero with no error echo echo W echo The symbol is a weak symbol that has not been specifically echo tagged as a weak object symbol When a weak defined symbol echo is linked with a normal defined the normal defined echo symbol is used with no error When a weak undefined symbol echo is linked and the symbol is not the value of the echo weak symbol becomes zero with no error echo echo echo The symbol is a stabs symbol in an a out object file In echo this the next values printed are the stabs other echo the stabs desc and the stab type Stabs symbols are echo used to hold debugging information For more echo see *Note or object file format specific echo echo For Mac OS X
process_name opflash particleana ie ie y
bool operator==(const LArVoxelID &) const
Test for equality. Handy, but not usually necessary.
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG simSlidingORM6O6 effSlidingORW output
std::ostream & operator<<(std::ostream &output, const LArVoxelData &data)
Unique identifier for a given LAr voxel.