//------------------------------------------------------------------------------ // Channel geometry class -- // (C) Piero Giubilato 2008-2010, Berkeley Lab -- //------------------------------------------------------------------------------ //______________________________________________________________________________ // {Trace} // [File name] "geom_Channel.h" // [Author] "Piero Giubilato" // [Version] "0.1" // [Modified by] "Piero Giubilato" // [Last revision] "31 Jan 2009" // [Language] "C++" // [Compiler] "Visual C++ 9.x" // [Member of] "Cool SEAL" // [Project] "SEAL" // [Description] "Channel geometry class" // [Key documentation] // "Root user's guide" // "Visual C++ Reference Help" // {Trace} //______________________________________________________________________________ // Overloading check #ifndef geom_Channel_H #define geom_Channel_H // Standard libs // Root components #include // Application components #include "data_Object.h" #include "geom_Chip.h" //______________________________________________________________________________ class geom_Channel: public data_Object { private: // Class identifiers static const UShort_t class_Ver = 1; // Layer linked chip UInt_t chn_chip_Idx; // Mapping chip Idx UInt_t chn_layer_Idx; // Target layer Idx // Functions int data_Preset(UInt_t chip_Idx, UInt_t layer_Idx); public: // Default methods geom_Channel (); geom_Channel (UInt_t chip_Idx, UInt_t layer_Idx); ~geom_Channel (); // Root overloaded virtual void Streamer(TBuffer &b); void Dump() const {Dump(0);} void Dump(UInt_t level) const; // Linked elements UInt_t chip_Idx() const; UInt_t chip_Idx(UInt_t chip_Idx); UInt_t layer_Idx() const; UInt_t layer_Idx(UInt_t layer_Idx); // Make the class visible by RootCint //ClassDef(geom_Channel, 1) }; // Overloading check #endif