5 HcalZSAlgoRealistic::HcalZSAlgoRealistic(
bool mp,
int levelHB,
int levelHE,
int levelHO,
int levelHF, std::pair<int,int> HBsearchTS, std::pair<int,int> HEsearchTS, std::pair<int,int> HOsearchTS, std::pair<int,int> HFsearchTS) :
10 thresholdHF_(levelHF),
11 HBsearchTS_(HBsearchTS),
12 HEsearchTS_(HEsearchTS),
13 HOsearchTS_(HOsearchTS),
14 HFsearchTS_(HFsearchTS)
21 HBsearchTS_(HBsearchTS),
22 HEsearchTS_(HEsearchTS),
23 HOsearchTS_(HOsearchTS),
24 HFsearchTS_(HFsearchTS)
47 for (
int i = start;
i < finish && !keepIt;
i++) {
50 for (
int j =
i;
j < (
i+2);
j++){
54 if ((hbhezsmask&(1<<
i)) !=0)
continue;
55 else if (sum>=threshold) keepIt=
true;
70 for (
int i = start;
i < finish && !keepIt;
i++) {
73 for (
int j =
i;
j < (
i+2);
j++){
77 if ((hozsmask&(1<<
i)) !=0)
continue;
78 else if (sum>=threshold) keepIt=
true;
93 for (
int i = start;
i < finish && !keepIt;
i++) {
96 for (
int j =
i;
j < (
i+2);
j++){
100 if ((hfzsmask&(1<<
i)) !=0)
continue;
101 else if (sum>=threshold) keepIt=
true;
115 for (
int i = start;
i < finish && !keepIt;
i++) {
117 for (
int j =
i;
j < (
i+2);
j++){
120 if ((zsmask&(1<<
i)) !=0)
continue;
121 else if (sum>=threshold) keepIt=
true;
const HcalDbService * m_dbService
std::pair< int, int > HOsearchTS_
tuple start
Check for commandline option errors.
HcalSubdetector subdet() const
get the subdetector
uint32_t zsCrossingMask() const
zs crossing mask (which sums considered)
int size() const
total number of samples in the digi
const HcalDetId & id() const
uint32_t zsCrossingMask() const
virtual bool shouldKeep(const HBHEDataFrame &digi) const
int size() const
total number of samples in the digi
std::pair< int, int > HEsearchTS_
const HcalZSThreshold * getHcalZSThreshold(const HcalGenericDetId &fId) const
int size() const
total number of samples in the digi
uint32_t zsCrossingMask() const
zs crossing mask (which sums considered)
std::pair< int, int > HFsearchTS_
const HcalDetId & id() const
std::pair< int, int > HBsearchTS_
uint32_t zsCrossingMask() const
zs crossing mask (which sums considered)
uint16_t adc(int iSample=0) const
const HcalDetId & id() const
bool keepMe(const HBHEDataFrame &inp, int start, int finish, int threshold, uint32_t hbhezsmask) const
const HcalDetId & id() const
HcalZSAlgoRealistic(bool markAndPass, std::pair< int, int > HBsearchTS, std::pair< int, int > HEsearchTS, std::pair< int, int > HOsearchTS, std::pair< int, int > HFsearchTS)