25 FastSimDataFilter::~FastSimDataFilter() {}
28 void FastSimDataFilter::endJob() {
29 cout <<
" FastSimDataFilter: accepted " << npassed <<
" out of total " 40 event.getByLabel(
"towerMaker",towers);
52 for ( cal = towers->
begin(); cal != towers->
end(); ++cal ) {
59 double eta = cal->eta();
60 double en = cal->energy();
61 double et = cal->et();
79 if( en >
towercut && eta > 3.1 && eta < 3.5 ) nplusP++;
80 if( en >
towercut && eta < -3.1 && eta > -3.5 ) nminusP++;
81 if( en >
towercut && eta > 3.9 && eta < 4.6 ) nplusR++;
82 if( en >
towercut && eta < -3.9 && eta > -4.6 ) nminusR++;
87 if( (nplusP * nminusP >= 1 ) || (nplusR * nminusR >= 1 ) ||
88 (nplusP * nminusR >= 1 ) || (nplusR * nminusP >= 1 )) {
T getUntrackedParameter(std::string const &, T const &) const
std::vector< CaloTower >::const_iterator const_iterator
def setup(process, global_tag, zero_tesla=False)
RhoEtaPhiVectorD RhoEtaPhiVector
spatial vector with cylindrical internal representation using pseudorapidity
#define DEFINE_FWK_MODULE(type)
Namespace of DDCMS conversion namespace.
const_iterator end() const
et
define resolution functions of each parameter
const_iterator begin() const