testFdAlwaysUpManager.cc
Go to the documentation of this file.
1 #include <map>
2 #include <sstream>
3 
4 #include <det/Detector.h>
5 #include <fdet/FDetector.h>
6 #include <fdet/Eye.h>
7 #include <fdet/Telescope.h>
8 #include <fdet/Mirror.h>
9 #include <fdet/Filter.h>
10 #include <fdet/Corrector.h>
11 #include <fdet/Camera.h>
12 #include <fdet/Pixel.h>
13 #include <fdet/Channel.h>
14 #include <fwk/CentralConfig.h>
15 #include <utl/TimeStamp.h>
16 #include <utl/UTCDateTime.h>
17 #include <utl/TabulatedFunction.h>
18 #include <utl/Reader.h>
19 #include <utl/Point.h>
20 #include <utl/CoordinateSystem.h>
21 #include <utl/ErrorLogger.h>
22 #include <utl/AugerUnits.h>
23 #include <fwk/CoordinateSystemRegistry.h>
24 
25 #include <cppunit/extensions/HelperMacros.h>
26 
27 using namespace det;
28 using namespace fdet;
29 using namespace std;
30 using namespace fwk;
31 using namespace utl;
32 
33 class FdAlwaysUpManagerTest : public CppUnit::TestFixture {
34 
35  CPPUNIT_TEST_SUITE(FdAlwaysUpManagerTest);
36  CPPUNIT_TEST(testUp);
37 
38  // add a test for corrector ring.
39 
40  CPPUNIT_TEST_SUITE_END();
41 
42 public:
43  void
45  {
46  ErrorLogger::GetInstance().SetVerbosity(Verbosity::eVerbose);
47 
48  // CentralConfig must be created first.
49  CentralConfig::GetInstance(BOOTSTRAPFILE);
50  }
51 
52  void tearDown() { }
53 
54  void
56  {
57  Detector& theDet = Detector::GetInstance();
58  theDet.Update(UTCDateTime(2000,4,1,1).GetTimeStamp());
59  }
60 
61 };
62 
63 
65 
66 
67 // Configure (x)emacs for this file ...
68 // Local Variables:
69 // mode:c++
70 // compile-command: "make -C .. testFDetector -k"
71 // End:
void Update(const utl::TimeStamp &time, const bool invData=true, const bool invComp=true, const bool forceRadio=false)
Update detector: deletes currently constructed stations and sets new time.
Definition: Detector.cc:179
Traditional name.
Definition: Verbosity.h:17
CPPUNIT_TEST_SUITE_REGISTRATION(testAiresShowerFile)
Top of the hierarchy of the detector description interface.
Definition: Detector.h:81

, generated on Tue Sep 26 2023.