File indexing completed on 2024-04-06 12:23:32
0001 #ifndef PhysicsTools_IsolationUtils_FixedAreaIsolationCone_h
0002 #define PhysicsTools_IsolationUtils_FixedAreaIsolationCone_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026 #include <Math/RootFinder.h>
0027 #include <Math/RootFinderAlgorithms.h>
0028
0029
0030 #include "PhysicsTools/IsolationUtils/interface/ConeAreaFunction.h"
0031 #include "PhysicsTools/IsolationUtils/interface/ConeAreaRootFunction.h"
0032
0033
0034
0035
0036
0037 class FixedAreaIsolationCone {
0038 public:
0039
0040 FixedAreaIsolationCone();
0041
0042
0043 ~FixedAreaIsolationCone();
0044
0045
0046
0047
0048
0049 void setAcceptanceLimit(double etaMaxTrackingAcceptance);
0050
0051 double operator()(
0052 double coneAxisTheta, double coneAxisPhi, double openingAngleSignalCone, double areaIsolationCone, int& error);
0053
0054 private:
0055 ConeAreaFunction areaFunctionSignalCone_;
0056 ConeAreaRootFunction areaRootFunctionIsolationCone_;
0057 ROOT::Math::RootFinder areaRootFinderIsolationCone_;
0058
0059 static const unsigned int debugLevel_ = 0;
0060 };
0061
0062 #endif