Fix (Rossella)
authorprino <prino@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 18 Jun 2012 13:40:02 +0000 (13:40 +0000)
committerprino <prino@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 18 Jun 2012 13:40:02 +0000 (13:40 +0000)
PWGHF/vertexingHF/AliCFVertexingHF3Prong.cxx

index 7943ebd..c6cd852 100644 (file)
@@ -38,7 +38,6 @@
 
 ClassImp(AliCFVertexingHF3Prong)
 
-
 //_________________________________________
 AliCFVertexingHF3Prong::AliCFVertexingHF3Prong(Int_t decay, UInt_t resonantDecay):
 AliCFVertexingHF(),
@@ -58,6 +57,24 @@ AliCFVertexingHF(),
 
 }
 //_________________________________________
+AliCFVertexingHF3Prong::AliCFVertexingHF3Prong(Int_t decay):
+AliCFVertexingHF(),
+  fDecay(decay),
+  fGenDsOption(kCountResonant),
+  fResonantDecay(0)
+ {
+  //
+  SetNProngs(3);
+
+  fPtAccCut=new Float_t[fProngs];
+  fEtaAccCut=new Float_t[fProngs];
+  for(Int_t iP=0; iP<fProngs; iP++){
+          fPtAccCut[iP]=0.1;
+          fEtaAccCut[iP]=0.9;
+  }
+
+}
+//_________________________________________
 AliCFVertexingHF3Prong::AliCFVertexingHF3Prong(TClonesArray *mcArray, UShort_t originDselection, Int_t decay, UInt_t resonantDecay):
   AliCFVertexingHF(mcArray, originDselection),
   fDecay(decay),
@@ -74,7 +91,22 @@ AliCFVertexingHF3Prong::AliCFVertexingHF3Prong(TClonesArray *mcArray, UShort_t o
   }
 }
 
-
+//_________________________________________
+AliCFVertexingHF3Prong::AliCFVertexingHF3Prong(TClonesArray *mcArray, UShort_t originDselection, Int_t decay):
+  AliCFVertexingHF(mcArray, originDselection),
+  fDecay(decay),
+  fGenDsOption(kCountResonant),
+  fResonantDecay(0)
+{
+  //
+  SetNProngs(3);
+  fPtAccCut=new Float_t[fProngs];
+  fEtaAccCut=new Float_t[fProngs];
+  for(Int_t iP=0; iP<fProngs; iP++){
+          fPtAccCut[iP]=0.1;
+          fEtaAccCut[iP]=0.9;
+  }
+}
 //_____________________________________
 AliCFVertexingHF3Prong& AliCFVertexingHF3Prong::operator=(const AliCFVertexingHF3Prong& c){
   //