Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-10 07:50:28

0001 
0002 #include <vector>
0003 #include <string>
0004 #include "U4RotationMatrix.h"
0005 
0006 int main(int argc, char** argv)
0007 {
0008      std::vector<std::string> flips = {"null", "", "some_string",  "X", "Y", "Z", "XY", "XZ", "YZ", "XYZ", "x"  } ; 
0009 
0010      for(unsigned i=0 ; i < flips.size() ; i++)
0011      {
0012          const char* flip_ = flips[i].c_str(); 
0013          const char* flip = strcmp(flip_, "null") == 0 ? nullptr : flip_ ; 
0014 
0015          U4RotationMatrix* m = U4RotationMatrix::Flip(flip); 
0016          std::cout << flip_ << std::endl << *m << std::endl ;
0017      }
0018      return 0 ; 
0019 }