00001 // 00002 // Example C++ routine to run your analysis module, LArUtil. 00003 // 00004 00005 #include "LArUtil-TypeDef.hh" 00006 #include <iostream> 00007 00008 int main(int argc, char** argv){ 00009 00010 // Instantiate utilities: 00011 larutil::Geometry::GetME(); 00012 larutil::DetectorProperties::GetME(); 00013 larutil::LArProperties::GetME(); 00014 00015 std::cout 00016 << "This is LArUtil Simple Test Routine!" << std::endl 00017 << "# of channels : " << larutil::Geometry::GetME()->Nchannels() << std::endl 00018 << "Temperature : " << larutil::LArProperties::GetME()->Temperature() << std::endl 00019 << "Sampling Rate : " << larutil::DetectorProperties::GetME()->SamplingRate() <<std::endl 00020 << std::endl; 00021 00022 return 0; 00023 }