//------------------------------------------------------------------------------ // Chip geometry clas // (C) Piero Giubilato 2008-2010, Berkeley Lab -- //------------------------------------------------------------------------------ //______________________________________________________________________________ // {Trace} // [File name] "geom_Chip.h" // [Author] "Piero Giubilato" // [Version] "1.0" // [Modified by] "Piero Giubilato" // [Last revision] "31 Jan 2008" // [Language] "C++" // [Compiler] "Visual C++ 9.x" // [Member of] "Cool SEAL" // [Project] "SEAL" // [Description] "Chip geometry class." // [Key documentation] // "Root user's guide" // "Visual C++ Reference Help" // {Trace} //______________________________________________________________________________ // Overloading check #ifndef geom_Chip_H #define geom_Chip_H // Standard libs // Root components #include // Application components #include "data_Layer.h" //______________________________________________________________________________ class geom_Chip: public data_Layer { private: // Class identifiers static const UShort_t class_Ver = 1; // HRD class version // Chip physical information Double_t chip_col_Pitch; // Column pitch (X pixel spacing) Double_t chip_row_Pitch; // Row pitch (Y pixel spacing) // Functions int data_Preset(); public: // Default methods geom_Chip (); ~geom_Chip (); // Root overloaded void Streamer(TBuffer &b); void Dump() const {Dump(0);} void Dump(UInt_t level) const; // Chip properties UInt_t col_Count() const; UInt_t col_Count(UInt_t cols); UInt_t row_Count() const; UInt_t row_Count(UInt_t rows); Double_t col_Pitch() const; Double_t col_Pitch(Double_t pitch); Double_t row_Pitch() const; Double_t row_Pitch(Double_t pitch); // Make the class visible by RootCint //ClassDef(geom_Chip, 1) }; // Overloading check #endif