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