Skip to content

Commit

Permalink
adding comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam-Harper committed Jul 11, 2016
1 parent 08df033 commit 200d3f9
Showing 1 changed file with 14 additions and 1 deletion.
Expand Up @@ -42,7 +42,17 @@

#include "HLTrigger/HLTcore/interface/defaultModuleLabel.h"


/**************************************************************
/ purpose: enable filtering of calo objects in eta/phi or deltaR
/ regions around generic objects
/
/ operation : accepts all objects with
/ (dEta <dEtaMax && dPhi < dPhiMax) || dR < dRMax
/ so the OR of a rectangular region and cone region
****************************************************************/

//this is a struct which contains all the eta/phi regions
//from which to filter the calo objs
class EtaPhiRegion{
private:
float centreEta_;
Expand All @@ -67,6 +77,9 @@ class EtaPhiRegionDataBase {
virtual void getEtaPhiRegions(const edm::Event&,std::vector<EtaPhiRegion>&)const=0;
};


//this class stores the tokens to access the objects around which we wish to filter
//it makes a vector of EtaPhiRegions which are then used to filter the CaloObjs
template<typename T1> class EtaPhiRegionData : public EtaPhiRegionDataBase{
private:
float minEt_;
Expand Down

0 comments on commit 200d3f9

Please sign in to comment.