Class LArFlowConstants

Class Documentation

class LArFlowConstants

Constants and utility functions.

Author
Taritree Wongjirad (taritree.wongjirad@tufts.edu)
Date
Rcs
2020/07/2 16:35

Contact: taritree.wongjirad@tufts.edu

Revision History: 2020/07/22: writing documentation

Public Static Functions

std::string getFlowName(FlowDir_t dir)

Get string with name of flow direction.

FlowDir_t getFlowDirection(int sourceplane, int targetplane)

get FlowDir for pair of planes

int getOtherPlane(int sourceplane, int targetplane)

get the other plane index given the source and target plane

void getFlowPlanes(FlowDir_t dir, int &sourceplane, int &targetplane)

Given FlowDir_t, get source and target plane indices.

Public Static Attributes

const FlowDir_t FlowPlaneMatrix = { {kNumFlows, kU2V, kU2Y}, {kV2U, kNumFlows, kV2Y}, {kY2U, kY2V, kNumFlows} }

Map from plane ID numbers to FlowDir labels.

Protected Functions

LArFlowConstants()
virtual ~LArFlowConstants()