ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/ForwardAnalysis/Utilities/src/AcceptCaloTower.cc
Revision: 1.3
Committed: Wed Sep 5 14:39:38 2012 UTC (12 years, 8 months ago) by eliza
Content type: text/plain
Branch: MAIN
CVS Tags: V01-01-01, HEAD
Changes since 1.2: +1 -0 lines
Error occurred while calculating annotation data.
Log Message:
modifying acceptance cuts for HF - exclude ring 30

File Contents

# Content
1 #include "ForwardAnalysis/Utilities/interface/AcceptCaloTower.h"
2
3 #include "DataFormats/CaloTowers/interface/CaloTower.h"
4 #include "DataFormats/CaloTowers/interface/CaloTowerFwd.h"
5
6 namespace forwardAnalysis {
7
8 bool AcceptCaloTower::operator() (CaloTower const& calotower) {
9 int ieta = calotower.ieta();
10
11 bool accept = true;
12 if( abs(ieta) == 29) accept = false;
13 if( abs(ieta) == 30) accept = false;
14 if( abs(ieta) >= 40) accept = false;
15
16 //...
17
18 return accept;
19 }
20
21 }