print_constants.cc File Reference

#include "LArUtil-TypeDef.hh"
#include <iostream>

Go to the source code of this file.

Functions

int main (int argc, char **argv)

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 8 of file print_constants.cc.

References larutil::LArProperties::GetME(), larutil::DetectorProperties::GetME(), and larutil::Geometry::GetME().

00008                                {
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 }

 All Classes Namespaces Files Functions Variables Enumerations Enumerator

Generated on 3 Jun 2014 for MyProject by  doxygen 1.6.1