Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:24:22

0001 #ifndef PhysicsTools_Utilities_SimplifySin2Cos2_h
0002 #define PhysicsTools_Utilities_SimplifySin2Cos2_h
0003 
0004 #include "PhysicsTools/Utilities/interface/Sin.h"
0005 #include "PhysicsTools/Utilities/interface/Cos.h"
0006 #include "PhysicsTools/Utilities/interface/Power.h"
0007 #include "PhysicsTools/Utilities/interface/Numerical.h"
0008 
0009 #include "PhysicsTools/Utilities/interface/Simplify_begin.h"
0010 
0011 namespace funct {
0012 
0013   TEMPL(T1) struct Sin2 {
0014     typedef POWER(SIN(A), NUM(2)) type;
0015   };
0016 
0017   TEMPL(T1) struct Cos2 {
0018     typedef POWER(COS(A), NUM(2)) type;
0019   };
0020 
0021 }  // namespace funct
0022 
0023 #include "PhysicsTools/Utilities/interface/Simplify_end.h"
0024 
0025 #endif