Skip to content

Commit 8a6499f

Browse files
committed
Removed ClusterCA from NeutronCheck to fix bug.
1 parent 1bae850 commit 8a6499f

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

UserTools/NeutronCheck/NeutronCheck.cpp

100644100755
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ bool NeutronCheck::Initialise(std::string configfile, DataModel &data){
5555
NeutCheckTree->Branch("ClusterCVZ", &fClusterCVZ);
5656
NeutCheckTree->Branch("ClusterCVR", &fClusterCVR);
5757
NeutCheckTree->Branch("ClusterAMD", &fClusterAMD);
58-
NeutCheckTree->Branch("ClusterCA", &fClusterCA);
5958

6059

6160
if(fFinderCompare){
@@ -423,7 +422,7 @@ void NeutronCheck::CSCheck() {
423422
fClusterAS0.push_back(fRecoClusters->at(i)->GetAS(0));
424423
fClusterAS1.push_back(fRecoClusters->at(i)->GetAS(1));
425424
fClusterAMD.push_back(fRecoClusters->at(i)->GetAMD());
426-
fClusterCA.push_back(fRecoClusters->at(i)->GetCA());
425+
427426
if(fRecoClusters->at(i)->GetAS(0)>0){
428427
//AS2RecoCheck->Fill(fRecoClusters->at(i)->GetAS(1)/fRecoClusters->at(i)->GetAS(0));
429428
fClusterAS2.push_back(fClusterAS1.at(fClusterAS1.size()-1)/fClusterAS0.at(fClusterAS0.size()-1));
@@ -467,7 +466,6 @@ void NeutronCheck::ResetVariables() {
467466
fClusterCVZ.clear();
468467
fClusterCVR.clear();
469468
fClusterAMD.clear();
470-
fClusterCA.clear();
471469
fNeutronMult=0;
472470
fMCNeutCapTimes.clear();
473471
fMCNeutCapX.clear();

UserTools/NeutronCheck/NeutronCheck.h

100644100755
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ class NeutronCheck: public Tool {
118118
vector<double> fClusterAS2;
119119
vector<double> fClusterASC;
120120
vector<double> fClusterAMD;
121-
vector<double> fClusterCA;
122121
//vector<double> fClusterSA;
123122
//vector<Position> fClusterCV;
124123
vector<double> fClusterCVX,fClusterCVY,fClusterCVZ,fClusterCVR;

0 commit comments

Comments
 (0)