StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StjTowerEnergyCutBemcWestOnly.h
1 // -*- mode: c++;-*-
2 // $Id: StjTowerEnergyCutBemcWestOnly.h,v 1.1 2008/11/27 07:35:28 tai Exp $
3 // Copyright (C) 2008 Tai Sakuma <sakuma@bnl.gov>
4 #ifndef STJTOWERENERGYCUTBEMCWESTONLY_H
5 #define STJTOWERENERGYCUTBEMCWESTONLY_H
6 
7 #include "StjTowerEnergyCut.h"
8 
10 
11 public:
13  virtual ~StjTowerEnergyCutBemcWestOnly() { }
14 
15  bool operator()(const StjTowerEnergy& tower)
16  {
17  if(tower.detectorId != 9) return true;
18 
19  if(tower.towerId > 2400) return true;
20 
21  return false;
22  }
23 
24 private:
25 
27 
28 };
29 
30 #endif // STJTOWERENERGYCUTBEMCWESTONLY_H