// MAUS WARNING: THIS IS LEGACY CODE. // VlpcCableOsaka2.hh // // Code to read in latest decoding format from Hideyuki for debugging tracker 1 readout // // October 2008 #ifndef VLPCCABLEOSAKA2_HH #define VLPCCABLEOSAKA2_HH #include #include #include #include #include #include #include #include "CLHEP/Units/SystemOfUnits.h" #include "Config/VlpcCable.hh" class VlpcCableOsaka2: public VlpcCable { public : VlpcCableOsaka2( std::string ); ~VlpcCableOsaka2() { }; void statPlanFib( int, int, int, int&, int&, int& ); void readout2cassette(int afe, int mcm, int channel, int& cassette, int& module, int& channelCassette); void readout2waveguide(int afe, int mcm, int channel, int& waveguide, int& channelWaveguide); void readout2patchpanel(int afe, int mcm, int channel, int& patchPanelCon, int& channelPatchPanel); bool readouthaspatchpanel(int afe, int mcm, int channel ); void readout2station(int afe, int mcm, int channel, int& stat, int& statCon, int& channelStation); int cassettes() const; int cassetteNum( int ) const; int LeftHandBoard( int ) const; int RightHandBoard( int ) const; private : std::vector _cryo; std::vector _cass; std::vector _board; std::vector _afe; std::vector _mcm; std::vector _chan; std::vector _tracker; std::vector _station; std::vector _view; std::vector _fibre; std::vector _extWG; std::vector _intWG; std::vector _WGfib; int _afe_map[2][2][2]; }; #endif